xingzai hace 3 años
padre
commit
b0fec11e3c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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 =?