From 6c8706849172ca069261586a590aae148adb8b9c Mon Sep 17 00:00:00 2001 From: xhxu Date: Tue, 18 Jul 2023 12:31:03 +0800 Subject: [PATCH] //..settle --- .../com/iformall/domain/vo/WxProfitSharingOrderVo.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 417494fa6..9777c8dbd 100644 --- a/mallinkService/src/main/java/com/iformall/domain/vo/WxProfitSharingOrderVo.java +++ b/mallinkService/src/main/java/com/iformall/domain/vo/WxProfitSharingOrderVo.java @@ -103,7 +103,12 @@ public class WxProfitSharingOrderVo extends TenantEntity { public String shareAmountStr; public WxComposeChildOrderShare getComposeChildOrderShare(){ - WxComposeChildOrderShare composeChildOrderShare = getComposeChildOrderShare(); + WxComposeChildOrderShare composeChildOrderShare = null; + if(StringUtils.isNotBlank(this.pointDeduction)){ + try{ + composeChildOrderShare = JSON.parseObject(this.pointDeduction, WxComposeChildOrderShare.class); + }catch(Exception e){} + } if(composeChildOrderShare != null){ Integer realRateAmount = composeChildOrderShare.getRealRateAmount(); this.realRateAmountStr = realRateAmount != null ? new BigDecimal(realRateAmount).divide(new BigDecimal(100)).toPlainString() : realRateAmountStr;