Roc пре 4 недеља
родитељ
комит
53ddf542c3
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      models/report.go

+ 1 - 1
models/report.go

@@ -1693,7 +1693,7 @@ type ReportShartUrlResp struct {
 
 func GetAllPublishReportId() (items []int, err error) {
 	o := global.DbMap[utils.DbNameReport]
-	sql := `SELECT  a.id FROM report as a WHERE 1=1 AND state in (2,6) limit 20`
+	sql := `SELECT  a.id FROM report as a WHERE 1=1 AND state in (2,6) `
 	err = o.Raw(sql).Find(&items).Error
 	return
 }