Browse Source

Merge branch 'cygx_14.2' of http://8.136.199.33:3000/hongze/hongze_clpt into debug

zhangchuanxing 2 months ago
parent
commit
9b11fcc11d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/report.go

+ 1 - 1
models/report.go

@@ -1050,7 +1050,7 @@ func GetArticleResearchAndYxSpecialList(condition, conditionYxSpecial string, pa
 		WHERE
 			1 = 1  AND a.publish_status = 1   `
 	if condition != "" {
-		sql += condition
+		sql += condition + " GROUP BY article_id  "
 	}
 	if needYanxuanSpecial {
 		sql += `UNION ALL