VipMapper.java 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. package com.caimei.mapper;
  2. import com.caimei.model.dto.PackageDto;
  3. import com.caimei.model.po.AuthVipPo;
  4. import com.caimei.model.po.SysMenu;
  5. import com.caimei.model.po.VipHistoryPo;
  6. import com.caimei.model.vo.*;
  7. import org.apache.ibatis.annotations.Mapper;
  8. import org.apache.ibatis.annotations.Param;
  9. import java.util.Date;
  10. import java.util.List;
  11. /**
  12. * Description
  13. *
  14. * @author : Aslee
  15. * @date : 2021/5/11
  16. */
  17. @Mapper
  18. public interface VipMapper {
  19. void deleteVipPackages();
  20. void deleteVipServices();
  21. void insertVipPackage(PackageDto pac);
  22. void insertVipService(String service);
  23. List<VipPackageVo> getVipPackageList();
  24. List<VipServiceVo> getVipServiceList();
  25. Date getVipEndTime(Integer authUserId);
  26. VipPackageVo getVipPackageById(Integer packageId);
  27. Integer getVipHistoryId(@Param("authUserId") Integer authUserId, @Param("packageId") Integer packageId);
  28. void updateVipHistory(VipHistoryPo vipHistory);
  29. void insertVipHistory(VipHistoryPo vipHistory);
  30. List<VipListVo> getVipList(@Param("shopName") String shopName, @Param("shopType") Integer shopType, Integer vipStatus, @Param("mobile") String mobile, @Param("linkMan") String linkMan);
  31. List<VipHistoryListVo> getVipHistoryList(@Param("authUserId") Integer authUserId, @Param("vipPackageId") Integer vipPackageId, @Param("vipStatus") Integer vipStatus, @Param("payBeginTime") String payBeginTime, @Param("payEndTime") String payEndTime, @Param("endBeginTime") String endBeginTime, @Param("endEndTime") String endEndTime);
  32. VipInfoVo getVipInfo(Integer authUserId);
  33. AuthVipPo getAuthVipInfo(Integer authUserId);
  34. void updateAuthVipInfo(AuthVipPo authVip);
  35. void insertAuthVipInfo(AuthVipPo authVip);
  36. List<SysMenu> getBaseMenuList();
  37. List<SysMenu> getUpMenuList();
  38. }