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

//..settle

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

+ 2
- 2
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") @Excel(name = "实际分账金额(元)", width = 20, orderNum = "13")
public String shareAmountStr; public String shareAmountStr;


public void setPointDeduction(String pointDeduction){
this.pointDeduction = pointDeduction;
public String getPointDeduction(){
WxComposeChildOrderShare composeChildOrderShare = null; WxComposeChildOrderShare composeChildOrderShare = null;
if(StringUtils.isNotBlank(this.pointDeduction)){ if(StringUtils.isNotBlank(this.pointDeduction)){
try{ try{
@@ -128,6 +127,7 @@ public class WxProfitSharingOrderVo extends TenantEntity {
Integer shareAmount = composeChildOrderShare.getShareAmount(); Integer shareAmount = composeChildOrderShare.getShareAmount();
this.shareAmountStr = shareAmount != null ? new BigDecimal(shareAmount).divide(new BigDecimal(100)).toPlainString() : this.shareAmountStr; this.shareAmountStr = shareAmount != null ? new BigDecimal(shareAmount).divide(new BigDecimal(100)).toPlainString() : this.shareAmountStr;
} }
return this.pointDeduction;
} }




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