Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
antai-sport-http-server
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
antai-sport
antai-sport-http-server
Commits
af6730d3
Commit
af6730d3
authored
Sep 29, 2022
by
liming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成就增加默认图标
parent
7aad1c39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
SeriesBusinessMapper.xml
...src/main/resources/mapper/series/SeriesBusinessMapper.xml
+1
-1
SportUserTrainingLogBusinessMapper.xml
...mapper/traininglog/SportUserTrainingLogBusinessMapper.xml
+8
-8
No files found.
server-api/src/main/resources/mapper/series/SeriesBusinessMapper.xml
View file @
af6730d3
...
@@ -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"
...
...
server-api/src/main/resources/mapper/traininglog/SportUserTrainingLogBusinessMapper.xml
View file @
af6730d3
...
@@ -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 t
raining_rank
asc
order by t
1.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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment