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 { List queryRKOrderIds(@Param("limitPrice") String limitPrice, @Param("type") String type); int UpdateUserApiByOtherUserId(@Param("flag") boolean flag, @Param("userId") String userId, @Param("userType") String userType); List queryPromoterApiList(@Param("phone") String phone, @Param("startTime") String startTime, @Param("endTime") String endTime, @Param("isProhibit") String isProhibit, @Param("partnerIds") List partnerIds); List 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> 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 checkOtherUserByType(@Param("userType") String userType, @Param("mobilePhone") String mobilePhone); List queryQromoterLeven(PromoterModel promoterModel); List queryCollectorNum(@Param("partnerIds") List partnerIds); List queryCollectorPageList(PromoterModel promoterModel); List queryStorageByUserId(StorageModel storageModel); List> queryStorageList(UserModel userModel); List> queryStorageList1(UserModel userModel); int queryPackageStorageNum(@Param("townIds") List townIds); List> queryStorageObjectList(StorageModel storageModel); List queryOtherUserByPid(@Param("pid") String pid, @Param("userName") String userName, @Param("roleType") String roleType, @Param("packageStationList") List packageStationList); List queryCityPartnerForOtherUser(@Param("partnerIds") List partnerIds, @Param("userType") String userType); UserModel queryUserOtherById(@Param("userId") String userId); UserModel queryUserModelbyPartnerId(@Param("partnerId") List 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 findOfferByPartnerId(@Param("partnerId") String partnerId, @Param("paperWasteItemType") String paperWasteItemType); List findOfferByFenceId(@Param("fenceId") String fenceId, @Param("paperWasteItemType") String paperWasteItemType); List findAllOfferByPartnerId(@Param("partnerId") String partnerId, @Param("paperWasteItemType") String paperWasteItemType); List 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 findByUserTypeAndFenceIdForNotLeave(@Param("fenceId")String fenceId); List findByUserTypeAndPartnerIdForNotLeave(@Param("partnerId")String partnerId); }