wang-hao-jie
2022-06-06 4e837c1e8c6f8a7252fb95776a1530ab737bb684
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
 package ${entity.daoPackage};
 
import cn.exrick.xboot.core.base.XbootBaseDao;
import ${entity.entityPackage}.${entity.className};
 
import java.util.List;
 
/**
 * ${entity.description}数据处理层
 * @author ${entity.author}
 */
public interface ${entity.className}Dao extends XbootBaseDao<${entity.className}, ${entity.primaryKeyType}> {
 
    <%
    if(entity.isTree){
    %>
    /**
     * 通过父id获取
     * @param parentId
     * @return
     */
    List<${entity.className}> findByParentIdOrderBySortOrder(String parentId);
 
    /**
     * 通过名称模糊搜索
     * @param title
     * @return
     */
    List<${entity.className}> findByTitleLikeOrderBySortOrder(String title);
    <%
    }
    %>
}