- order by order_created_at DESC for GetOrders

This commit is contained in:
gazebo
2018-10-23 21:00:28 +08:00
parent 7a7ffacf72
commit 6abc2d694e

View File

@@ -332,7 +332,7 @@ func (c *OrderManager) GetOrders(ctx *jxcontext.Context, fromDateStr, toDateStr
sql += sqlWhere
sql += `
ORDER BY t1.vendor_order_id
ORDER BY t1.order_created_at DESC
LIMIT ? OFFSET ?
`
sqlParams = append(sqlParams, pageSize, offset)