소스 검색

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

lym 4 년 전
부모
커밋
8543de8854
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      carbon-h5/carbon-h5-service/src/main/resources/com/hcloud/microserver/h5/dao/CustomerCarbonValMapper.xml

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