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.user.dto.TgmxInfoListDto;
|
import com.xzx.gc.user.vo.TgmxInfoListVo;
|
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);
|
|
List<TgmxInfoListVo> tgmxInfo(@Param("record")TgmxInfoListDto model);
|
}
|