Просмотр исходного кода

我的需求列表计算BUG修复

anderx лет назад: 7
Родитель
Сommit
fae3c68d77
1 измененных файлов с 2 добавлено и 1 удалено
  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>