This commit is contained in:
suyl
2021-09-02 17:09:28 +08:00
parent 3ae4f81fa8
commit 1d2bfb7cb7

View File

@@ -911,6 +911,8 @@ func OrderDeliveryReport(ctx *jxcontext.Context, storeIDs, brandIDs []int, vendo
ORDER BY a.order_created_at DESC ORDER BY a.order_created_at DESC
LIMIT ? OFFSET ? LIMIT ? OFFSET ?
` `
fmt.Println(sql)
fmt.Println(sqlParams)
pageSize = jxutils.FormalizePageSize(pageSize) pageSize = jxutils.FormalizePageSize(pageSize)
sqlParams = append(sqlParams, pageSize, offset) sqlParams = append(sqlParams, pageSize, offset)
txDB, _ := dao.Begin(db) txDB, _ := dao.Begin(db)