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
9cd4c13a
Commit
9cd4c13a
authored
Sep 22, 2022
by
liming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
系列赛完结接口
parent
890c2f50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
SeriesService.java
...ver/server/api/business/series/service/SeriesService.java
+2
-0
SeriesKnockoutMatchHomeVO.java
...ver/api/business/series/vo/SeriesKnockoutMatchHomeVO.java
+2
-0
No files found.
server-api/src/main/java/com/antai/sport/http/server/server/api/business/series/service/SeriesService.java
View file @
9cd4c13a
...
@@ -278,6 +278,8 @@ public class SeriesService {
...
@@ -278,6 +278,8 @@ public class SeriesService {
public
SeriesKnockoutMatchHomeVO
getSeriesKnockoutMatchHomeData
(
Long
roundId
,
Long
sportUserId
)
{
public
SeriesKnockoutMatchHomeVO
getSeriesKnockoutMatchHomeData
(
Long
roundId
,
Long
sportUserId
)
{
SeriesKnockoutMatchHomeVO
result
=
new
SeriesKnockoutMatchHomeVO
();
SeriesKnockoutMatchHomeVO
result
=
new
SeriesKnockoutMatchHomeVO
();
SeriesKnockoutMatchListVO
myMatch
=
seriesBusinessMapper
.
getUserSeriesKnockoutMatch
(
roundId
,
sportUserId
);
SeriesKnockoutMatchListVO
myMatch
=
seriesBusinessMapper
.
getUserSeriesKnockoutMatch
(
roundId
,
sportUserId
);
SeriesRound
seriesRound
=
seriesRoundMapper
.
selectById
(
roundId
);
result
.
setResultConfirm
(
seriesRound
.
getResultConfirm
());
result
.
setMyMatch
(
myMatch
);
result
.
setMyMatch
(
myMatch
);
result
.
setMatchList
(
seriesBusinessMapper
.
getOtherSeriesKnockoutMatchList
(
roundId
,
sportUserId
));
result
.
setMatchList
(
seriesBusinessMapper
.
getOtherSeriesKnockoutMatchList
(
roundId
,
sportUserId
));
if
(
myMatch
!=
null
)
{
if
(
myMatch
!=
null
)
{
...
...
server-api/src/main/java/com/antai/sport/http/server/server/api/business/series/vo/SeriesKnockoutMatchHomeVO.java
View file @
9cd4c13a
...
@@ -9,6 +9,8 @@ import java.util.List;
...
@@ -9,6 +9,8 @@ import java.util.List;
@ApiModel
(
"淘汰赛主页数据"
)
@ApiModel
(
"淘汰赛主页数据"
)
@Data
@Data
public
class
SeriesKnockoutMatchHomeVO
{
public
class
SeriesKnockoutMatchHomeVO
{
@ApiModelProperty
(
"成绩是否已确认"
)
private
Boolean
resultConfirm
;
@ApiModelProperty
(
"我的排名"
)
@ApiModelProperty
(
"我的排名"
)
private
Integer
myRank
;
private
Integer
myRank
;
@ApiModelProperty
(
"我的比赛"
)
@ApiModelProperty
(
"我的比赛"
)
...
...
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