Kaynağa Gözat

//..settle

release_toaliyun_real
xhxu 3 yıl önce
ebeveyn
işleme
6c87068491
1 değiştirilmiş dosya ile 6 ekleme ve 1 silme
  1. +6
    -1
      mallinkService/src/main/java/com/iformall/domain/vo/WxProfitSharingOrderVo.java

+ 6
- 1
mallinkService/src/main/java/com/iformall/domain/vo/WxProfitSharingOrderVo.java Dosyayı Görüntüle

@@ -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;


Yükleniyor…
İptal
Kaydet