Explorar o código

信息中心bugfix

kaick hai 1 ano
pai
achega
9921e73af8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      src/main/resources/mapper/ArticleMapper.xml

+ 2 - 0
src/main/resources/mapper/ArticleMapper.xml

@@ -60,6 +60,7 @@
 		left join info a on a.id=cr.relatedId
 		left join info_praise c on a.id = c.infoId
 		where cr.type=2
+		and cr.delFlag=0
 		and a.enabledStatus = 1
 		and a.auditStatus = 2
 		and NOW() >= a.pubdate
@@ -85,6 +86,7 @@
 				 left join info a on a.id=cr.relatedId
 				 left join info_praise c on a.id = c.infoId
 		where cr.type=1
+		and cr.delFlag=0
 		and a.enabledStatus = 1
 		and a.auditStatus = 2
 		and cr.authorId = #{authorId}