|
@@ -80,7 +80,7 @@ public class PrivilegeServiceImpl extends BaseQueryService<Privilege> implements
|
|
initSchoolViewerPrivilege(schoolId);
|
|
initSchoolViewerPrivilege(schoolId);
|
|
|
|
|
|
SystemAuth systemAuth = authService.findOne();
|
|
SystemAuth systemAuth = authService.findOne();
|
|
- if (SystemAuthType.ONLINE.equals(systemAuth.getType())) {
|
|
|
|
|
|
+ if (systemAuth != null && SystemAuthType.ONLINE.equals(systemAuth.getType())) {
|
|
disablePrivilege(schoolId, new String[] { "user_list-help_video", "exam_mark-group-help_video",
|
|
disablePrivilege(schoolId, new String[] { "user_list-help_video", "exam_mark-group-help_video",
|
|
"exam_inspected_info-list-help_video" });
|
|
"exam_inspected_info-list-help_video" });
|
|
}
|
|
}
|