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-rpc-api/src/main/java/com/gkhy/safePlatform/incidentManage/rpc/api/model/dto/resp/IncidentManageRPCResp.java | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/incident-manage/incident-manage-rpc-api/src/main/java/com/gkhy/safePlatform/incidentManage/rpc/api/model/dto/resp/IncidentManageRPCResp.java b/incident-manage/incident-manage-rpc-api/src/main/java/com/gkhy/safePlatform/incidentManage/rpc/api/model/dto/resp/IncidentManageRPCResp.java index 7bdfcf3..60988b1 100644 --- a/incident-manage/incident-manage-rpc-api/src/main/java/com/gkhy/safePlatform/incidentManage/rpc/api/model/dto/resp/IncidentManageRPCResp.java +++ b/incident-manage/incident-manage-rpc-api/src/main/java/com/gkhy/safePlatform/incidentManage/rpc/api/model/dto/resp/IncidentManageRPCResp.java @@ -12,7 +12,7 @@ private String deptName; // 部门级别 - private Integer deptLevel; + private Byte deptLevel; // 父部门id private Long parentDepId; @@ -36,11 +36,11 @@ this.deptName = deptName; } - public Integer getDeptLevel() { + public Byte getDeptLevel() { return deptLevel; } - public void setDeptLevel(Integer deptLevel) { + public void setDeptLevel(Byte deptLevel) { this.deptLevel = deptLevel; } -- Gitblit v1.9.2