mirror of
https://github.com/abcv7/sfbx-cloud.git
synced 2026-08-16 19:49:49 +00:00
功能:在保险、规则、交易、积分和短信模块中实现初始功能和基础组件。
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
package ${package.Service};
|
||||
|
||||
import ${package.Entity}.${entity};
|
||||
import ${superServiceClassPackage};
|
||||
import com.itheima.sfbx.framework.commons.dto.trade.${entity}Vo;
|
||||
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @Description:${table.comment!}服务类
|
||||
*/
|
||||
<#if kotlin>
|
||||
interface ${table.serviceName} : ${superServiceClass}<${entity}>
|
||||
<#else>
|
||||
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
|
||||
|
||||
/**
|
||||
* @Description 多条件查询${table.comment!}分页列表
|
||||
* @param ${entity?uncap_first}Vo 查询条件
|
||||
* @param pageNum 页码
|
||||
* @param pageSize 每页条数
|
||||
* @return Page<${entity}>
|
||||
*/
|
||||
Page<${entity}> find${entity}Page(${entity}Vo ${entity?uncap_first}Vo, int pageNum, int pageSize);
|
||||
|
||||
/**
|
||||
* @Description 创建${table.comment!}
|
||||
* @param ${entity?uncap_first}Vo 对象信息
|
||||
* @return ${entity}
|
||||
*/
|
||||
${entity} create${entity}(${entity}Vo ${entity?uncap_first}Vo);
|
||||
|
||||
/**
|
||||
* @Description 修改${table.comment!}
|
||||
* @param ${entity?uncap_first}Vo 对象信息
|
||||
* @return Boolean
|
||||
*/
|
||||
Boolean update${entity}(${entity}Vo ${entity?uncap_first}Vo);
|
||||
|
||||
/**
|
||||
* @Description 删除${table.comment!}
|
||||
* @param checkedIds 选择中对象Ids
|
||||
* @return Boolean
|
||||
*/
|
||||
Boolean delete${entity}(String[] checkedIds);
|
||||
|
||||
/**
|
||||
* @description 多条件查询${table.comment!}列表
|
||||
* @param ${entity?uncap_first}Vo 查询条件
|
||||
* @return: List<${entity}>
|
||||
*/
|
||||
List<${entity}> find${entity}List(${entity}Vo ${entity?uncap_first}Vo);
|
||||
}
|
||||
</#if>
|
||||
Reference in New Issue
Block a user