Commit af6730d3 authored by liming's avatar liming

成就增加默认图标

parent 7aad1c39
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
from series_match_player_record t1 from series_match_player_record t1
left join sport_user t2 on t1.player_id = t2.id left join sport_user t2 on t1.player_id = t2.id
left join sport_user_training_log t3 on t3.game_mode = 20 and t1.id = t3.record_id left join sport_user_training_log t3 on t3.game_mode = 20 and t1.id = t3.record_id
where t1.match_id = #{matchId} where t1.match_id = #{matchId} and t1.finished = 1
</select> </select>
<select id="getSeriesForGameServer" <select id="getSeriesForGameServer"
......
...@@ -67,8 +67,8 @@ ...@@ -67,8 +67,8 @@
from simple_match_player_record t1 from simple_match_player_record t1
left join sport_user t2 on t1.player_id = t2.id left join sport_user t2 on t1.player_id = t2.id
left join sport_user_training_log t3 on t3.game_mode = 20 and t1.id = t3.record_id left join sport_user_training_log t3 on t3.game_mode = 20 and t1.id = t3.record_id
where t1.match_id = #{sourceId} where t1.match_id = #{sourceId} and t1.finished = 1
order by match_rank asc order by t1.status desc,match_rank asc,t1.distance desc,t1.duration asc
</if> </if>
<if test="gameMode == 30"> <if test="gameMode == 30">
select t1.*, select t1.*,
...@@ -83,8 +83,8 @@ ...@@ -83,8 +83,8 @@
from series_match_player_record t1 from series_match_player_record t1
left join sport_user t2 on t1.player_id = t2.id left join sport_user t2 on t1.player_id = t2.id
left join sport_user_training_log t3 on t3.game_mode = 20 and t1.id = t3.record_id left join sport_user_training_log t3 on t3.game_mode = 20 and t1.id = t3.record_id
where t1.match_id = #{sourceId} where t1.match_id = #{sourceId} and t1.finished = 1
order by match_rank asc order by t1.status desc,match_rank asc,t1.distance desc,t1.duration asc
</if> </if>
<if test="gameMode == 50"> <if test="gameMode == 50">
select t1.*, select t1.*,
...@@ -99,8 +99,8 @@ ...@@ -99,8 +99,8 @@
from team_training_player_record t1 from team_training_player_record t1
left join sport_user t2 on t1.player_id = t2.id left join sport_user t2 on t1.player_id = t2.id
left join sport_user_training_log t3 on t3.game_mode = 50 and t1.id = t3.record_id left join sport_user_training_log t3 on t3.game_mode = 50 and t1.id = t3.record_id
where t1.team_training_id = #{sourceId} where t1.team_training_id = #{sourceId} and t1.finished = 1
order by training_rank asc order by t1.status desc,t1.training_rank asc,t1.distance desc,t1.duration asc
</if> </if>
<if test="gameMode == 60"> <if test="gameMode == 60">
select t1.*, select t1.*,
...@@ -115,8 +115,8 @@ ...@@ -115,8 +115,8 @@
from room_mode_player_record t1 from room_mode_player_record t1
left join sport_user t2 on t1.player_id = t2.id left join sport_user t2 on t1.player_id = t2.id
left join sport_user_training_log t3 on t3.game_mode = 60 and t1.id = t3.record_id left join sport_user_training_log t3 on t3.game_mode = 60 and t1.id = t3.record_id
where t1.room_id = #{sourceId} where t1.room_id = #{sourceId} and t1.finished = 1
order by match_rank asc order by t1.status desc,t1.match_rank asc,t1.distance desc,t1.duration asc
</if> </if>
</select> </select>
</mapper> </mapper>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment