|
@@ -53,6 +53,9 @@ public class TempleteLogicServiceImpl implements TempleteLogicService {
|
|
|
@Resource
|
|
|
TEExamCourseService teExamCourseService;
|
|
|
|
|
|
+ @Resource
|
|
|
+ TBTaskHistoryService tbTaskHistoryService;
|
|
|
+
|
|
|
|
|
|
* 考生导入逻辑
|
|
|
*
|
|
@@ -61,7 +64,6 @@ 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")));
|
|
@@ -224,7 +226,6 @@ 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"))) {
|
|
@@ -380,6 +381,7 @@ public class TempleteLogicServiceImpl implements TempleteLogicService {
|
|
|
txtList.add(DateUtil.format(new Date(), timeFormat) + "->数据处理中," + tbTaskHistory.getSummary());
|
|
|
}
|
|
|
tbTaskHistory.setProgress(progress.doubleValue());
|
|
|
+ tbTaskHistoryService.updateById(tbTaskHistory);
|
|
|
return txtList;
|
|
|
}
|
|
|
|
|
@@ -418,6 +420,7 @@ public class TempleteLogicServiceImpl implements TempleteLogicService {
|
|
|
txtList.add(DateUtil.format(new Date(), timeFormat) + "->数据导出中," + tbTaskHistory.getSummary());
|
|
|
}
|
|
|
tbTaskHistory.setProgress(progress.doubleValue());
|
|
|
+ tbTaskHistoryService.updateById(tbTaskHistory);
|
|
|
return txtList;
|
|
|
}
|
|
|
|