|
@@ -75,11 +75,11 @@ public class SysNewsTypeServiceImpl extends BaseServiceImpl<Integer, SysNewsType
|
|
|
if(id == 23){
|
|
|
Teacher teacher = sysUserDao.getTeacherById(userId);
|
|
|
if(teacher != null){
|
|
|
- //用户是否可以使用云课堂
|
|
|
- if(!teacher.getCoursewareFlag()){
|
|
|
+ //是否禁用云课堂
|
|
|
+ if(teacher.getCoursewareFlag()){
|
|
|
excludeFunctionIds = "1925";
|
|
|
}
|
|
|
- //是否限制用户使用云教练
|
|
|
+ //是否禁用云教练
|
|
|
if(teacher.getCoursewareLimit()){
|
|
|
if(StringUtils.isNotEmpty(excludeFunctionIds)){
|
|
|
excludeFunctionIds += ",1374";
|