瀏覽代碼

no message

xingzai 3 年之前
父節點
當前提交
b0fec11e3c
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      models/report.go

+ 1 - 0
models/report.go

@@ -93,6 +93,7 @@ func IndustrialToArticleCategory(industrialManagementId, chartPermissionId int)
 	INNER JOIN cygx_article AS art ON art.category_id = map.category_id
 	INNER JOIN cygx_industrial_article_group_management AS man_g ON man_g.article_id = art.article_id
 	WHERE map.report_type = 2
+	AND map.is_report = 1
     AND art.is_report = 1
     AND art.publish_status = 1
 	AND man_g.industrial_management_id =?