From c4e945a9b6bcbbe895228a7798b3145d999da481 Mon Sep 17 00:00:00 2001 From: Mr-wang Date: Tue, 26 Sep 2023 16:59:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8B=E4=B8=9A=E9=83=A8=E4=B8=80=E7=BA=A7?= =?UTF-8?q?=E9=83=A8=E9=97=A8=E6=9F=A5=E8=AF=A2=E5=85=A8=E9=83=A8=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../user/apps/yili/reportform/service/DataViewService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/com.awspaas.user.apps.yili.reportform/src/com/awspaas/user/apps/yili/reportform/service/DataViewService.java b/com.awspaas.user.apps.yili.reportform/src/com/awspaas/user/apps/yili/reportform/service/DataViewService.java index 7d223409..bdcc09f5 100644 --- a/com.awspaas.user.apps.yili.reportform/src/com/awspaas/user/apps/yili/reportform/service/DataViewService.java +++ b/com.awspaas.user.apps.yili.reportform/src/com/awspaas/user/apps/yili/reportform/service/DataViewService.java @@ -1720,8 +1720,9 @@ public class DataViewService extends ActionWeb { if (pathIdOfCache.contains("5c8e2d14-25a8-4baf-aa3a-344064007ef3")) { ucDeptID = GetNodesUtil.getParentDept(ucDeptID, 2); }else if (_uc.getDepartmentModel().getPathNameOfCache().contains("事业部")){ - ucDeptID = GetNodesUtil.getParentDept(ucDeptID, 2); + ucDeptID = pathIdOfCache.split("/")[0]; } + System.out.println("部门ID>>>>>>>>>>>>+"+ucDeptID); deptIDList = new ArrayList(); deptIDList = GetNodesUtil.getChildDept(ucDeptID, deptIDList); if (deptIDList != null) {