package com.xzx.gc.user.mapper;
|
|
import com.xzx.gc.entity.OtherUserInfo;
|
import com.xzx.gc.entity.UserInfo;
|
import com.xzx.gc.model.admin.CollectorModel;
|
import com.xzx.gc.model.admin.PromoterModel;
|
import com.xzx.gc.model.admin.StorageModel;
|
import com.xzx.gc.model.admin.UserModel;
|
import com.xzx.gc.model.user.AccountReq;
|
import com.xzx.gc.model.user.AccountVo;
|
import com.xzx.gc.model.user.UserInfoVo;
|
import com.xzx.gc.model.user.UserReq;
|
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 OtherUserMapper extends GcMapper<OtherUserInfo> {
|
|
List<String> queryRKOrderIds(@Param("limitPrice") String limitPrice, @Param("type") String type);
|
|
int UpdateUserApiByOtherUserId(@Param("flag") boolean flag, @Param("userId") String userId, @Param("userType") String userType);
|
|
List<UserModel> queryPromoterApiList(@Param("phone") String phone, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("isProhibit") String isProhibit, @Param("partnerIds") List<String> partnerIds);
|
|
List<CollectorModel> queryCollectorApiList(CollectorModel collectorModel);
|
|
void updateOtherUserByPhone(@Param("phone") String phone, @Param("password") String password,@Param("salt") String salt);
|
|
int updateOtherUserName(@Param("userId") String userId, @Param("name") String name, @Param("mobile") String mobile);
|
|
List<Map<String, Object>> queryCuserByPhoneRedisDelList(@Param("phone") String phone);
|
|
UserModel queryUserByUsertype1(@Param("phone") String phone, @Param("userType") String userType, @Param("delFlag") String delFlag, @Param("normal") String normal, @Param("nickName") String nickName);
|
|
int updateDelflag(@Param("phone") String phone, @Param("userType") String userType, @Param("roleId") String roleId, @Param("name") String name, @Param("password") String password, @Param("salt") String salt, @Param("area") String area, @Param("partnerId") String partnerId, @Param("cityId") String cityId, @Param("storageId") String storageId,@Param("provinceId") String provinceId,@Param("townshipId") String townshipId,@Param("province") String province,@Param("city")String city,@Param("township")String township);
|
|
int addCuserRole(@Param("id") String id, @Param("mobilephone") String mobilephone, @Param("password") String password, @Param("userType") String userType, @Param("area") String area, @Param("partnerId") String partnerId, @Param("name") String name, @Param("salt") String salt, @Param("roleId") String roleId, @Param("cityId") String cityId, @Param("storageId") String storageId,@Param("provinceId") String provinceId,@Param("townshipId") String townshipId,@Param("province") String province,@Param("city")String city,@Param("township")String township);
|
|
List<UserModel> checkOtherUserByType(@Param("userType") String userType, @Param("mobilePhone") String mobilePhone);
|
|
List<PromoterModel> queryQromoterLeven(PromoterModel promoterModel);
|
|
List<String> queryCollectorNum(@Param("partnerIds") List<String> partnerIds);
|
|
List<UserModel> queryCollectorPageList(PromoterModel promoterModel);
|
|
List<StorageModel> queryStorageByUserId(StorageModel storageModel);
|
|
List<Map<String, Object>> queryStorageList(UserModel userModel);
|
|
List<Map<String, Object>> queryStorageList1(UserModel userModel);
|
|
int queryPackageStorageNum(@Param("townIds") List<String> townIds);
|
|
List<Map<String, Object>> queryStorageObjectList(StorageModel storageModel);
|
|
List<UserModel> queryOtherUserByPid(@Param("pid") String pid, @Param("userName") String userName, @Param("roleType") String roleType, @Param("packageStationList") List<String> packageStationList);
|
|
List<UserModel> queryCityPartnerForOtherUser(@Param("partnerIds") List<String> partnerIds, @Param("userType") String userType);
|
|
UserModel queryUserOtherById(@Param("userId") String userId);
|
|
UserModel queryUserModelbyPartnerId(@Param("partnerId") List<String> partnerId, @Param("userType") String userType, @Param("userId") String userId, @Param("orderId") String orderId);
|
|
int deleteUserByPartnerId(String id);
|
|
UserModel queryUserOtherByIdC(@Param("userId") String userId);
|
|
int insertUserOtherInfo(UserModel model);
|
|
void updateOtherUserById1(@Param("partnerId") String partnerId);
|
|
List<OtherUserInfo> findOfferByPartnerId(@Param("partnerId") String partnerId, @Param("paperWasteItemType") String paperWasteItemType);
|
List<OtherUserInfo> findOfferByFenceId(@Param("fenceId") String fenceId, @Param("paperWasteItemType") String paperWasteItemType);
|
|
List<OtherUserInfo> findAllOfferByPartnerId(@Param("partnerId") String partnerId, @Param("paperWasteItemType") String paperWasteItemType);
|
List<OtherUserInfo> findAllOfferByFenceId(@Param("fenceId") String fenceId, @Param("paperWasteItemType") String paperWasteItemType);
|
|
|
OtherUserInfo findNearestByLocationAndPartnerId(@Param("partnerId")String partnerId, @Param("lon") String lon, @Param("lat") String lat);
|
|
OtherUserInfo findNearestByLocationAndFenceId(@Param("fenceId")String fenceId, @Param("lon") String lon, @Param("lat") String lat);
|
|
List<OtherUserInfo> findByUserTypeAndFenceIdForNotLeave(@Param("fenceId")String fenceId);
|
|
List<OtherUserInfo> findByUserTypeAndPartnerIdForNotLeave(@Param("partnerId")String partnerId);
|
}
|