From f241a39f07acc5d5ede28b4152d74cbb84e4885b Mon Sep 17 00:00:00 2001
From: zhangfeng <1603559716@qq.com>
Date: 星期二, 08 十一月 2022 08:37:36 +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