Browse Source

我的需求列表计算BUG修复

anderx 7 years ago
parent
commit
fae3c68d77
1 changed files with 2 additions and 1 deletions
  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>