Browse Source

用户单位树增加简称

tags/24080901
WendyYang 7 months ago
parent
commit
121291b9f6
2 changed files with 3 additions and 0 deletions
  1. +1
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/user/manage/MhUnitManage.java
  2. +2
    -0
      hz-pm-api/src/main/java/com/hz/pm/api/user/model/dto/MhUnitUserTreeDTO.java

+ 1
- 0
hz-pm-api/src/main/java/com/hz/pm/api/user/manage/MhUnitManage.java View File

@@ -174,6 +174,7 @@ public class MhUnitManage {
MhUnitUserTreeDTO node = new MhUnitUserTreeDTO();
node.setSort(unit.getSort());
node.setName(unit.getName());
node.setName(unit.getShortName());
node.setBizId(unit.getId());
node.setParentId(UnitUserNodeType.UNIT.name() + "#" + unit.getParentId());
node.setId(UnitUserNodeType.UNIT.name() + "#" + unit.getId());


+ 2
- 0
hz-pm-api/src/main/java/com/hz/pm/api/user/model/dto/MhUnitUserTreeDTO.java View File

@@ -24,6 +24,8 @@ public class MhUnitUserTreeDTO implements ITree<String, MhUnitUserTreeDTO> {

private String name;

private String shortName;

private Long bizId;

private UnitUserNodeType type;


Loading…
Cancel
Save