|
@@ -1243,7 +1243,7 @@ public class StudentServiceImpl extends ServiceImpl<StudentDao, StudentEntity> i
|
|
|
if (pageEntity.getPageIndex().equals(domain.getPageIndex())) {
|
|
|
pageIndexValid = true;
|
|
|
Gson gson = new Gson();
|
|
|
- if(StringUtils.isBlank(domain.getValue().toString())){
|
|
|
+ if (StringUtils.isBlank(domain.getValue().toString())) {
|
|
|
throw new ParameterException("field值为空");
|
|
|
}
|
|
|
if (OmrField.ABSENT.equals(domain.getField())) {
|
|
@@ -1681,6 +1681,7 @@ public class StudentServiceImpl extends ServiceImpl<StudentDao, StudentEntity> i
|
|
|
List<String> lineList = null;
|
|
|
InputStream in = null;
|
|
|
try {
|
|
|
+ in = new FileInputStream(vo.getFile());
|
|
|
lineList = IOUtils.readLines(in, "UTF-8");
|
|
|
} catch (IOException e) {
|
|
|
throw new ParameterException("读取文件出错", e);
|
|
@@ -2556,7 +2557,7 @@ public class StudentServiceImpl extends ServiceImpl<StudentDao, StudentEntity> i
|
|
|
|
|
|
@Override
|
|
|
public void resetAssignedCheck(Long examId, String subjectCode) {
|
|
|
- TaskLock taskLock = TaskLockUtil.getAssignedCheckTask(examId+"_"+subjectCode);
|
|
|
+ TaskLock taskLock = TaskLockUtil.getAssignedCheckTask(examId + "_" + subjectCode);
|
|
|
taskLock.clear();
|
|
|
|
|
|
QueryWrapper<StudentEntity> wrapper = new QueryWrapper<>();
|