ClubMapper.java 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package com.caimei.mapper;
  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.math.BigDecimal;
  7. import java.util.Date;
  8. import java.util.List;
  9. /**
  10. * Description
  11. *
  12. * @author : Aslee
  13. * @date : 2021/7/8
  14. */
  15. @Mapper
  16. public interface ClubMapper {
  17. List<ClubVo> getClubList(@Param("authUserId") Integer authUserId, @Param("clubName") String clubName);
  18. List<ClubUserVo> getClubUserList(@Param("authId") Integer authId, @Param("mobile") String mobile, @Param("status") Integer status);
  19. void insertClubUser(ClubUserPo clubUser);
  20. void unbindClubUser(Integer clubUserId);
  21. void updateCode(@Param("clubUserId") Integer clubUserId, @Param("invitationCode") String invitationCode, @Param("updateTime") Date updateTime, @Param("invitationCodeTime") Date invitationCodeTime);
  22. Integer getStatusByClubUserId(Integer clubUserId);
  23. List<WxClubListVo> getWxClubList(@Param("appId") String appId, @Param("clubName") String clubName, @Param("provinceId") Integer provinceId, @Param("cityId") Integer cityId, @Param("townId") Integer townId, @Param("lng") BigDecimal lng, @Param("lat") BigDecimal lat);
  24. Integer checkMobile(@Param("mobile") String mobile, @Param("appId") String appId);
  25. void insertFeedback(@Param("clubUserId") Integer clubUserId, @Param("content") String content);
  26. WxClubUserVo getWxClubUser(@Param("mobile") String mobile, @Param("appId") String appId);
  27. WxClubDetailsVo getClubDetails(Integer authId);
  28. }