IntegralShareMapper.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. package com.dk.oauth.mapper.integral;
  2. import com.dk.oauth.model.pojo.integral.IntegralShare;
  3. import com.dk.common.mapper.BaseMapper;
  4. import com.dk.oauth.model.query.integral.IntegralItemQuery;
  5. import com.dk.oauth.model.query.integral.IntegralShareQuery;
  6. import com.dk.oauth.model.response.integral.CouponSendResponse;
  7. import com.dk.oauth.model.response.integral.IntegralItemResponse;
  8. import com.dk.oauth.model.response.integral.IntegralShareResponse;
  9. import org.apache.ibatis.annotations.Param;
  10. import org.springframework.stereotype.Repository;
  11. import java.util.List;
  12. import java.util.Map;
  13. /**
  14. * 积分分享 Mapper
  15. */
  16. @Repository
  17. public interface IntegralShareMapper extends BaseMapper<IntegralShare>{
  18. /**
  19. * @desc : 根据id查询
  20. * @date : 2024/7/24 9:23
  21. * @author : 寇珊珊
  22. */
  23. IntegralShareResponse selectById(@Param("id") Integer id);
  24. /**
  25. * @desc : 条件查询
  26. * @date : 2024/7/24 9:22
  27. * @author : 寇珊珊
  28. */
  29. List<IntegralShareResponse> selectByCond(IntegralShareQuery integralShareQuery);
  30. /**
  31. * @desc : 条件查询个数
  32. * @date : 2024/7/24 9:22
  33. * @author : 寇珊珊
  34. */
  35. Long countByCond(IntegralShareQuery integralShareQuery);
  36. /**
  37. * @desc : 查询历史记录
  38. * @date : 2024/7/30 15:58
  39. * @author : 寇珊珊
  40. */
  41. List<IntegralShareResponse> selectHistoryRecordByCond(IntegralShareQuery integralShareQuery);
  42. /**
  43. * @desc : 当日积分分享数
  44. * @date : 2024/8/1 10:13
  45. * @author : 刘尧
  46. */
  47. Long selectShareNumber(IntegralShareQuery integralShareQuery);
  48. /**
  49. * @desc : 当日积分邀请明细
  50. * @date : 2024/8/1 10:36
  51. * @author : 刘尧
  52. */
  53. Map<String, Object> selectShareItem(IntegralShareQuery integralShareQuery);
  54. /**
  55. * @desc : 历史记录
  56. * @date : 2024/8/1 10:36
  57. * @author : 刘尧
  58. */
  59. List<Map<String, Object>> selectByCondHistory(IntegralShareQuery integralShareQuery);
  60. }