mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-15 02:31:53 +08:00
【代码优化】商城: 满减送活动
This commit is contained in:
@@ -80,7 +80,7 @@ public class RewardActivityBaseVO {
|
||||
private Integer point;
|
||||
|
||||
@Schema(description = "赠送的优惠劵编号的数组")
|
||||
private Map<Long, Integer> giveCoupons;
|
||||
private Map<Long, Integer> giveCouponTemplateCounts;
|
||||
|
||||
@AssertTrue(message = "赠送的积分不能小于 0")
|
||||
@JsonIgnore
|
||||
|
@@ -107,9 +107,12 @@ public class RewardActivityDO extends BaseDO {
|
||||
/**
|
||||
* 赠送的优惠劵
|
||||
*
|
||||
* key: 优惠劵模版编号,value:对应的数量
|
||||
* key: 优惠劵模版编号
|
||||
* value:对应的优惠券数量
|
||||
*
|
||||
* 目的:用于订单支付后赠送优惠券
|
||||
*/
|
||||
private Map<Long, Integer> giveCoupons;
|
||||
private Map<Long, Integer> giveCouponTemplateCounts;
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user