c83b5b39
Liu Haoyu
项目创建, 集成spring-se...
|
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
|
package com.objecteye.mapper;
import com.objecteye.entity.SyUser;
import com.objecteye.entity.SyUserExample;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface SyUserMapper {
int countByExample(SyUserExample example);
int deleteByExample(SyUserExample example);
int deleteByPrimaryKey(Integer id);
int insert(SyUser record);
int insertSelective(SyUser record);
List<SyUser> selectByExample(SyUserExample example);
SyUser selectByPrimaryKey(Integer id);
List<SyUser> selectUserPage(@Param("currentPage") int currentPage, @Param("pageVolum") int pageVolum);
int updateByExampleSelective(@Param("record") SyUser record, @Param("example") SyUserExample example);
int updateByExample(@Param("record") SyUser record, @Param("example") SyUserExample example);
int updateByPrimaryKeySelective(SyUser record);
int updateByPrimaryKey(SyUser record);
/* 通过账户和密码进行搜索*/
SyUser selectByUP(@Param("username") String username, @Param("password") String password);
}
|