25 lines
641 B
Plaintext
25 lines
641 B
Plaintext
|
|
package ${package.Service};
|
||
|
|
|
||
|
|
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||
|
|
import com.zhangy.skyeye.db.pojo.page.PageParam;
|
||
|
|
import ${package.Entity}.${entity};
|
||
|
|
import ${superServiceClassPackage};
|
||
|
|
|
||
|
|
/**
|
||
|
|
* $!{table.comment} 服务类
|
||
|
|
*
|
||
|
|
* @author ${author}
|
||
|
|
* @since ${date}
|
||
|
|
*/
|
||
|
|
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 通过实体类获取QueryWrapper
|
||
|
|
* @param pageParam 分页参数
|
||
|
|
* @param $!{table.entityPath} 实体信息
|
||
|
|
* @return
|
||
|
|
*/
|
||
|
|
QueryWrapper<$!{entity}> getQueryWrapper(PageParam pageParam, $!{entity} $!{table.entityPath});
|
||
|
|
|
||
|
|
}
|