From 6765eb34ac18dd6b303881de77b8cc442b504522 Mon Sep 17 00:00:00 2001 From: chen <1251790704@qq.com> Date: Tue, 6 Sep 2022 16:39:28 +0800 Subject: [PATCH] =?UTF-8?q?id=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/com/huoran/iasf/service/impl/DeptServiceImpl.java | 2 +- src/main/java/com/huoran/iasf/vo/resp/DeptRespNodeVO.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/huoran/iasf/service/impl/DeptServiceImpl.java b/src/main/java/com/huoran/iasf/service/impl/DeptServiceImpl.java index 6276c8d..3a3e9bf 100644 --- a/src/main/java/com/huoran/iasf/service/impl/DeptServiceImpl.java +++ b/src/main/java/com/huoran/iasf/service/impl/DeptServiceImpl.java @@ -151,7 +151,7 @@ public class DeptServiceImpl extends ServiceImpl impleme // 默认加一个顶级方便新增顶级部门 DeptRespNodeVO respNodeVO = new DeptRespNodeVO(); respNodeVO.setName("默认顶级部门"); - respNodeVO.setId("0"); + respNodeVO.setId(0); /* respNodeVO.setSpread(true); respNodeVO.setDisabled(false);*/ respNodeVO.setChildren(getTree(list)); diff --git a/src/main/java/com/huoran/iasf/vo/resp/DeptRespNodeVO.java b/src/main/java/com/huoran/iasf/vo/resp/DeptRespNodeVO.java index 5e46a66..b9bc516 100644 --- a/src/main/java/com/huoran/iasf/vo/resp/DeptRespNodeVO.java +++ b/src/main/java/com/huoran/iasf/vo/resp/DeptRespNodeVO.java @@ -15,7 +15,7 @@ import java.util.List; @Data public class DeptRespNodeVO { @ApiModelProperty(value = "组织id") - private String id; + private Integer id; @ApiModelProperty(value = "组织编码") private String deptNo;