ClubMapper.java 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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("clubName") String clubName);
  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("clubName") String clubName, @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. }