From 17e9ad4bbbbd0129e8da4dc0cfeee0028d7121e0 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期一, 24 二月 2025 17:40:23 +0800
Subject: [PATCH] 资金类型和重点分类多选

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

diff --git a/business/src/main/resources/mapper/ProjectInfoMapper.xml b/business/src/main/resources/mapper/ProjectInfoMapper.xml
index c6db4ae..fffefae 100644
--- a/business/src/main/resources/mapper/ProjectInfoMapper.xml
+++ b/business/src/main/resources/mapper/ProjectInfoMapper.xml
@@ -242,7 +242,7 @@
         <id column="id" property="id"/>
     </resultMap>
     <select id="checkProjectNameAndIdIsUnique" resultMap="pInfo">
-        select p.id from t_project_info p where  p.project_name =#{name} and p.id != #{id}
+        select p.id from t_project_info p where  p.project_name =#{name} and p.id != #{id} and p.deleted = 0
         <if test="code !=null and code !=''">
             and p.project_code =#{code}
         </if>

--
Gitblit v1.8.0