|
@@ -307,9 +307,9 @@ public class AsyncExportServiceImpl implements AsyncExportService {
|
|
|
|
|
|
@Override
|
|
@Override
|
|
public void asyncExportExamAuditList(Long taskId, ExamAuditQuery req) {
|
|
public void asyncExportExamAuditList(Long taskId, ExamAuditQuery req) {
|
|
- List<ExamAuditInfo> auditInfos = examAuditService.getExamAudit(req);
|
|
|
|
|
|
+ List<ExamAuditInfo> auditInfos;
|
|
try {
|
|
try {
|
|
- //auditInfos = examAuditService.getExamAudit(req);
|
|
|
|
|
|
+ auditInfos = examAuditService.getExamAudit(req);
|
|
|
|
|
|
if (CollectionUtils.isEmpty(auditInfos)) {
|
|
if (CollectionUtils.isEmpty(auditInfos)) {
|
|
exportTaskService.updateExportTaskStatus(taskId, ExportTaskStatus.ERROR, "当前条件暂无数据,任务终止");
|
|
exportTaskService.updateExportTaskStatus(taskId, ExportTaskStatus.ERROR, "当前条件暂无数据,任务终止");
|