Browse Source

导入项目,项目名查重 仅对已存在项目进行查询

user5 2 năm trước cách đây
mục cha
commit
938ada3d58

+ 1 - 0
src/main/resources/mappings/modules/ruralprojectrecords/RuralProjectRecordsDao.xml

@@ -2231,6 +2231,7 @@
 	<select id="getProjectByNameList" resultType="java.lang.Integer">
 		select count(1) from rural_project_records a
 		<where>
+			a.del_flag = 0
 			<if test="projectNameList!=null and projectNameList.size!=0">
 				and a.project_name in
 				<foreach collection="projectNameList" item="projectName" separator="," open="(" close=")">