total_earned DESC order for point account
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
INNER JOIN `gao_customer` `c` ON `c`.`id` = `a`.`customer_id` AND `c`.`store_id` = `a`.`store_id`
|
||||
WHERE
|
||||
<include refid="queryWhere"/>
|
||||
ORDER BY `a`.`created_at` DESC, `a`.`id` DESC
|
||||
ORDER BY `a`.`total_earned` DESC, `a`.`created_at` DESC, `a`.`id` DESC
|
||||
LIMIT #{offset}, #{limit}
|
||||
</select>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user