领取时间 范围校验

This commit is contained in:
2025-09-13 16:09:02 +08:00
parent dca94cc848
commit 5ef41403e0
3 changed files with 15 additions and 9 deletions

View File

@@ -27,16 +27,18 @@ public interface MkShopCouponRecordService extends IService<MkShopCouponRecord>
/**
* 优惠券列表/已领取详情
*
* @param search 用户Id/昵称/手机号
*/
Page<MkShopCouponRecordDTO> getRecord(String search, MkShopCouponRecordDTO param);
Page<MkShopCouponRecordDTO> getRecord(String search, MkShopCouponRecordDTO param, String startTime, String endTime);
/**
* 发放券 统一方法
*
* @param mkShopCouponRecordDTO 赠送信息 除Id外 几乎全填
* @param number 发放数量
* @param number 发放数量
*/
void receiveCoupon(MkShopCouponRecordDTO mkShopCouponRecordDTO,Integer number);
void receiveCoupon(MkShopCouponRecordDTO mkShopCouponRecordDTO, Integer number);
/**
* 用户优惠券 失效/删除