Sfoglia il codice sorgente

fix

release_toaliyun_real
winter 1 anno fa
parent
commit
447f8b06b1
1 ha cambiato i file con 6 aggiunte e 1 eliminazioni
  1. +6
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxAgileContractServiceImpl.java

+ 6
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxAgileContractServiceImpl.java Vedi File

@@ -554,7 +554,12 @@ public class WxAgileContractServiceImpl implements WxAgileContractService {
for (int j = 0 ; j < depositShopIdList.size(); j++ ) {
Long sid = depositShopIdList.get(j);
BigDecimal shoprentArea = shopAreaRateMap.get(sid);
BigDecimal shoprate = shoprentArea.divide(new BigDecimal(wxRentContract.getRentArea()),Constant.default_long_decimal_size,BigDecimal.ROUND_HALF_UP);
BigDecimal shoprate = null;
if (depositShopIdList.size() == 1) {
shoprate = new BigDecimal(1);
}else {
shoprate = shoprentArea.divide(new BigDecimal(wxRentContract.getRentArea()),Constant.default_long_decimal_size,BigDecimal.ROUND_HALF_UP);
}
String cusName = null;
if (null != shopUserMap) {
WxShopUsers su = shopUserMap.get(sid);


Caricamento…
Annulla
Salva