You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
798 B
33 lines
798 B
package ${packageName}.${moduleName}.service;
|
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
import ${packageName}.${moduleName}.entity.${entityName};
|
|
import ${packageName}.${moduleName}.param.${entityName}Param;
|
|
import ${packageName}.common.core.web.PageResult;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* ${tableComment}服务接口
|
|
*
|
|
* @author ${author}
|
|
* @since ${date}
|
|
*/
|
|
public interface ${serviceName} extends IService<${entityName}> {
|
|
|
|
/**
|
|
* 分页查询
|
|
*
|
|
* @param param 查询参数
|
|
* @return PageResult<${entityName}>
|
|
*/
|
|
PageResult<${entityName}> page(${entityName}Param param);
|
|
|
|
/**
|
|
* 列表查询
|
|
*
|
|
* @param param 查询参数
|
|
* @return List<${entityName}>
|
|
*/
|
|
List<${entityName}> list(${entityName}Param param);
|
|
}
|