Browse Source

no message

zhangchuanxing 5 months ago
parent
commit
a50da2b278
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/report.go

+ 1 - 1
models/report.go

@@ -1290,7 +1290,7 @@ func GetReportAndproductIndustrylListimgZhouqi(condition string, startSize, page
 		FROM
 			cygx_article AS art 
 		WHERE
-			art.publish_status = 1  ` + condition
+			art.publish_status = 1   	AND category_name = '周期'  ` + condition
 	totalSql := `SELECT COUNT(1) total FROM (` + sql + `) z `
 	err = o.Raw(totalSql).QueryRow(&total)
 	sql += `    ORDER BY publish_date DESC LIMIT ?,? `