From d015cc0b48ca51a2b93b6c60c91dc352a104b1e7 Mon Sep 17 00:00:00 2001
From: kongzy <kongzy>
Date: 星期一, 23 九月 2024 10:41:50 +0800
Subject: [PATCH] 删除密码加密

---
 incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/req/WorkInjuryDeclarationReqDTO.java |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/req/WorkInjuryDeclarationReqDTO.java b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/req/WorkInjuryDeclarationReqDTO.java
index 82dfa7d..93ccde3 100644
--- a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/req/WorkInjuryDeclarationReqDTO.java
+++ b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/req/WorkInjuryDeclarationReqDTO.java
@@ -1,5 +1,7 @@
 package com.gkhy.safePlatform.incidentManage.model.dto.req;
 
+import com.fasterxml.jackson.annotation.JsonFormat;
+
 import java.math.BigDecimal;
 import java.util.Date;
 import java.util.List;
@@ -16,8 +18,9 @@
 
     private Long accidentExpressId;
 
-    private String workInjuryType;
+    private Byte workInjuryType;
 
+    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date declareDate;
 
     private BigDecimal lostTime;
@@ -74,11 +77,11 @@
         this.accidentExpressId = accidentExpressId;
     }
 
-    public String getWorkInjuryType() {
+    public Byte getWorkInjuryType() {
         return workInjuryType;
     }
 
-    public void setWorkInjuryType(String workInjuryType) {
+    public void setWorkInjuryType(Byte workInjuryType) {
         this.workInjuryType = workInjuryType;
     }
 

--
Gitblit v1.9.2