CouponReceiveMapper.java 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. package com.dk.oauth.mapper.integral;
  2. import com.dk.oauth.model.pojo.integral.CouponReceive;
  3. import com.dk.common.mapper.BaseMapper;
  4. import com.dk.oauth.model.query.integral.CouponReceiveQuery;
  5. import com.dk.oauth.model.response.integral.CouponReceiveResponse;
  6. import org.apache.ibatis.annotations.Param;
  7. import org.springframework.stereotype.Repository;
  8. import java.util.List;
  9. /**
  10. * 优惠券获取 Mapper
  11. */
  12. @Repository
  13. public interface CouponReceiveMapper extends BaseMapper<CouponReceive>{
  14. /**
  15. * @desc : 根据id查询
  16. * @date : 2024/7/24 9:23
  17. * @author : 寇珊珊
  18. */
  19. CouponReceiveResponse selectById(@Param("id") String id);
  20. /**
  21. * @desc : 条件查询
  22. * @date : 2024/7/24 9:22
  23. * @author : 寇珊珊
  24. */
  25. List<CouponReceiveResponse> selectByCond(CouponReceiveQuery couponReceiveQuery);
  26. /**
  27. * @desc : 条件查询个数
  28. * @date : 2024/7/24 9:22
  29. * @author : 寇珊珊
  30. */
  31. Long countByCond(CouponReceiveQuery couponReceiveQuery);
  32. }