Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
education
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
李丛阳
education
Commits
d4812d87
Commit
d4812d87
authored
Jul 11, 2020
by
luzhuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 临时去掉平台推荐标签
parent
1ea170b7
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
134 additions
and
133 deletions
+134
-133
BChapterServiceImpl.java
...t/business/bchapter/service/impl/BChapterServiceImpl.java
+126
-125
BLessonServiceImpl.java
...oft/business/blesson/service/impl/BLessonServiceImpl.java
+8
-8
No files found.
src/main/java/org/rcisoft/business/bchapter/service/impl/BChapterServiceImpl.java
View file @
d4812d87
This diff is collapsed.
Click to expand it.
src/main/java/org/rcisoft/business/blesson/service/impl/BLessonServiceImpl.java
View file @
d4812d87
...
...
@@ -311,17 +311,17 @@ public class BLessonServiceImpl implements BLessonService {
*/
public
List
<
BLesson
>
queryPush
(
FindListLessonDTO
model
)
{
List
<
BLesson
>
result
=
bLessonRepository
.
queryPushMore
(
model
);
result
.
forEach
(
lesson
->{
List
<
String
>
list
=
new
ArrayList
<>();
String
pushLable
=
bLessonRepository
.
getPushLable
(
lesson
.
getBusinessId
());
//
result.forEach(lesson->{
//
List<String> list = new ArrayList<>();
//
String pushLable = bLessonRepository.getPushLable(lesson.getBusinessId());
// String corpLable = bLessonRepository.getCorpLable(lesson.getBusinessId());
if
(
StringUtils
.
isNotEmpty
(
pushLable
))
list
.
addAll
(
asList
(
pushLable
.
split
(
","
)));
//
if(StringUtils.isNotEmpty(pushLable))
//
list.addAll(asList(pushLable.split(",")));
// if(StringUtils.isNotEmpty(corpLable))
// list.addAll(asList(corpLable.split(",")));
if
(
list
!=
null
&&
list
.
size
()
>
0
)
lesson
.
setLabelList
(
bLessonRepository
.
queryPushLabelByLessonId
(
list
));
});
//
if( list != null && list.size() > 0)
//
lesson.setLabelList(bLessonRepository.queryPushLabelByLessonId(list));
//
});
return
addNew
(
result
);
}
...
...
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