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 BaseDao;
| import ${entity.entityPackage}.${entity.className};
|
| import java.util.List;
|
| /**
| * ${entity.description}数据处理层
| * @author ${entity.author}
| */
| public interface ${entity.className}Dao extends BaseDao<${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);
| <%
| }
| %>
| }
|
|