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
 }