From af75ed87135a0f349886197a8233fb97ad5d92ce Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期六, 22 二月 2025 14:07:37 +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