xuhy
2025-03-26 a3464d7d00494a6a1b2177898aa6be38046b3fff
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());