From 20fece55233ec20ac8b289151162a255a8ef09d1 Mon Sep 17 00:00:00 2001
From: zhangfeng <1603559716@qq.com>
Date: 星期一, 16 一月 2023 08:35:05 +0800
Subject: [PATCH] 安全物资和设备优化
---
incident-manage/incident-manage-rpc-api/src/main/java/com/gkhy/safePlatform/incidentManage/rpc/api/model/dto/resp/IncidentManageRPCResp.java | 18 ++++++++++++++----
1 files changed, 14 insertions(+), 4 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 4c16e49..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
@@ -2,7 +2,6 @@
import java.util.List;
-import java.util.Map;
public class IncidentManageRPCResp {
@@ -13,7 +12,10 @@
private String deptName;
// 部门级别
- private Integer deptLevel;
+ private Byte deptLevel;
+
+ // 父部门id
+ private Long parentDepId;
// 名称+数据
private List<IncidentManageCountRPCResp> data;
@@ -34,14 +36,22 @@
this.deptName = deptName;
}
- public Integer getDeptLevel() {
+ public Byte getDeptLevel() {
return deptLevel;
}
- public void setDeptLevel(Integer deptLevel) {
+ public void setDeptLevel(Byte deptLevel) {
this.deptLevel = deptLevel;
}
+ public Long getParentDepId() {
+ return parentDepId;
+ }
+
+ public void setParentDepId(Long parentDepId) {
+ this.parentDepId = parentDepId;
+ }
+
public List<IncidentManageCountRPCResp> getData() {
return data;
}
--
Gitblit v1.9.2