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
1e3b4978
Commit
1e3b4978
authored
Jul 23, 2021
by
lenx065@gmail.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
热门
parent
e8a34b48
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
Match.java
...on/src/main/java/com/live/common/domain/entity/Match.java
+2
-0
MatchServiceImpl.java
...n/java/com/live/common/service/impl/MatchServiceImpl.java
+5
-1
No files found.
score-common/src/main/java/com/live/common/domain/entity/Match.java
View file @
1e3b4978
...
...
@@ -40,5 +40,7 @@ public class Match extends BaseStringIdEntity {
//0乐鱼 1AlStat
private
Integer
sourceType
;
//默认 0 热门 1
private
Integer
hot
;
}
score-common/src/main/java/com/live/common/service/impl/MatchServiceImpl.java
View file @
1e3b4978
...
...
@@ -117,7 +117,11 @@ public class MatchServiceImpl implements MatchService {
wrapper
.
eq
(
"source_type"
,
1
);
if
(
StringUtils
.
isNotBlank
(
commonStringId
.
getSportsId
()))
{
wrapper
.
eq
(
"sports_id"
,
commonStringId
.
getSportsId
());
if
(
commonStringId
.
getSportsId
().
equals
(
"-1"
)){
wrapper
.
eq
(
"hot"
,
1
);
}
else
{
wrapper
.
eq
(
"sports_id"
,
commonStringId
.
getSportsId
());
}
}
if
(
StringUtils
.
isNotBlank
(
commonStringId
.
getMatchTime
()))
{
wrapper
.
ge
(
"match_time"
,
commonStringId
.
getMatchTime
()
+
" 00:00:00"
);
...
...
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