소스 검색

项目删除后不能新增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">