|
@@ -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
|
|
|
}
|