diff --git a/mallinkService/src/main/java/com/iformall/domain/vo/WxProfitSharingOrderVo.java b/mallinkService/src/main/java/com/iformall/domain/vo/WxProfitSharingOrderVo.java index b4eeee18b..9f6934772 100644 --- a/mallinkService/src/main/java/com/iformall/domain/vo/WxProfitSharingOrderVo.java +++ b/mallinkService/src/main/java/com/iformall/domain/vo/WxProfitSharingOrderVo.java @@ -102,8 +102,7 @@ public class WxProfitSharingOrderVo extends TenantEntity { @Excel(name = "实际分账金额(元)", width = 20, orderNum = "13") public String shareAmountStr; - public void setPointDeduction(String pointDeduction){ - this.pointDeduction = pointDeduction; + public String getPointDeduction(){ WxComposeChildOrderShare composeChildOrderShare = null; if(StringUtils.isNotBlank(this.pointDeduction)){ try{ @@ -128,6 +127,7 @@ public class WxProfitSharingOrderVo extends TenantEntity { Integer shareAmount = composeChildOrderShare.getShareAmount(); this.shareAmountStr = shareAmount != null ? new BigDecimal(shareAmount).divide(new BigDecimal(100)).toPlainString() : this.shareAmountStr; } + return this.pointDeduction; }