新客立减

This commit is contained in:
张松
2025-09-25 17:43:32 +08:00
parent aafe9937a8
commit d0e230a1b8
2 changed files with 45 additions and 9 deletions

View File

@@ -22,6 +22,8 @@ public interface MkShopConsumeDiscountRecordService extends IService<MkShopConsu
*/
MkShopConsumeDiscountRecord getDiscount(Long shopId, Long userId, Long orderId);
boolean canUseDiscount(Long shopId, Long userId, BigDecimal amount);
/**
* 修改记录状态
* @param recordId MkShopConsumeDiscountRecord 主键