ClubMapper.java 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package com.caimei.mapper.cmMapper;
  2. import com.caimei.model.po.ClubUserPo;
  3. import com.caimei.model.vo.*;
  4. import org.apache.ibatis.annotations.Mapper;
  5. import org.apache.ibatis.annotations.Param;
  6. import java.util.List;
  7. /**
  8. * Description
  9. *
  10. * @author : Aslee
  11. * @date : 2021/7/8
  12. */
  13. @Mapper
  14. public interface ClubMapper {
  15. List<ClubVo> getClubList(@Param("authUserId") Integer authUserId, @Param("authParty") String authParty);
  16. List<ClubUserVo> getClubUserList(@Param("authUserId") Integer authUserId, @Param("mobile") String mobile, String name, @Param("status") Integer status);
  17. void insertClubUser(ClubUserPo clubUser);
  18. List<WxClubListVo> getWxClubList(@Param("authUserId") Integer authUserId, @Param("authParty") String authParty, @Param("provinceId") Integer provinceId, @Param("cityId") Integer cityId, @Param("townId") Integer townId, @Param("lng") Double lng, @Param("lat") Double lat);
  19. Integer checkMobile(@Param("mobile") String mobile, @Param("appId") String appId);
  20. void insertFeedback(@Param("clubUserId") Integer clubUserId, @Param("content") String content);
  21. WxClubUserVo getWxClubUser(@Param("mobile") String mobile, @Param("appId") String appId, @Param("authUserId") Integer authUserId, @Param("authId") Integer authId, @Param("clubUserId") Integer clubUserId);
  22. WxClubDetailsVo getClubDetails(Integer authId);
  23. void updateClubUser(ClubUserPo clubUser);
  24. void deleteClubUser(Integer clubUserId);
  25. void updatePassword(@Param("mobile") String mobile, @Param("password") String password, @Param("authUserId") Integer authUserId);
  26. void bindAuthId(@Param("clubUserId") Integer clubUserId, @Param("authId") Integer authId);
  27. void updateStatus(@Param("clubUserId") Integer clubUserId, @Param("status") Integer status);
  28. void updateClubUserPassword(@Param("clubUserId") Integer clubUserId, @Param("password") String md5Password);
  29. void unbindAuthId(Integer clubUserId);
  30. String getDbPassword(Integer clubUserId);
  31. List<WxClubListVo> getWxStarClubList(Integer authUserId);
  32. //绑定更换机构
  33. void saveBindAuth(Integer authId,String authParty,Integer authUserId,Integer clubUserId);
  34. //根據id獲取用戶信息
  35. WxClubUserVo getUserInfoByToken(Integer clubUserId);
  36. //根据id更新authid到V1.7.7版本信息ross挑战赛机构表
  37. void upAuthByid(Integer clubUserId,Integer authId);
  38. }