Roc 4 долоо хоног өмнө
parent
commit
53ddf542c3

+ 1 - 1
models/report.go

@@ -1693,7 +1693,7 @@ type ReportShartUrlResp struct {
 
 
 func GetAllPublishReportId() (items []int, err error) {
 func GetAllPublishReportId() (items []int, err error) {
 	o := global.DbMap[utils.DbNameReport]
 	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
 	err = o.Raw(sql).Find(&items).Error
 	return
 	return
 }
 }