| @@ -693,6 +693,12 @@ public class WxRentContractServiceImpl implements WxRentContractService { | |||||
| b.setShopId(sid); | b.setShopId(sid); | ||||
| b.setNeedPay(new BigDecimal(bill.getNeedPay()).multiply(shoprate).toPlainString()); | b.setNeedPay(new BigDecimal(bill.getNeedPay()).multiply(shoprate).toPlainString()); | ||||
| b.setReceivePay(b.getNeedPay()); | b.setReceivePay(b.getNeedPay()); | ||||
| if (StringUtils.isNotBlank(bill.getBussinessManageFeeNeedPay())){ | |||||
| b.setBussinessManageFeeNeedPay(new BigDecimal(bill.getBussinessManageFeeNeedPay()).multiply(shoprate).toPlainString()); | |||||
| } | |||||
| if (StringUtils.isNotBlank(bill.getOperatingManageFeeNeedPay())){ | |||||
| b.setOperatingManageFeeNeedPay(new BigDecimal(bill.getOperatingManageFeeNeedPay()).multiply(shoprate).toPlainString()); | |||||
| } | |||||
| billList.add(b); | billList.add(b); | ||||
| } catch (IllegalAccessException e) { | } catch (IllegalAccessException e) { | ||||
| logger.error("savePreviewBill error.",e); | logger.error("savePreviewBill error.",e); | ||||
| @@ -727,7 +733,7 @@ public class WxRentContractServiceImpl implements WxRentContractService { | |||||
| //wxBillRentManage.setBillType(EnumBillAllType.); | //wxBillRentManage.setBillType(EnumBillAllType.); | ||||
| //wxBillRentManage.updateTenantInfo(record); | //wxBillRentManage.updateTenantInfo(record); | ||||
| //wxAllBillManageMapper.deletePreviewBill(wxBillRentManage); | //wxAllBillManageMapper.deletePreviewBill(wxBillRentManage); | ||||
| WxPayAccountBill wxPayAccountBill = wxPayAccountBillService.getByTenantInfo(record); | |||||
| //WxPayAccountBill wxPayAccountBill = wxPayAccountBillService.getByTenantInfo(record); | |||||
| final IdWorker idWorker = IdWorker.get(); | final IdWorker idWorker = IdWorker.get(); | ||||
| int count = 1; | int count = 1; | ||||
| List<Long> shopIds = record.shopIdsByRentInfo(); | List<Long> shopIds = record.shopIdsByRentInfo(); | ||||