From c92c21bbe3c3bfff86e9e912441a574fd7103e36 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 11 二月 2025 09:52:47 +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