Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sequoia_score
Overview
Overview
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
mark
sequoia_score
Commits
b18fc8ec
Commit
b18fc8ec
authored
Aug 13, 2021
by
Lem
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
只查当天
parent
ab4041c8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
GetMatchListByRequest.java
...com/live/common/domain/request/GetMatchListByRequest.java
+3
-0
MatchServiceImpl.java
...n/java/com/live/common/service/impl/MatchServiceImpl.java
+3
-0
No files found.
score-common/src/main/java/com/live/common/domain/request/GetMatchListByRequest.java
View file @
b18fc8ec
...
@@ -16,4 +16,7 @@ public class GetMatchListByRequest extends CommonPage {
...
@@ -16,4 +16,7 @@ public class GetMatchListByRequest extends CommonPage {
@ApiModelProperty
(
"比赛日期 yyyy-MM-dd 格式"
)
@ApiModelProperty
(
"比赛日期 yyyy-MM-dd 格式"
)
private
String
matchTime
;
private
String
matchTime
;
@ApiModelProperty
(
"PC OR H5 需要带 true,只查当天的比赛"
)
private
Boolean
pcOrH5
;
}
}
score-common/src/main/java/com/live/common/service/impl/MatchServiceImpl.java
View file @
b18fc8ec
...
@@ -128,6 +128,9 @@ public class MatchServiceImpl implements MatchService {
...
@@ -128,6 +128,9 @@ public class MatchServiceImpl implements MatchService {
}
}
if
(
StringUtils
.
isNotBlank
(
commonStringId
.
getMatchTime
()))
{
if
(
StringUtils
.
isNotBlank
(
commonStringId
.
getMatchTime
()))
{
wrapper
.
ge
(
"match_time"
,
commonStringId
.
getMatchTime
()
+
" 00:00:00"
);
wrapper
.
ge
(
"match_time"
,
commonStringId
.
getMatchTime
()
+
" 00:00:00"
);
if
(
commonStringId
.
getPcOrH5
()
!=
null
&&
commonStringId
.
getPcOrH5
()){
wrapper
.
le
(
"match_time"
,
commonStringId
.
getMatchTime
()
+
" 23:59:59"
);
}
}
else
{
}
else
{
wrapper
.
ge
(
"match_time"
,
DateUtil
.
getYsdStartTime
());
wrapper
.
ge
(
"match_time"
,
DateUtil
.
getYsdStartTime
());
}
}
...
...
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