Browse Source

update log

deason 10 months ago
parent
commit
03091758b1

+ 2 - 2
examcloud-core-oe-task-service/src/main/java/cn/com/qmth/examcloud/core/oe/task/service/job/SyncExamRecordDataJobHandler.java

@@ -177,8 +177,8 @@ public class SyncExamRecordDataJobHandler {
 
         long startTime = System.currentTimeMillis();
         syncExamDataCloudService.syncExamData(syncReq);
-        long cost = (System.currentTimeMillis() - startTime) / 1000;
-        log.warn("syncExamData ok, examRecordDataId:{}, studentId:{}, examType:{}, cost:{}s",
+        long cost = System.currentTimeMillis() - startTime;
+        log.warn("syncExamData ok, examRecordDataId:{}, studentId:{}, examType:{}, cost:{}ms",
                 examRecordDataId, examRecordDataCache.getStudentId(), examRecordDataCache.getExamType(), cost);
 
         // 同步成功后,更新同步状态