不可使用愿意 优惠券 列表

This commit is contained in:
2025-09-27 09:57:09 +08:00
parent a069d14657
commit 9dbd002211
9 changed files with 27 additions and 14 deletions

View File

@@ -33,6 +33,7 @@ public class UserCouponVo {
private String useRule;
private String ruleDetails;
private String useRestrictions;
private String noUseRestrictions;
private boolean isUse = false;
/**
* 优惠券门槛商品列表

View File

@@ -26,7 +26,7 @@ public interface MkShopCouponRecordService extends IService<MkShopCouponRecord>
List<UserCouponVO> findByUser(String name, List<Long> shopUserIds, Integer status);
List<UserCouponVo> queryByVipIdAndShopId(Long shopId, Long shopUserId, Integer type);
List<UserCouponVo> queryByVipIdAndShopId(Long shopId, Long shopUserId, Integer type, Integer isFood);
/**
* 优惠券列表/已领取详情

View File

@@ -35,7 +35,7 @@ public interface ShopCouponService extends IService<ShopCoupon> {
Page<UserCouponVO> find(Long userId, String name, Long shopId, Integer status);
List<UserCouponVo> findCoupon(Long shopId, Long shopUserId, Integer type);
List<UserCouponVo> findCoupon(Long shopId, Long shopUserId, Integer type, Integer isFood);
Boolean use(List<Long> ids, Long shopUserId, Long orderId);