Commit 12d032d4 authored by liuyuanjun's avatar liuyuanjun

修改bug29564

parent 69f6a104
......@@ -285,11 +285,11 @@ public class BChapterServiceImpl implements BChapterService {
map.put("currentChapter", "");
}
//判断当前企业是否可以查看课程
// if (StringUtils.isNotEmpty(curUser.getCorpId())) {
// if (bLessonRepository.queryViewRangeByCorpId(lessonId,curUser.getCorpId()) < 1) {
// map.put("code", 132);
// }
// }
if (StringUtils.isNotEmpty(curUser.getCorpId()) && "###".equals(bLesson.getCorpId())) {
if (bLessonRepository.queryViewRangeByCorpId(lessonId,curUser.getCorpId()) < 1) {
map.put("code", 132);
}
}
return map;
}
......
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