|
@@ -46,7 +46,7 @@ public class DataGainExamExecutor implements NodeExecuter<Long, ExamRecordData,
|
|
|
@Override
|
|
|
public void execute(Long key, ExamRecordData value, List<KeyValuePair<Long, ExamRecordData>> outList,
|
|
|
ObjectHolder<Boolean> removable, TaskContext context) throws Exception {
|
|
|
- LOG.info("[DataGainExamExecutor]开始获取数据");
|
|
|
+ LOG.debug("[DataGainExamExecutor]开始获取数据");
|
|
|
Date start=new Date();
|
|
|
// 获取考试信息id
|
|
|
Long startId = 0l;
|
|
@@ -69,7 +69,7 @@ public class DataGainExamExecutor implements NodeExecuter<Long, ExamRecordData,
|
|
|
if (ids == null || ids.size() == 0) {
|
|
|
Date end=new Date();
|
|
|
long times=end.getTime()-start.getTime();
|
|
|
- LOG.info("[DataGainExamExecutor]获取数据条数:"+outList.size() +" 耗时:"+times+"ms");
|
|
|
+ LOG.debug("[DataGainExamExecutor]获取数据条数:"+outList.size() +" 耗时:"+times+"ms");
|
|
|
return;
|
|
|
}
|
|
|
for (Long id : ids) {
|
|
@@ -107,7 +107,7 @@ public class DataGainExamExecutor implements NodeExecuter<Long, ExamRecordData,
|
|
|
ureq.setId(id);
|
|
|
examRecordDataCloudService.updateExamRecordStatus(ureq);
|
|
|
} catch (Exception e) {
|
|
|
- LOG.error("[DataGainExamExecutor]修改考试记录状态失败 examRecordDataId:"+id);;
|
|
|
+ LOG.error("[DataGainExamExecutor]修改考试记录状态失败 examRecordDataId:"+id,e);
|
|
|
}
|
|
|
}
|
|
|
}
|