deason před 4 roky
rodič
revize
6d023a7872

+ 6 - 6
examcloud-core-oe-task-service/src/main/java/cn/com/qmth/examcloud/core/oe/task/service/pipeline/DataGainExamExecutor.java

@@ -61,7 +61,7 @@ public class DataGainExamExecutor implements NodeExecuter<Long, ExamRecordData,
         RecordDataSyncRule syncRule = new RecordDataSyncRule(recordDataSyncAllowOrgList, recordDataSyncLimitOrgList);
         LOG.warn(syncRule.toString());
 
-        LOG.info("[DataGainExamExecutor]开始获取数据");
+        LOG.info("开始获取数据");
         Date start = new Date();
         // 获取考试信息id
         Long startId = 0l;
@@ -78,7 +78,7 @@ public class DataGainExamExecutor implements NodeExecuter<Long, ExamRecordData,
             } catch (Exception e) {
                 Date end = new Date();
                 long times = end.getTime() - start.getTime();
-                LOG.error("[DataGainExamExecutor]获取数据库中考试信息出错 startId:" + startId + " 获取数据条数:" + outList.size() + " 耗时:" + times + "ms", e);
+                LOG.error("获取数据库中考试信息出错 startId:" + startId + " 获取数据条数:" + outList.size() + " 耗时:" + times + "ms", e);
                 return;
             }
 
@@ -86,7 +86,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.info("获取数据条数:" + outList.size() + " 耗时:" + times + "ms");
                 return;
             }
 
@@ -98,7 +98,7 @@ public class DataGainExamExecutor implements NodeExecuter<Long, ExamRecordData,
                 ExamRecordData examRecordData = examRecordDataService.getExamRecordDataCache(id);
 
                 if (examRecordData == null) {
-                    LOG.error("[DataGainExamExecutor]获取Redis中考试信息为空 examRecordDataId:" + id);
+                    LOG.error("获取Redis中考试信息为空 examRecordDataId:" + id);
                     examRecordData = this.queryExamRecordData(id);
 
                     if (examRecordData != null) {
@@ -148,7 +148,7 @@ public class DataGainExamExecutor implements NodeExecuter<Long, ExamRecordData,
             } catch (Exception e) {
                 Date end = new Date();
                 long times = end.getTime() - start.getTime();
-                LOG.error("[DataGainExamExecutor]修改考试记录batchNum出错 startId:" + startId + " 获取数据条数:" + outList.size() + " 耗时:" + times + "ms", e);
+                LOG.error("修改考试记录batchNum出错 startId:" + startId + " 获取数据条数:" + outList.size() + " 耗时:" + times + "ms", e);
                 return;
             }
 
@@ -174,7 +174,7 @@ public class DataGainExamExecutor implements NodeExecuter<Long, ExamRecordData,
             ureq.setId(id);
             examRecordDataCloudService.updateExamRecordStatus(ureq);
         } catch (Exception e) {
-            LOG.error("[DataGainExamExecutor]修改考试记录状态失败 examRecordDataId:" + id, e);
+            LOG.error("修改考试记录状态失败 examRecordDataId:" + id, e);
         }
     }