Преглед изворни кода

项目删除后不能新增BUG修复

anderx пре 8 година
родитељ
комит
711e65dbab
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      src/main/java/com/goafanti/common/mapper/BusinessProjectMapper.xml

+ 2 - 2
src/main/java/com/goafanti/common/mapper/BusinessProjectMapper.xml

@@ -641,8 +641,8 @@
   select 
   			count(0)
   		from business_project
-  where  bname = #{bname,jdbcType=VARCHAR}
-  
+  where  delete_sign=0
+ 	and bname = #{bname,jdbcType=VARCHAR}
   </select>
   
   <select id="getCreateName" resultType="string">