|
@@ -117,11 +117,6 @@ public class TaskExamStudentImportTemplete implements TaskImportTemplete {
|
|
|
log.error("导入报错", e);
|
|
|
int min = Objects.isNull(map.get("min")) ? 0 : Integer.parseInt(String.valueOf(map.get("min")));
|
|
|
taskImportCommon.exception(min, e, taskImportCommon.getTxtList());
|
|
|
- if (e instanceof BusinessException) {
|
|
|
- throw new BusinessException(e.getMessage());
|
|
|
- } else {
|
|
|
- throw new RuntimeException(e);
|
|
|
- }
|
|
|
} finally {
|
|
|
//这里写入txt文件
|
|
|
taskImportCommon.writeImportResultTxt(taskImportCommon.getTxtList().toString(), file);
|