lxp 1 year ago
parent
commit
029bd6fc36

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

@@ -3,6 +3,7 @@ package com.yinet.web.controller.rlzy;
 import java.util.List;
 import java.util.List;
 
 
 import com.yinet.common.annotation.Log;
 import com.yinet.common.annotation.Log;
+import com.yinet.common.config.Global;
 import com.yinet.common.core.controller.BaseController;
 import com.yinet.common.core.controller.BaseController;
 import com.yinet.common.core.domain.AjaxResult;
 import com.yinet.common.core.domain.AjaxResult;
 import com.yinet.common.core.page.TableDataInfo;
 import com.yinet.common.core.page.TableDataInfo;
@@ -97,6 +98,7 @@ public class RlzyApplyController extends BaseController
         RlzyApply rlzyApply = rlzyApplyService.getById(id);
         RlzyApply rlzyApply = rlzyApplyService.getById(id);
         String nowDate = DateUtils.getDate();
         String nowDate = DateUtils.getDate();
         mmap.put("rlzyApply", rlzyApply);
         mmap.put("rlzyApply", rlzyApply);
+        mmap.put("year", Global.getCopyrightYear());
         mmap.put("date",nowDate);
         mmap.put("date",nowDate);
         return prefix + "/edit";
         return prefix + "/edit";
     }
     }

+ 2 - 2
yinet-admin/src/main/resources/templates/rlzy/apply/edit.html

@@ -146,7 +146,7 @@
                     <div class="form-group">
                     <div class="form-group">
                         <label class="col-sm-4 control-label">编号:</label>
                         <label class="col-sm-4 control-label">编号:</label>
                         <div class="col-sm-8">
                         <div class="col-sm-8">
-                            (冀)人服证字﹝2023﹞0133000
+                            (冀)人服证字﹝[[${year}]]﹞0133000
                             <input name="licenseNumber" style="width: 50px;text-align: center;" th:field="*{licenseNumber}" type="text">
                             <input name="licenseNumber" style="width: 50px;text-align: center;" th:field="*{licenseNumber}" type="text">
                             23号
                             23号
                         </div>
                         </div>
@@ -156,7 +156,7 @@
                     <div class="form-group">
                     <div class="form-group">
                         <label class="col-sm-4 control-label">许可文号:</label>
                         <label class="col-sm-4 control-label">许可文号:</label>
                         <div class="col-sm-8">
                         <div class="col-sm-8">
-                            赵行审人资许决﹝2023﹞00
+                            赵行审人资许决﹝[[${year}]]﹞00
                             <input name="licenseCode" style="width: 50px;text-align: center;" th:field="*{licenseCode}" type="text">
                             <input name="licenseCode" style="width: 50px;text-align: center;" th:field="*{licenseCode}" type="text">
                         </div>
                         </div>