소스 검색

信息中心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