From 4b7b11d06d81de694468ac1375e767d563be3904 Mon Sep 17 00:00:00 2001 From: WendyYang Date: Fri, 22 Nov 2024 20:30:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=201.=20=E5=B7=A5=E4=BD=9C=E5=8F=B0?= =?UTF-8?q?=E9=A1=B9=E7=9B=AE=E7=94=B3=E6=8A=A5=E9=87=91=E9=A2=9D=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E4=BF=AE=E6=94=B9=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java b/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java index cd03c56..c186701 100644 --- a/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java +++ b/hz-pm-api/src/main/java/com/hz/pm/api/workbench/manage/WorkbenchManage.java @@ -217,6 +217,8 @@ public class WorkbenchManage { .eq(Project::getProjectYear, req.getProjectYear()) .eq(req.getUnitStrip() != null, Project::getUnitStrip, req.getUnitStrip()) .ne(Project::getStatus, ProjectStatus.CHANGE_APPLY_PASSED.getCode()) + .exists(ExistsSqlConst.PROJECT_EXISTS_STATUS_CHANGE + + "and npsc.event = {0}", ProjectStateChangeEvent.COMPLIANCE_REVIEW_PASS) .eq(Project::getNewest, Boolean.TRUE); List viewUnitIds = mhUnitCache.getViewChildIdsRecursion(req.getUnitId()); projectQuery.in(Project::getBuildOrgCode, CollUtils.convert(viewUnitIds, String::valueOf));