|
|
|
@@ -150,7 +150,7 @@ public class WxAgileContractServiceImpl implements WxAgileContractService { |
|
|
|
} |
|
|
|
try { |
|
|
|
record.setApplyStatus(EnumRentContractAppStatus.DEFAULT.getCode()); |
|
|
|
record.setStatus(EnumRentContractStatus.UNWRITE.getCode()); |
|
|
|
record.setStatus(EnumRentContractStatus.DRAFT.getCode()); |
|
|
|
if (isCreate) { |
|
|
|
wxRentContractMapper.insert(record); |
|
|
|
}else { |
|
|
|
@@ -473,7 +473,7 @@ public class WxAgileContractServiceImpl implements WxAgileContractService { |
|
|
|
for (int j = 0 ; j < timeVoList.size() ; j ++) { |
|
|
|
BillTimeVo timeVo = timeVoList.get(j); |
|
|
|
String needpay = WxRentContractAgileHelper.getNeedPayMoney(null, contract.getDecimalSize(), itemPriceUnit,item.getPrice(), item.getRentArea(), |
|
|
|
item.getBeginTime(), item.getEndTime(), dayPriceCalcute, contract.getMonthAverageDays(), unDeposit.getTimePeriod(), timeUnit); |
|
|
|
timeVo.getStartDate(), timeVo.getEndDate(), dayPriceCalcute, contract.getMonthAverageDays(), unDeposit.getTimePeriod(), timeUnit); |
|
|
|
WxAllBill wxBillRent = new WxAllBill(); |
|
|
|
wxBillRent.setIsPreview(EnumYesOrNo.YES.getCode()); |
|
|
|
wxBillRent.setId(idWorker.nextId()); |
|
|
|
|