From 53e7dce8d55487cbac64e4374ec9aa1b52a6c6ed Mon Sep 17 00:00:00 2001 From: SZH <szh_hello@163.com> Date: 星期四, 09 三月 2023 21:16:43 +0800 Subject: [PATCH] 解决npe问题 --- incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/resp/WorkInjuryDeclarationPageRespDTO.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/resp/WorkInjuryDeclarationPageRespDTO.java b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/resp/WorkInjuryDeclarationPageRespDTO.java index adc1d94..354b65c 100644 --- a/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/resp/WorkInjuryDeclarationPageRespDTO.java +++ b/incident-manage/incident-manage-service/src/main/java/com/gkhy/safePlatform/incidentManage/model/dto/resp/WorkInjuryDeclarationPageRespDTO.java @@ -35,7 +35,7 @@ private Long accidentExpressId; - private String workInjuryType; + private Byte workInjuryType; @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") private Date declareDate; @@ -74,11 +74,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