From 97709e81fbbab13b9b36bec3126b0590b7de1984 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期五, 12 七月 2024 18:09:04 +0800 Subject: [PATCH] 部门增加层级字段、部门修改bug --- src/main/java/com/mindskip/xzs/viewmodel/admin/department/DepartmentResponseVM.java | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/mindskip/xzs/viewmodel/admin/department/DepartmentResponseVM.java b/src/main/java/com/mindskip/xzs/viewmodel/admin/department/DepartmentResponseVM.java index 69b7a01..17ed5f4 100644 --- a/src/main/java/com/mindskip/xzs/viewmodel/admin/department/DepartmentResponseVM.java +++ b/src/main/java/com/mindskip/xzs/viewmodel/admin/department/DepartmentResponseVM.java @@ -3,6 +3,8 @@ import com.mindskip.xzs.base.BasePage; import lombok.Data; +import java.util.List; + @Data public class DepartmentResponseVM extends BasePage { @@ -12,9 +14,23 @@ private String name; /** + * 鐖剁骇ID + */ + private Integer parentId; + + /** + * 瀛愮骇鏁版嵁 + */ + private List<DepartmentResponseVM> children; + + private String special; + + private Integer level; + + /** * 绠$悊鍛� */ - private Integer adminId; - private String adminName; + private List<Integer> adminIds; + private List<String> adminNames; } -- Gitblit v1.8.0