From d9adbadd9fa14cb7174f6167c438a45e8176fd26 Mon Sep 17 00:00:00 2001
From: SZH <szh_hello@163.com>
Date: 星期四, 23 二月 2023 15:22:04 +0800
Subject: [PATCH] 数据库连接池移除druid atomikos分布式事务使用com.mysql.cj.jdbc.MysqlXADataSource

---
 incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/req/WorkInjuryDeclarationReqDTO.java |    7 ++++---
 1 files changed, 4 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 c8521d1..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
@@ -18,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;
@@ -76,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