From 87eb6395ed4d5f5c428d75661b7c7e6fe95bb420 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期一, 17 三月 2025 16:19:15 +0800
Subject: [PATCH] 更新流程实现

---
 business/src/main/resources/mapper/PlanMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/business/src/main/resources/mapper/PlanMapper.xml b/business/src/main/resources/mapper/PlanMapper.xml
index 139c557..d25ab8e 100644
--- a/business/src/main/resources/mapper/PlanMapper.xml
+++ b/business/src/main/resources/mapper/PlanMapper.xml
@@ -65,7 +65,7 @@
         LEFT JOIN t_plan AS p ON p.project_info_id = pi.id
         LEFT JOIN sys_dept d ON d.dept_id = PI.project_owner_unit
         <where>
-            pi.deleted = 0
+            pi.deleted = 0 AND pi.used_status = 2
             <if test="query.projectName!= null and query.projectName!= ''">
                 AND pi.project_name LIKE CONCAT('%', #{query.projectName}, '%')
             </if>

--
Gitblit v1.8.0