|
@@ -76,7 +76,6 @@ public class TaskExamPaperImportTemplete implements TaskImportTemplete {
|
|
|
UidUtil uidUtil;
|
|
|
|
|
|
@Override
|
|
|
- @Transactional
|
|
|
public Result importTask(Map<String, Object> map) throws IOException {
|
|
|
long start = System.currentTimeMillis();
|
|
|
TaskImportCommon taskImportCommon = new TaskImportCommon(map);
|
|
@@ -108,7 +107,8 @@ public class TaskExamPaperImportTemplete implements TaskImportTemplete {
|
|
|
return ResultUtil.ok(true);
|
|
|
}
|
|
|
|
|
|
- private void dispose(File file, Map<String, Object> map, StringBuilder result) throws IOException {
|
|
|
+ @Transactional
|
|
|
+ public void dispose(File file, Map<String, Object> map, StringBuilder result) throws IOException {
|
|
|
|
|
|
Long examId = (Long) map.get("examId");
|
|
|
|