Jelajahi Sumber

添加同步接口相关日志

lideyin 5 tahun lalu
induk
melakukan
fef800f45d

+ 3 - 0
examcloud-core-oe-task-service/src/main/java/cn/com/qmth/examcloud/core/oe/task/service/pipeline/SyncExamDataExecutor.java

@@ -139,10 +139,13 @@ public class SyncExamDataExecutor implements NodeExecuter<Long, ExamRecordData,
                         syncReq.setFaceBiopsy(getFaceBiopsy(examRecordDataId));
                     }
                 }
+                long startTime = System.currentTimeMillis();
 
                 //同步数据
                 syncExamDataCloudService.syncExamData(syncReq);
 
+                this.debugLog("999 同步数据rpc共计耗时:" + (System.currentTimeMillis() - startTime) + " ms",examRecordDataId);
+
                 this.debugLog("sync data success,and to be change status...", examRecordDataId);
 
                 //考试完结次数加1