提交 | 用户 | age
|
826b66
|
1 |
package ${servicePack}; |
C |
2 |
|
|
3 |
import ${packageName}.${classNameUP}; |
|
4 |
import com.hx.mybatisTool.SqlSentence; |
|
5 |
import java.util.List; |
|
6 |
import java.util.Map; |
|
7 |
|
|
8 |
public interface ${classNameUP}Service { |
|
9 |
|
|
10 |
int selectCount(SqlSentence sqlSentence); |
|
11 |
|
|
12 |
void insert(${classNameUP} ${className}); |
|
13 |
|
|
14 |
List<${classNameUP}> selectList(SqlSentence sqlSentence); |
|
15 |
|
|
16 |
List<Map<String,Object>> selectListMap(SqlSentence sqlSentence); |
|
17 |
|
|
18 |
${classNameUP} selectOne(SqlSentence sqlSentence); |
|
19 |
|
|
20 |
Map<String,Object> selectOneMap(SqlSentence sqlSentence); |
|
21 |
|
|
22 |
${classNameUP} selectOneByKey(Object object); |
|
23 |
|
|
24 |
${classNameUP} selectOneByKeyBlob(Object object); |
|
25 |
|
|
26 |
void updateAll(${classNameUP} ${className}); |
|
27 |
|
|
28 |
void updateWhere(SqlSentence sqlSentence); |
|
29 |
|
|
30 |
void deleteOne(String delId); |
|
31 |
|
|
32 |
|
|
33 |
} |