From 0cd21194a697cb674c504b90814e422defddd208 Mon Sep 17 00:00:00 2001 From: winter Date: Sat, 25 May 2024 13:13:37 +0800 Subject: [PATCH] fix --- .../java/com/iformall/service/helper/WxRentContractHelper.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mallinkService/src/main/java/com/iformall/service/helper/WxRentContractHelper.java b/mallinkService/src/main/java/com/iformall/service/helper/WxRentContractHelper.java index 2d303308a..75713f491 100644 --- a/mallinkService/src/main/java/com/iformall/service/helper/WxRentContractHelper.java +++ b/mallinkService/src/main/java/com/iformall/service/helper/WxRentContractHelper.java @@ -377,6 +377,9 @@ public class WxRentContractHelper { //查询月账单需要支付的金额 public static String getNeedPayMoney(WxRentContract wxRentContract,String price,Date startDate,Date endDate,int i,int billTimeVoListSize,boolean saveDb,int dayType,int receivePeriod,boolean part,boolean monthCalDay){ String needpay; + if (null == wxRentContract.getDecimalSize()) { + wxRentContract.setDecimalSize(Constant.default_short_decimal_size); + } //按日 if (wxRentContract.getPriceUnit().equals(EnumPriceUnit.D.getCode())){ BigDecimal priceD = new BigDecimal(price);