x1ongzhu 7 ani în urmă
părinte
comite
f4438a9d44

+ 2 - 2
src/main/java/com/izouma/awesomeadmin/dao/PlayerInfoMapper.xml

@@ -696,8 +696,7 @@
         <if test="record.scoreType != null and !&quot;&quot;.equals(record.scoreType)">
             IFNULL(score,0) desc,
         </if>
-        IFNULL(live_time,999) ,
-        id desc
+        IFNULL(live_time,999)
     </select>
     <select id="queryPlayerInfoSeasonRankPageByPage" parameterType="java.util.Map"
             resultMap="PagePlayerInfoResult">
@@ -1437,6 +1436,7 @@
     <select id="queryHouseRank" resultType="PlayerInfo">
         SELECT (@curRank := @curRank + 1)                   AS `rank`,
                CAST(IFNULL(live_time, 0) AS DECIMAL(10, 1)) AS live_time,
+               player_info.id,
                player_info.user_id,
                player_info.ranking,
                player_info.score,