Explorar el Código

我的需求列表计算BUG修复

anderx hace 7 años
padre
commit
fae3c68d77
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/main/java/com/goafanti/common/mapper/DemandMapper.xml

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

@@ -789,7 +789,8 @@
 		select
 			count(0)
 		from demand a left join user b on a.employer_id = b.id 
-		where a.info_sources=1
+		where  a.info_sources=1
+		and a.deleted_sign=0
 		<if test="employerId != null">
 			and a.employer_id = #{employerId,jdbcType=VARCHAR}
 		</if>