浏览代码

我的需求列表计算BUG修复

anderx 7 年之前
父节点
当前提交
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>