|
@@ -377,7 +377,7 @@
|
|
|
GROUP BY t_customer_id
|
|
|
) tmp
|
|
|
LEFT JOIN t_customer_info c ON tmp.t_customer_id = c.guid
|
|
|
- ORDER BY tmp.carbonVal DESC
|
|
|
+ ORDER BY tmp.carbonVal DESC,CONVERT(c.nick_name USING GBK) DESC
|
|
|
) obj WHERE 1 = 1
|
|
|
<if test="customerId != null and isCurrCustomerRank != null and isCurrCustomerRank == true">
|
|
|
AND obj.CustomerId = #{customerId}
|