浏览代码

no message

zhangchuanxing 1 周之前
父节点
当前提交
0e0f2e25f3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controllers/report_selection.go

+ 1 - 1
controllers/report_selection.go

@@ -46,7 +46,7 @@ func (this *ReportSelectionController) Detail() {
 		isBestNew = true
 		if isBestNew {
 			tbdb := "cygx_report_selection"
-			condition := ` AND publish_status = 1  `
+			condition := ` AND publish_status = 1  AND  visible_range = 1  `
 			var pars []interface{}
 			list, err := models.GetReportSelectionListPublic(condition, "1", tbdb, pars, 0, 1)
 			if err != nil {