Commit 5356397e authored by luzhuang's avatar luzhuang

feat: 新平台标签

parent cd4a11f2
......@@ -271,14 +271,13 @@ public class BLessonServiceImpl implements BLessonService {
List<String> list = new ArrayList<>();
String pushLable = bLessonRepository.getPushLable(lesson.getBusinessId());
String corpLable = bLessonRepository.getCorpLable(lesson.getBusinessId());
if(StringUtils.isEmpty(pushLable))
if(StringUtils.isNotEmpty(pushLable))
list.addAll(asList(pushLable.split(",")));
if(StringUtils.isEmpty(corpLable))
if(StringUtils.isNotEmpty(corpLable))
list.addAll(asList(corpLable.split(",")));
if(list.size()<=0 || list == null)
if( list != null && list.size() > 0)
lesson.setLabelList(bLessonRepository.queryPushLabelByLessonId(list));
});
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