xuhy
2025-04-03 160b87f6c1b93e5061f9556984c07c9cb45d04a6
ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TContractController.java
@@ -326,6 +326,7 @@
        // 将所有未缴费账单设置未已失效
        List<TBill> tBills = billService.list(new LambdaQueryWrapper<TBill>()
                .ne(TBill::getPayFeesStatus, 3)
                        .ne(TBill::getBillType,4)
                .eq(TBill::getContractId, contract.getId()));
        for (TBill tBill : tBills) {
            tBill.setPayFeesStatus("5");
@@ -514,7 +515,7 @@
                "/usr/local/project/file/",
                templateFileName,
                templateParam,
                templateFileName,
                "租赁合同",
                "/usr/local/project/file/");
    }
@@ -523,7 +524,7 @@
        if (StringUtils.isEmpty(key)){
            throw new RuntimeException("key不能为空");
        }
        templateParam.put(StringUtils.format("${{}}", "contractNumber"), value != null ? value : "");
        templateParam.put("${"+key+"}", value != null ? value : "");
    }
    /**