Helius
2021-08-05 fdb91cc72f7cbe8c095a1ce6442c9259ff01ff06
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
package com.xzx.gc.user.mapper;
 
import com.xzx.gc.entity.UserInfo;
import com.xzx.gc.model.admin.UserModel;
import com.xzx.gc.model.user.*;
import com.xzx.gc.util.GcMapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
 
import java.util.List;
import java.util.Map;
 
@Repository
public interface UserMapper extends GcMapper<UserInfo> {
 
 
    List<AccountVo> queryMyMoney(Map map);
 
    List<AccountVo> queryMyMoneyWithStatus(Map map);
 
    List<UserInfoVo> queryUserInfo(UserReq userReq);
 
    UserInfoVo queryUserInfoByUserId(@Param("userId")String userId);
 
    List<AccountVo> queryAccountInfo(AccountReq accountReq);
 
    int modifyPayPassword(AccountReq accountReq);
 
    /**
     * 根据手机号码查询用户是否有回收员角色
     * @return
     */
 
    String isUniqueByMobilePhone(UserReq userReq);
 
    /**
     * 查询用户账户是否超过次数被锁定
     * @param userId
     * @return
     */
    List<AccountVo> queryIsLock(String userId);
 
    /**
     * 更新
     * @param accountReq
     * @return
     */
    int setLock(AccountReq accountReq);
 
    UserInfo findByMobileTest(String mobilePhone);
 
    List<UserInfo> findByOneAddr(@Param("lon") String lon,@Param("lan") String lan);
 
    List<UserInfo> findByDistance();
 
    List<UserDTO> findOtherAll(@Param("keyword")String keyword);
 
    List<UserModel> queryCuserForTimeList(@Param("phone") String phone, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("userType") String userType, @Param("isProhibit") String isProhibit, @Param("partnerId") String partnerId);
 
    int queryCuserForTimeListCount(@Param("phone") String phone, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("userType") String userType, @Param("partnerId") String partnerId);
 
    int UpdateUserApiByUserId(@Param("flag") boolean flag, @Param("userId") String userId);
 
    List<Map<String, Object>> queryCuserDetail(@Param("phone") String phone, @Param("userType") String userType);
 
    int updateUserName(@Param("userId") String userId, @Param("name") String name, @Param("mobile") String mobile);
 
    UserModel queryUserByUsertype(@Param("phone") String phone, @Param("userType") String userType, @Param("delFlag") String delFlag, @Param("normal") String normal, @Param("nickName") String nickName);
 
    List<UserModel> queryAllUserByPid(@Param("userName") String userName, @Param("roleType") String roleType, @Param("partnerId") String partnerId);
 
    UserModel queryUserById(@Param("userId") String userId);
}