@@ -64,7 +64,7 @@ public class ScanController extends BaseApiController {
Exam exam = examService.findById(examId);
// 判断上传权限
- if (exam == null || exam.getSchoolId().equals(user.getSchoolId())) {
+ if (exam == null || !exam.getSchoolId().equals(user.getSchoolId())) {
throw ApiException.EXAM_NOT_ACCESSIBLED;
}