|
@@ -53,9 +53,6 @@ public class TempleteLogicServiceImpl implements TempleteLogicService {
|
|
|
@Resource
|
|
|
TEExamCourseService teExamCourseService;
|
|
|
|
|
|
- @Resource
|
|
|
- TBTaskHistoryService tbTaskHistoryService;
|
|
|
-
|
|
|
/**
|
|
|
* 考生导入逻辑
|
|
|
*
|
|
@@ -64,6 +61,7 @@ public class TempleteLogicServiceImpl implements TempleteLogicService {
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
+ @Transactional
|
|
|
public Map<String, Object> execImportExamStudentLogic(List<LinkedMultiValueMap<Integer, Object>> finalList, Map<String, Object> map) {
|
|
|
Long orgId = Long.parseLong(String.valueOf(map.get("orgId")));
|
|
|
Long examId = Long.parseLong(String.valueOf(map.get("examId")));
|
|
@@ -226,6 +224,7 @@ public class TempleteLogicServiceImpl implements TempleteLogicService {
|
|
|
* @return
|
|
|
*/
|
|
|
@Override
|
|
|
+ @Transactional
|
|
|
public Map<String, Object> execImportRoomCodeLogic(List<LinkedMultiValueMap<Integer, Object>> finalList, Map<String, Object> map) {
|
|
|
Long orgId = null;
|
|
|
if (Objects.nonNull(map.get("orgId"))) {
|
|
@@ -381,7 +380,6 @@ public class TempleteLogicServiceImpl implements TempleteLogicService {
|
|
|
txtList.add(DateUtil.format(new Date(), timeFormat) + "->数据处理中," + tbTaskHistory.getSummary());
|
|
|
}
|
|
|
tbTaskHistory.setProgress(progress.doubleValue());
|
|
|
- tbTaskHistoryService.updateById(tbTaskHistory);
|
|
|
return txtList;
|
|
|
}
|
|
|
|
|
@@ -420,7 +418,6 @@ public class TempleteLogicServiceImpl implements TempleteLogicService {
|
|
|
txtList.add(DateUtil.format(new Date(), timeFormat) + "->数据导出中," + tbTaskHistory.getSummary());
|
|
|
}
|
|
|
tbTaskHistory.setProgress(progress.doubleValue());
|
|
|
- tbTaskHistoryService.updateById(tbTaskHistory);
|
|
|
return txtList;
|
|
|
}
|
|
|
|