ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/IndexController.java | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
ruoyi-applet/src/main/java/com/ruoyi/web/controller/api/IndexController.java
@@ -295,7 +295,8 @@ // 添加验收记录 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());