Commit 69f6a104 authored by liuyuanjun's avatar liuyuanjun

暂时改回

parent aaf0b6e5
......@@ -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())) {
// 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