This commit is contained in:
suyl
2021-08-30 09:51:46 +08:00
parent b0dc0de0d1
commit 5a2e631411
2 changed files with 3 additions and 1 deletions

View File

@@ -838,6 +838,8 @@ func OrderNotifyReport(ctx *jxcontext.Context, storeIDs, brandIDs []int, vendorI
sqlParams = append(sqlParams, toTime)
}
sql += `
GROUP BY 1, 2
ORDER BY count DESC
LIMIT ? OFFSET ?
`
pageSize = jxutils.FormalizePageSize(pageSize)