Browse Source

优化:排行榜添加昵称排序。

lym 4 years ago
parent
commit
8543de8854

+ 1 - 1
carbon-h5/carbon-h5-service/src/main/resources/com/hcloud/microserver/h5/dao/CustomerCarbonValMapper.xml

@@ -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}