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