feat(pricing): 增加景区优惠券统计功能并优化优惠券使用逻辑

- 新增景区优惠券统计接口和相关查询方法
- 为优惠券配置和使用记录添加景区ID字段
- 实现优惠券使用时的景区限制检查
- 优化优惠券适用性的判断逻辑,增加对景区和商品类型的检查
This commit is contained in:
2025-08-18 04:58:38 +08:00
parent 9fef17bae5
commit 9e0286e66e
10 changed files with 184 additions and 39 deletions

View File

@@ -70,4 +70,9 @@ public class PriceCouponConfig extends BaseEntity {
* 是否启用
*/
private Boolean isActive;
/**
* 景区ID - 限制优惠券只能在该景区使用
*/
private String scenicId;
}