From fcb53a4ff023e34126cc25b56b2541edccb92299 Mon Sep 17 00:00:00 2001 From: Chengliang <1546584672@qq.com> Date: Tue, 7 May 2024 17:52:56 +0800 Subject: [PATCH] =?UTF-8?q?=E9=9D=9E=E6=A0=87=E5=8A=9F=E8=83=BD=E5=AE=8C?= =?UTF-8?q?=E5=96=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../entity/browser/bo/CusBowserTreeBO.java | 2 +- .../engine/organization/mapper/comp/CompMapper.xml | 12 ++++++------ .../mapper/department/DepartmentMapper.xml | 4 ++-- .../organization/service/impl/ChartServiceImpl.java | 2 +- .../service/impl/FunctionOutStaffServiceImpl.java | 5 ++++- .../organization/util/OrganizationFormItemUtil.java | 4 ++++ 6 files changed, 18 insertions(+), 11 deletions(-) diff --git a/src/com/engine/organization/entity/browser/bo/CusBowserTreeBO.java b/src/com/engine/organization/entity/browser/bo/CusBowserTreeBO.java index 3dfa427b..5afcfeb5 100644 --- a/src/com/engine/organization/entity/browser/bo/CusBowserTreeBO.java +++ b/src/com/engine/organization/entity/browser/bo/CusBowserTreeBO.java @@ -26,7 +26,7 @@ public class CusBowserTreeBO { .domid("sel_" + item.getId()) .hasChild(item.getIsParent()) .isLeaf(!item.getIsParent()) - .isopen(false) + .isopen(true) .key(getKey(item)) .name(item.getName()) .build()).collect(Collectors.toList()); diff --git a/src/com/engine/organization/mapper/comp/CompMapper.xml b/src/com/engine/organization/mapper/comp/CompMapper.xml index d6f7cec9..648b5856 100644 --- a/src/com/engine/organization/mapper/comp/CompMapper.xml +++ b/src/com/engine/organization/mapper/comp/CompMapper.xml @@ -106,7 +106,7 @@ select from hrmsubcompany t - WHERE id IN + WHERE (t.canceled is null or t.canceled != '1') and id IN NULL) OR id IN(#{id} @@ -117,25 +117,25 @@ FROM hrmsubcompany t - WHERE t.SUPSUBCOMID = 0 + WHERE t.SUPSUBCOMID = 0 and (t.canceled is null or t.canceled != '1') select distinct supDepId from hrmdepartment - where 1=1 + where (canceled is null or canceled != '1')