diff --git a/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/admin/point/vo/config/MemberPointConfigBaseVO.java b/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/admin/point/vo/config/MemberPointConfigBaseVO.java index 1af043be0..1ab1d5a3f 100644 --- a/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/admin/point/vo/config/MemberPointConfigBaseVO.java +++ b/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/controller/admin/point/vo/config/MemberPointConfigBaseVO.java @@ -17,13 +17,13 @@ public class MemberPointConfigBaseVO { @Schema(description = "积分抵扣开关", required = true, example = "true") private Boolean tradeDeductEnable; - @Schema(description = "积分抵扣,单位:元", example = "13506") - private BigDecimal tradeDeductUnitPrice; + @Schema(description = "积分抵扣,单位:分", example = "13506") + private Integer tradeDeductUnitPrice; @Schema(description = "积分抵扣最大值", example = "32428") - private Long tradeDeductMaxPrice; + private Integer tradeDeductMaxPrice; @Schema(description = "1 元赠送多少分") - private Long tradeGivePoint; + private Integer tradeGivePoint; } diff --git a/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/dal/dataobject/point/MemberPointConfigDO.java b/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/dal/dataobject/point/MemberPointConfigDO.java index f88bda2e5..94fed9c53 100644 --- a/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/dal/dataobject/point/MemberPointConfigDO.java +++ b/yudao-module-member/yudao-module-member-biz/src/main/java/cn/iocoder/yudao/module/member/dal/dataobject/point/MemberPointConfigDO.java @@ -37,7 +37,7 @@ public class MemberPointConfigDO extends BaseDO { * * 1 积分抵扣多少分 */ - private BigDecimal tradeDeductUnitPrice; + private Integer tradeDeductUnitPrice; /** * 积分抵扣最大值 */