Forráskód Böngészése

修改模板核发时间

lxp 1 éve
szülő
commit
def2e1ab37

+ 1 - 0
yinet-admin/src/main/java/com/yinet/web/controller/rlzy/RlzyApplyController.java

@@ -158,6 +158,7 @@ public class RlzyApplyController extends BaseController
         dataMap.put("licenseNumber",rlzyApply.getLicenseNumber());
         dataMap.put("property",rlzyApply.getProperty());
         dataMap.put("businessScope",rlzyApply.getBusinessScope());
+        dataMap.put("createTime",rlzyApply.getCreateTime());
         String template = "/templates/wordtemplates/rlzyapply.ftl";  //模板文件的地址
         String templatePath = template.substring(0, template.lastIndexOf("/"));
         String templateName = template.substring(template.lastIndexOf("/") + 1);

+ 3 - 3
yinet-admin/src/main/resources/templates/wordtemplates/rlzyapply.ftl

@@ -3048,7 +3048,7 @@
                                     <w:sz w:val="24"/>
                                     <w:sz-cs w:val="24"/>
                                 </w:rPr>
-                                <w:t>2</w:t>
+                                <w:t>${createTime?string('yyyy年MM月dd日')!'-'}</w:t>
                             </w:r>
                             <w:r>
                                 <w:rPr>
@@ -3057,7 +3057,7 @@
                                     <w:sz w:val="24"/>
                                     <w:sz-cs w:val="24"/>
                                 </w:rPr>
-                                <w:t>023</w:t>
+                                <w:t></w:t>
                             </w:r>
                             <w:r>
                                 <w:rPr>
@@ -3066,7 +3066,7 @@
                                     <w:sz w:val="24"/>
                                     <w:sz-cs w:val="24"/>
                                 </w:rPr>
-                                <w:t></w:t>
+                                <w:t></w:t>
                             </w:r>
                         </w:p>
                     </w:tc>