master 20220906
chen 2 years ago
parent 561116ce43
commit 6765eb34ac
  1. 2
      src/main/java/com/huoran/iasf/service/impl/DeptServiceImpl.java
  2. 2
      src/main/java/com/huoran/iasf/vo/resp/DeptRespNodeVO.java

@ -151,7 +151,7 @@ public class DeptServiceImpl extends ServiceImpl<SysDeptMapper, SysDept> impleme
// 默认加一个顶级方便新增顶级部门 // 默认加一个顶级方便新增顶级部门
DeptRespNodeVO respNodeVO = new DeptRespNodeVO(); DeptRespNodeVO respNodeVO = new DeptRespNodeVO();
respNodeVO.setName("默认顶级部门"); respNodeVO.setName("默认顶级部门");
respNodeVO.setId("0"); respNodeVO.setId(0);
/* respNodeVO.setSpread(true); /* respNodeVO.setSpread(true);
respNodeVO.setDisabled(false);*/ respNodeVO.setDisabled(false);*/
respNodeVO.setChildren(getTree(list)); respNodeVO.setChildren(getTree(list));

@ -15,7 +15,7 @@ import java.util.List;
@Data @Data
public class DeptRespNodeVO { public class DeptRespNodeVO {
@ApiModelProperty(value = "组织id") @ApiModelProperty(value = "组织id")
private String id; private Integer id;
@ApiModelProperty(value = "组织编码") @ApiModelProperty(value = "组织编码")
private String deptNo; private String deptNo;

Loading…
Cancel
Save