-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathUserMapper.java
39 lines (23 loc) · 997 Bytes
/
UserMapper.java
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
34
35
36
37
38
39
package dao;
import entity.User;
import entity.UserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
public interface UserMapper {
int countByExample(UserExample example);
int deleteByExample(UserExample example);
int deleteByPrimaryKey(String userid);
int insert(User record);
int countnewuser();
int insertSelective(User record);
List<User> selectByExample(UserExample example);
List<User> selectnew();
User selectByPrimaryKey(String userid);
int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example);
int updateByExample(@Param("record") User record, @Param("example") UserExample example);
int updateByPrimaryKeySelective(User record);
int updateByPrimaryKey(User record);
int updateByPrimaryKeySelective(String userid, String password,
String username, String sex, String birthday, String address,
String emotion, String email, String sign);
}