Commit d4812d87 authored by luzhuang's avatar luzhuang

fix: 临时去掉平台推荐标签

parent 1ea170b7
...@@ -311,17 +311,17 @@ public class BLessonServiceImpl implements BLessonService { ...@@ -311,17 +311,17 @@ public class BLessonServiceImpl implements BLessonService {
*/ */
public List<BLesson> queryPush(FindListLessonDTO model) { public List<BLesson> queryPush(FindListLessonDTO model) {
List<BLesson> result = bLessonRepository.queryPushMore(model); List<BLesson> result = bLessonRepository.queryPushMore(model);
result.forEach(lesson->{ // result.forEach(lesson->{
List<String> list = new ArrayList<>(); // List<String> list = new ArrayList<>();
String pushLable = bLessonRepository.getPushLable(lesson.getBusinessId()); // String pushLable = bLessonRepository.getPushLable(lesson.getBusinessId());
// String corpLable = bLessonRepository.getCorpLable(lesson.getBusinessId()); // String corpLable = bLessonRepository.getCorpLable(lesson.getBusinessId());
if(StringUtils.isNotEmpty(pushLable)) // if(StringUtils.isNotEmpty(pushLable))
list.addAll(asList(pushLable.split(","))); // list.addAll(asList(pushLable.split(",")));
// if(StringUtils.isNotEmpty(corpLable)) // if(StringUtils.isNotEmpty(corpLable))
// list.addAll(asList(corpLable.split(","))); // list.addAll(asList(corpLable.split(",")));
if( list != null && list.size() > 0) // if( list != null && list.size() > 0)
lesson.setLabelList(bLessonRepository.queryPushLabelByLessonId(list)); // lesson.setLabelList(bLessonRepository.queryPushLabelByLessonId(list));
}); // });
return addNew(result); return addNew(result);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment