Przeglądaj źródła

Signed-off-by: ljx <809268652@qq.com>修改模板id类型

ljx 2 lat temu
rodzic
commit
93244c5b60

+ 2 - 2
ruoyi-system/src/main/java/com/ruoyi/system/domain/ContractTable.java

@@ -50,7 +50,7 @@ public class ContractTable extends BaseEntity
 
     /** 发证时间 */
     @JsonFormat(pattern = "yyyy-MM-dd")
-    @Excel(name = "发证时间", width = 30, dateFormat = "yyyy-MM-dd", type = Excel.Type.ALL)
+    @Excel(name = "发证时间", width = 30, dateFormat = "yyyy-MM-dd", type = Excel.Type.ALL, prompt = "输入格式为2022/1/1或2022-1-1")
     private Date issueDate;
 
     /** 证书有效期 */
@@ -74,6 +74,6 @@ public class ContractTable extends BaseEntity
 
     /** 证书模板*/
     @Excel(name = "证书模板", prompt = "填写证书模板列表中的证书编码", type = Excel.Type.ALL)
-    private int templateId;
+    private Integer templateId;
 
 }

+ 2 - 2
ruoyi-system/src/main/java/com/ruoyi/system/domain/GradTable.java

@@ -41,7 +41,7 @@ public class GradTable extends BaseEntity
 
     /** 发证时间 */
     @JsonFormat(pattern = "yyyy-MM-dd")
-    @Excel(name = "发证时间", width = 30, dateFormat = "yyyy-MM-dd")
+    @Excel(name = "发证时间", width = 30, dateFormat = "yyyy-MM-dd", prompt = "输入格式为2022/1/1或2022-1-1")
     private Date issueDate;
 
     /** 培训名称 */
@@ -86,7 +86,7 @@ public class GradTable extends BaseEntity
      * 模板id
      */
     @Excel(name = "模板id", prompt = "填写证书模板列表中的证书编码")
-    private int templateId;
+    private Integer templateId;
 
     /**
      * 年度