FrontUserMapper.java
2.35 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
package com.lhcredit.project.business.frontUser.mapper;
import com.lhcredit.project.business.frontUser.domain.FrontUser;
import com.lhcredit.project.business.frontUser.domain.FrontUserMon;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 前端用户 数据层
*
* @author lhcredit
* @date 2024-05-13
*/
public interface FrontUserMapper {
/**
* 查询前端用户信息
*
* @param id 前端用户ID
* @return 前端用户信息
*/
public FrontUser selectFrontUserById(Long id);
public FrontUser getFrontUserById(Long id);
/**
* 查询前端用户列表
*
* @param frontUser 前端用户信息
* @return 前端用户集合
*/
public List<FrontUser> selectFrontUserList(FrontUser frontUser);
/**
* 新增前端用户
*
* @param frontUser 前端用户信息
* @return 结果
*/
public int insertFrontUser(FrontUser frontUser);
/**
* 修改前端用户
*
* @param frontUser 前端用户信息
* @return 结果
*/
public int updateFrontUser(FrontUser frontUser);
/**
* 删除前端用户
*
* @param id 前端用户ID
* @return 结果
*/
public int deleteFrontUserById(Integer id);
/**
* 批量删除前端用户
*
* @param ids 需要删除的数据ID
* @return 结果
*/
public int deleteFrontUserByIds(String[] ids);
/**
* 校验用户名称是否唯一
*
* @param loginName 登录名称
* @return 结果
*/
public int checkLoginNameUnique(String loginName);
/**
* 校验手机号码是否唯一
*
* @param phonenumber 手机号码
* @return 结果
*/
public FrontUser checkPhoneUnique(String phonenumber);
FrontUserMon findUserByLoginName(@Param("loginName") String loginName, @Param("password") String salt);
List<FrontUser> selectFrontUserByPid(FrontUser frontUser);
List<FrontUser> getFrontUserByOrgId(@Param("orgId") Long orgId);
public FrontUser selectFrontUserByUserName(String userName);
FrontUserMon selectFrontUserByOpenId(String openid1);
int updateUserOpenId(Long id, String openId);
public List<FrontUser> selectFrontUserByMonList(FrontUser frontUser);
void deleteByOpenId(String openId);
FrontUserMon selectFrontUserByOpenId1(String openid1);
}