Просмотр исходного кода

//..settle

release_toaliyun_real
xhxu 2 лет назад
Родитель
Сommit
8fe7282ea4
1 измененных файлов: 10 добавлений и 10 удалений
  1. +10
    -10
      mallinkService/src/main/java/com/iformall/domain/vo/WxProfitSharingOrderVo.java

+ 10
- 10
mallinkService/src/main/java/com/iformall/domain/vo/WxProfitSharingOrderVo.java Просмотреть файл

@@ -102,7 +102,8 @@ public class WxProfitSharingOrderVo extends TenantEntity {
@Excel(name = "实际分账金额(元)", width = 20, orderNum = "13")
public String shareAmountStr;

public WxComposeChildOrderShare getComposeChildOrderShare(){
public void setPointDeduction(String pointDeduction){
this.pointDeduction = pointDeduction;
WxComposeChildOrderShare composeChildOrderShare = null;
if(StringUtils.isNotBlank(this.pointDeduction)){
try{
@@ -111,23 +112,22 @@ public class WxProfitSharingOrderVo extends TenantEntity {
}
if(composeChildOrderShare != null){
Integer realRateAmount = composeChildOrderShare.getRealRateAmount();
this.realRateAmountStr = realRateAmount != null ? new BigDecimal(realRateAmount).divide(new BigDecimal(100)).toPlainString() : realRateAmountStr;
this.realRateAmountStr = realRateAmount != null ? new BigDecimal(realRateAmount).divide(new BigDecimal(100)).toPlainString() : this.realRateAmountStr;
Integer commissionAmount = composeChildOrderShare.getCommissionAmount();
this.commissionAmountStr = commissionAmount != null ? new BigDecimal(commissionAmount).divide(new BigDecimal(100)).toPlainString() : commissionAmountStr;
this.commissionAmountStr = commissionAmount != null ? new BigDecimal(commissionAmount).divide(new BigDecimal(100)).toPlainString() : this.commissionAmountStr;
Integer cpsCommission = composeChildOrderShare.getCpsCommission();
this.cpsCommissionStr = cpsCommission != null ? new BigDecimal(cpsCommission).divide(new BigDecimal(100)).toPlainString() : cpsCommissionStr;
this.cpsCommissionStr = cpsCommission != null ? new BigDecimal(cpsCommission).divide(new BigDecimal(100)).toPlainString() : this.cpsCommissionStr;
Integer systemAmount = composeChildOrderShare.getSystemAmount();
this.systemAmountStr = systemAmount != null ? new BigDecimal(systemAmount).divide(new BigDecimal(100)).toPlainString() : systemAmountStr;
this.systemAmountStr = systemAmount != null ? new BigDecimal(systemAmount).divide(new BigDecimal(100)).toPlainString() : this.systemAmountStr;
Integer sellerAmount = composeChildOrderShare.getSellerAmount();
this.sellerAmountStr = sellerAmount != null ? new BigDecimal(sellerAmount).divide(new BigDecimal(100)).toPlainString() : sellerAmountStr;
this.sellerAmountStr = sellerAmount != null ? new BigDecimal(sellerAmount).divide(new BigDecimal(100)).toPlainString() : this.sellerAmountStr;
Integer rateAmount = composeChildOrderShare.getRateAmount();
this.rateAmountStr = rateAmount != null ? new BigDecimal(rateAmount).divide(new BigDecimal(100)).toPlainString() : rateAmountStr;
this.rateAmountStr = rateAmount != null ? new BigDecimal(rateAmount).divide(new BigDecimal(100)).toPlainString() : this.rateAmountStr;
Integer serviceAmount = composeChildOrderShare.getServiceAmount();
this.serviceAmountStr = serviceAmount != null ? new BigDecimal(serviceAmount).divide(new BigDecimal(100)).toPlainString() : serviceAmountStr;
this.serviceAmountStr = serviceAmount != null ? new BigDecimal(serviceAmount).divide(new BigDecimal(100)).toPlainString() : this.serviceAmountStr;
Integer shareAmount = composeChildOrderShare.getShareAmount();
this.shareAmountStr = shareAmount != null ? new BigDecimal(shareAmount).divide(new BigDecimal(100)).toPlainString() : shareAmountStr;
this.shareAmountStr = shareAmount != null ? new BigDecimal(shareAmount).divide(new BigDecimal(100)).toPlainString() : this.shareAmountStr;
}
return composeChildOrderShare;
}



Загрузка…
Отмена
Сохранить