| | |
| | | // 添加验收记录 |
| | | dto.setCheckPerson(tokenService.getLoginUser().getUser().getNickName()); |
| | | checkAcceptRecordService.updateById(dto); |
| | | TContract contract = contractService.getById(dto.getContractId()); |
| | | TCheckAcceptRecord checkAcceptRecord = checkAcceptRecordService.getById(dto.getId()); |
| | | TContract contract = contractService.getById(checkAcceptRecord.getContractId()); |
| | | // 添加账单 |
| | | TBill tBill = new TBill(); |
| | | tBill.setContractId(dto.getContractId()); |
| | | tBill.setContractId(checkAcceptRecord.getContractId()); |
| | | tBill.setContractNumber(contract.getContractNumber()); |
| | | tBill.setPayableFeesMoney(dto.getCheckMoney()); |
| | | tBill.setPayableFeesTime(LocalDate.now()); |