ソースを参照

信息中心V1.3.9

kaick 2 年 前
コミット
8be58f261f
1 ファイル変更2 行追加1 行削除
  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