Files
sfbx-cloud/day02/sfbx-file/file-web/src/main/resources/templates/face.java.ftl
T

54 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.itheima.easy.face;
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!}Face服务类
*/
<#if kotlin>
interface ${entity}Face
<#else>
public interface ${entity}Face {
/**
* @Description 多条件查询${table.comment!}分页列表
* @param ${entity?uncap_first}Vo 查询条件
* @param pageNum 页码
* @param pageSize 每页条数
* @return Page<${entity}>
*/
Page<${entity}Vo> find${entity}VoPage(${entity}Vo ${entity?uncap_first}Vo, int pageNum, int pageSize);
/**
* @Description 创建${table.comment!}
* @param ${entity?uncap_first}Vo 对象信息
* @return ${entity}
*/
${entity}Vo create${entity}Vo(${entity}Vo ${entity?uncap_first}Vo);
/**
* @Description 修改${table.comment!}
* @param ${entity?uncap_first}Vo 对象信息
* @return Boolean
*/
Boolean update${entity}Vo(${entity}Vo ${entity?uncap_first}Vo);
/**
* @Description 删除${table.comment!}
* @param checkedIds 选择中对象Ids
* @return Boolean
*/
Boolean delete${entity}Vo(String[] checkedIds);
/**
* @description 多条件查询${table.comment!}列表
* @param ${entity?uncap_first}Vo 查询条件
* @return: List<${entity}>
*/
List<${entity}Vo> find${entity}VoList(${entity}Vo ${entity?uncap_first}Vo);
}
</#if>