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