浏览代码

已处理的识别对照任务不限制修改人,任意用户可修改

yin 2 月之前
父节点
当前提交
f295f1a4ab

+ 1 - 1
teachcloud-mark/src/main/java/com/qmth/teachcloud/mark/service/impl/ScanOmrTaskServiceImpl.java

@@ -449,7 +449,7 @@ public class ScanOmrTaskServiceImpl extends ServiceImpl<ScanOmrTaskMapper, ScanO
             }else{
                 throw ExceptionResultEnum.ERROR.exception("识别对照任务被占用");
             }
-        } else if(list.get(0).getStatus().equals(OmrTaskStatus.PROCESSED)&&list.get(0).getUserId().equals(userId)){
+        } else if(list.get(0).getStatus().equals(OmrTaskStatus.PROCESSED)){
             ScanOmrStudent scanOmrStudent = new ScanOmrStudent();
             scanOmrStudent.setCardNumber(student.getCardNumber());
             scanOmrStudent.setStudentCode(student.getStudentCode());