瀏覽代碼

用户单位树增加简称

tags/24082201
WendyYang 1 年之前
父節點
當前提交
121291b9f6
共有 2 個檔案被更改,包括 3 行新增0 行删除
  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 查看文件

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


+ 2
- 0
hz-pm-api/src/main/java/com/hz/pm/api/user/model/dto/MhUnitUserTreeDTO.java 查看文件

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


private String name; private String name;


private String shortName;

private Long bizId; private Long bizId;


private UnitUserNodeType type; private UnitUserNodeType type;


Loading…
取消
儲存