From 24fa7cc98e04dd04d0a3ca1af6f40a2c05025279 Mon Sep 17 00:00:00 2001
From: SZH <szh_hello@163.com>
Date: Fri, 24 Feb 2023 10:48:14 +0800
Subject: [PATCH] 事故管理 事故快报修改 bugfix
---
incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/resp/WorkInjuryDeclarationDetailRespDTO.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/resp/WorkInjuryDeclarationDetailRespDTO.java b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/resp/WorkInjuryDeclarationDetailRespDTO.java
index 1473405..32efbd8 100644
--- a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/resp/WorkInjuryDeclarationDetailRespDTO.java
+++ b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/resp/WorkInjuryDeclarationDetailRespDTO.java
@@ -11,6 +11,7 @@
private String accidentName;
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date occurrenceTime;
public String getAccidentName() {
@@ -39,7 +40,7 @@
private Long accidentExpressId;
- private String workInjuryType;
+ private Byte workInjuryType;
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date declareDate;
@@ -98,11 +99,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