ruoyi-admin/src/main/java/com/ruoyi/web/controller/api/TContractController.java
@@ -514,7 +514,7 @@ "/usr/local/project/file/", templateFileName, templateParam, templateFileName, "租赁合同", "/usr/local/project/file/"); } @@ -523,7 +523,7 @@ if (StringUtils.isEmpty(key)){ throw new RuntimeException("key不能为空"); } templateParam.put(StringUtils.format("${{}}", "contractNumber"), value != null ? value : ""); templateParam.put("${"+key+"}", value != null ? value : ""); } /**