Parcourir la source

信息中心V1.3.9

kaick il y a 2 ans
Parent
commit
8be58f261f
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/main/resources/mapper/ArticleMapper.xml

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

@@ -57,7 +57,8 @@
 		a.relatedLabels
 		from cm_related cr
 		left join info a on a.id=cr.relatedId
-		where cr.type=2
+		left join info_praise c on a.id = c.infoId
+1		where cr.type=2
 		and a.enabledStatus = 1
 		and a.auditStatus = 2
 		and NOW() >= a.pubdate