记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
7a8ad304
Commit
7a8ad304
authored
Nov 08, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
noticeList type存在时候只展示一个演出
parent
e5b33623
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
0 deletions
+19
-0
KylinPerformancesServiceImpl.java
...vice/kylin/service/impl/KylinPerformancesServiceImpl.java
+19
-0
No files found.
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinPerformancesServiceImpl.java
View file @
7a8ad304
...
@@ -145,6 +145,10 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
...
@@ -145,6 +145,10 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
toDayList
=
checkAppStatus
(
toDayList
);
toDayList
=
checkAppStatus
(
toDayList
);
threeDaysList
=
checkAppStatus
(
threeDaysList
);
threeDaysList
=
checkAppStatus
(
threeDaysList
);
if
(
null
!=
type
&&
type
>
0
)
{
toDayList
=
mergeRoadList
(
toDayList
);
threeDaysList
=
mergeRoadList
(
threeDaysList
);
}
HashMap
<
String
,
Object
>
newList
=
CollectionUtil
.
mapStringObject
();
HashMap
<
String
,
Object
>
newList
=
CollectionUtil
.
mapStringObject
();
newList
.
put
(
"toDayList"
,
toDayList
);
newList
.
put
(
"toDayList"
,
toDayList
);
...
@@ -152,6 +156,21 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
...
@@ -152,6 +156,21 @@ public class KylinPerformancesServiceImpl implements IKylinPerformancesService {
return
newList
;
return
newList
;
}
}
private
List
<
KylinPerformanceVo
>
mergeRoadList
(
List
<
KylinPerformanceVo
>
PerformanceList
)
{
List
<
String
>
roadIdList
=
Arrays
.
asList
();
List
<
KylinPerformanceVo
>
newList
=
ObjectUtil
.
getKylinPerformanceVoArrayList
();
for
(
KylinPerformanceVo
info
:
PerformanceList
)
{
String
roadShowId
=
info
.
getRoadShowId
();
if
(
null
!=
roadShowId
&&
!
roadShowId
.
isEmpty
())
{
if
(!
roadIdList
.
contains
(
info
.
getRoadShowId
()))
{
newList
.
add
(
info
);
roadIdList
.
add
(
roadShowId
);
}
}
}
return
newList
;
}
public
List
<
KylinPerformanceVo
>
recommendList
()
{
public
List
<
KylinPerformanceVo
>
recommendList
()
{
List
<
KylinPerformanceVo
>
performancesListRecommend
=
dataUtils
.
getPerformancesListIsRecommend
();
List
<
KylinPerformanceVo
>
performancesListRecommend
=
dataUtils
.
getPerformancesListIsRecommend
();
performancesListRecommend
=
checkAppStatus
(
performancesListRecommend
);
performancesListRecommend
=
checkAppStatus
(
performancesListRecommend
);
...
...
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