Roc 4 tuần trước cách đây
mục cha
commit
53ddf542c3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
 }