From c8b575db30bcb579e99d75a14b06d5261a03fe92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=A2=81=E7=90=A6=E6=B6=9B?= Date: Wed, 8 Mar 2023 17:52:04 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90fix=20sonar=E3=80=91DepartIdModel?= =?UTF-8?q?=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jero/modules/system/model/DepartIdModel.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/jero-boot/jero-boot-module-system/src/main/java/com/jero/modules/system/model/DepartIdModel.java b/jero-boot/jero-boot-module-system/src/main/java/com/jero/modules/system/model/DepartIdModel.java index d3192850..3ebc0ccb 100644 --- a/jero-boot/jero-boot-module-system/src/main/java/com/jero/modules/system/model/DepartIdModel.java +++ b/jero-boot/jero-boot-module-system/src/main/java/com/jero/modules/system/model/DepartIdModel.java @@ -11,9 +11,9 @@ import com.jero.modules.system.entity.SysDepart; *

* 部门表 封装树结构的部门的名称的实体类 *

- * + * * @Author Steve - * @Since 2019-01-22 + * @Since 2019-01-22 * */ public class DepartIdModel implements Serializable { @@ -28,9 +28,9 @@ public class DepartIdModel implements Serializable { // 部门名称 private String title; - - List children = new ArrayList<>(); - + + private List children = new ArrayList<>(); + /** * 将SysDepartTreeModel的部分数据放在该对象当中 * @param treeModel @@ -42,7 +42,7 @@ public class DepartIdModel implements Serializable { this.title = treeModel.getDepartName(); return this; } - + /** * 该方法为用户部门的实现类所使用 * @param sysDepart @@ -53,7 +53,7 @@ public class DepartIdModel implements Serializable { this.value = sysDepart.getId(); this.title = sysDepart.getDepartName(); return this; - } + } public List getChildren() { return children;