62 lines
1.4 KiB
Plaintext
62 lines
1.4 KiB
Plaintext
|
|
package ${package.Service};
|
|||
|
|
|
|||
|
|
import ${package.Entity}.${entity};
|
|||
|
|
import ${superServiceClassPackage};
|
|||
|
|
import ${package.Parent}.model.form.${entity}Form;
|
|||
|
|
import ${package.Parent}.model.query.${entity}PageQuery;
|
|||
|
|
import ${package.Parent}.model.vo.${entity}PageVO;
|
|||
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
|||
|
|
/**
|
|||
|
|
* $!{table.comment} 服务类
|
|||
|
|
*
|
|||
|
|
* @author ${author}
|
|||
|
|
* @since ${date}
|
|||
|
|
*/
|
|||
|
|
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
*$!{table.comment}分页列表
|
|||
|
|
*
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
IPage<${entity}PageVO> listPaged${entity}s(${entity}PageQuery queryParams);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 获取$!{table.comment}表单数据
|
|||
|
|
*
|
|||
|
|
* @param id $!{table.comment}ID
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
${entity}Form get${entity}FormData(Long id);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 新增$!{table.comment}
|
|||
|
|
*
|
|||
|
|
* @param formData $!{table.comment}表单对象
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
boolean save${entity}(${entity}Form formData);
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 修改$!{table.comment}
|
|||
|
|
*
|
|||
|
|
* @param id $!{table.comment}ID
|
|||
|
|
* @param formData $!{table.comment}表单对象
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
boolean update${entity}(Long id, ${entity}Form formData);
|
|||
|
|
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* 删除$!{table.comment}
|
|||
|
|
*
|
|||
|
|
* @param ids $!{table.comment}ID,多个以英文逗号(,)分割
|
|||
|
|
* @return
|
|||
|
|
*/
|
|||
|
|
boolean delete${entity}s(String ids);
|
|||
|
|
|
|||
|
|
}
|