Browse Source

[租赁合同][修改][生成账单时的JSON数据]

release_toaliyun_real
gongbiao 7 years ago
parent
commit
97f079c4de
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java

+ 2
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxRentContractServiceImpl.java View File

@@ -631,7 +631,8 @@ public class WxRentContractServiceImpl implements WxRentContractService {
int[] ints = priceList.get(i);
for (int j = 0; j < ints.length; j++) {
JSONObject rentInfoObject = rentInfoArray.getJSONObject(j);
shopInfo.put(rentInfoObject.getString("shopNumber"), ints[j]);
String s = new BigDecimal(ints[j]).divide(new BigDecimal(100)).toPlainString();
shopInfo.put(rentInfoObject.getString("shopNumber"), s);
}
shopInfos.add(shopInfo);
}


Loading…
Cancel
Save