zhangchuanxing il y a 4 mois
Parent
commit
a9f8f280d1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      models/report.go

+ 1 - 1
models/report.go

@@ -1557,7 +1557,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 ?,? `