edu/server/like-generator/src/main/resources/java/service.java.vm

59 lines
1.3 KiB
Plaintext
Raw Normal View History

2022-06-15 06:21:31 +00:00
package com.hxkj.admin.service;
import com.hxkj.admin.validate.PageParam;
2022-06-15 09:14:20 +00:00
import com.hxkj.admin.validate.${EntityName}Param;
import com.hxkj.admin.vo.system.${EntityName}Vo;
2022-06-15 06:21:31 +00:00
import com.hxkj.common.core.PageResult;
2022-06-15 09:14:20 +00:00
import com.hxkj.common.entity.${EntityName};
2022-06-15 06:21:31 +00:00
import java.util.Map;
/**
2022-06-15 09:14:20 +00:00
* ${functionName}服务接口类
2022-06-15 06:21:31 +00:00
*/
public interface ISystemAdminService {
/**
2022-06-15 09:14:20 +00:00
* ${functionName}列表
2022-06-15 06:21:31 +00:00
*
2022-06-15 09:14:20 +00:00
* @author ${authorName}
2022-06-15 06:21:31 +00:00
* @param pageParam 分页参数
2022-06-15 09:14:20 +00:00
* @return PageResult<${EntityName}Vo}>
2022-06-15 06:21:31 +00:00
*/
2022-06-15 09:14:20 +00:00
PageResult<${EntityName}Vo> list(PageParam pageParam, Map<String, String> params);
2022-06-15 06:21:31 +00:00
/**
2022-06-15 09:14:20 +00:00
* ${functionName}详情
2022-06-15 06:21:31 +00:00
*
2022-06-15 09:14:20 +00:00
* @author ${authorName}
2022-06-15 06:21:31 +00:00
* @param id 主键参数
2022-06-15 09:14:20 +00:00
* @return ${EntityName}Vo
2022-06-15 06:21:31 +00:00
*/
SystemAdminVo detail(Integer id);
/**
2022-06-15 09:14:20 +00:00
* ${functionName}新增
2022-06-15 06:21:31 +00:00
*
2022-06-15 09:14:20 +00:00
* @author ${authorName}
* @param ${entityName}Param 参数
2022-06-15 06:21:31 +00:00
*/
2022-06-15 09:14:20 +00:00
void add(${EntityName}Param ${entityName}Param);
2022-06-15 06:21:31 +00:00
/**
2022-06-15 09:14:20 +00:00
* ${functionName}编辑
2022-06-15 06:21:31 +00:00
*
2022-06-15 09:14:20 +00:00
* @author ${authorName}
* @param ${entityName}Param 参数
2022-06-15 06:21:31 +00:00
*/
2022-06-15 09:14:20 +00:00
void edit(${EntityName}Param ${entityName}Param);
2022-06-15 06:21:31 +00:00
/**
2022-06-15 09:14:20 +00:00
* ${functionName}删除
2022-06-15 06:21:31 +00:00
*
2022-06-15 09:14:20 +00:00
* @author ${authorName}
2022-06-15 06:21:31 +00:00
* @param id 主键参数
*/
void del(Integer id);
}