Browse Source

no message

zhangchuanxing 1 week ago
parent
commit
0e0f2e25f3
1 changed files with 1 additions and 1 deletions
  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 {