ソースを参照

fix

release_toaliyun_real
winter 1年前
コミット
e4761ca171
1個のファイルの変更2行の追加2行の削除
  1. +2
    -2
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 2
- 2
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java ファイルの表示

@@ -2454,7 +2454,7 @@ public class WxRentContractServiceImpl implements WxRentContractService {
String maxMoney = rj.getMaxMoney();
if (StringUtils.isNotBlank(maxMoney)) {
if (sales.compareTo(new BigDecimal(maxMoney)) <= 0 ) {
revenueDecimal = sales.multiply(new BigDecimal(rj.getRate()));
revenueDecimal = sales.multiply(new BigDecimal(rj.getRate())).divide(new BigDecimal(100));
if (StringUtils.isNotBlank(rj.getRentMoney())) {
rentDecimal = new BigDecimal(rj.getRentMoney());
}
@@ -2462,7 +2462,7 @@ public class WxRentContractServiceImpl implements WxRentContractService {
}
}else {
if (sales.compareTo(new BigDecimal(minMoney)) > 0 ) {
revenueDecimal = sales.multiply(new BigDecimal(rj.getRate()));
revenueDecimal = sales.multiply(new BigDecimal(rj.getRate())).divide(new BigDecimal(100));
if (StringUtils.isNotBlank(rj.getRentMoney())) {
rentDecimal = new BigDecimal(rj.getRentMoney());
}


読み込み中…
キャンセル
保存