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 { List queryMyMoney(Map map); List queryMyMoneyWithStatus(Map map); List queryUserInfo(UserReq userReq); UserInfoVo queryUserInfoByUserId(@Param("userId")String userId); List queryAccountInfo(AccountReq accountReq); int modifyPayPassword(AccountReq accountReq); /** * 根据手机号码查询用户是否有回收员角色 * @return */ String isUniqueByMobilePhone(UserReq userReq); /** * 查询用户账户是否超过次数被锁定 * @param userId * @return */ List queryIsLock(String userId); /** * 更新 * @param accountReq * @return */ int setLock(AccountReq accountReq); UserInfo findByMobileTest(String mobilePhone); List findByOneAddr(@Param("lon") String lon,@Param("lan") String lan); List findByDistance(); List findOtherAll(@Param("keyword")String keyword); List 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> 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 queryAllUserByPid(@Param("userName") String userName, @Param("roleType") String roleType, @Param("partnerId") String partnerId); UserModel queryUserById(@Param("userId") String userId); }