Browse Source

代码生成注释修改

dev
yujintao 6 years ago
parent
commit
531805453e
  1. 24
      renren-cloud-generator/src/main/resources/template/Service.java.vm

24
renren-cloud-generator/src/main/resources/template/Service.java.vm

@ -38,8 +38,8 @@ public interface ${className}Service extends BaseService<${className}Entity> {
* *
* @param params * @param params
* @return PageData<${className}DTO> * @return PageData<${className}DTO>
* @author * @author generator
* @date * @date ${date}
*/ */
PageData<${className}DTO> page(Map<String, Object> params); PageData<${className}DTO> page(Map<String, Object> params);
@ -48,8 +48,8 @@ public interface ${className}Service extends BaseService<${className}Entity> {
* *
* @param params * @param params
* @return java.util.List<${className}DTO> * @return java.util.List<${className}DTO>
* @author * @author generator
* @date * @date ${date}
*/ */
List<${className}DTO> list(Map<String, Object> params); List<${className}DTO> list(Map<String, Object> params);
@ -58,8 +58,8 @@ public interface ${className}Service extends BaseService<${className}Entity> {
* *
* @param id * @param id
* @return ${className}DTO * @return ${className}DTO
* @author * @author generator
* @date * @date ${date}
*/ */
${className}DTO get(String id); ${className}DTO get(String id);
@ -68,8 +68,8 @@ public interface ${className}Service extends BaseService<${className}Entity> {
* *
* @param dto * @param dto
* @return void * @return void
* @author * @author generator
* @date * @date ${date}
*/ */
void save(${className}DTO dto); void save(${className}DTO dto);
@ -78,8 +78,8 @@ public interface ${className}Service extends BaseService<${className}Entity> {
* *
* @param dto * @param dto
* @return void * @return void
* @author * @author generator
* @date * @date ${date}
*/ */
void update(${className}DTO dto); void update(${className}DTO dto);
@ -88,8 +88,8 @@ public interface ${className}Service extends BaseService<${className}Entity> {
* *
* @param ids * @param ids
* @return void * @return void
* @author * @author generator
* @date * @date ${date}
*/ */
void delete(String[] ids); void delete(String[] ids);
} }
Loading…
Cancel
Save