| | |
| | | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.mzl.flower.dto.request.coupon.CreateCouponRecordDTO; |
| | | import com.mzl.flower.dto.request.coupon.QueryCouponRecordDTO; |
| | | import com.mzl.flower.dto.request.coupon.QueryCouponStatisticsBO; |
| | | import com.mzl.flower.dto.request.coupon.QueryExistCouponDTO; |
| | | import com.mzl.flower.dto.request.coupon.*; |
| | | import com.mzl.flower.dto.response.coupon.CouponRecordVO; |
| | | import com.mzl.flower.entity.coupon.CouponRecordDO; |
| | | |
| | |
| | | * @param queryExistCouponDTO |
| | | * @return |
| | | */ |
| | | int getExistCouponAmount(QueryExistCouponDTO queryExistCouponDTO); |
| | | Integer getExistCouponAmount(QueryExistCouponDTO queryExistCouponDTO); |
| | | |
| | | /** |
| | | * 根据优惠券的ID来查找已经领取的优惠券的数量 |
| | | * @param couponId |
| | | * @return |
| | | */ |
| | | Integer getExistGainCouponRecordAmountById(String couponId); |
| | | |
| | | Integer getUserGainCouponRecordAmountById(String couponId,Long customerId); |
| | | |
| | | List<CouponRecordVO> getMineCouponRecordList(QueryMineCouponRecordDTO dto); |
| | | |
| | | /** |
| | | * 检查优惠券是否到期 |
| | | * @param dto |
| | | */ |
| | | void checkCouponExpired(QueryMineCouponRecordDTO dto); |
| | | |
| | | |
| | | } |