459242451@qq.com 3 년 전
부모
커밋
a9f8a6d492
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/task/XunTask.java

+ 2 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/task/XunTask.java

@@ -119,7 +119,9 @@ public class XunTask {
         JSONArray checkpointLogs = qdCommonService.getCheckpointLog(startTime, endTime);
         if (checkpointLogs != null && checkpointLogs.size() > 0) {
             for (Object checkpointLog : checkpointLogs) {
+                JSONObject jsonObject = JSONUtil.parseObj(checkpointLog);
                 TlInspectionLocationLog convert = Convert.convert(TlInspectionLocationLog.class, checkpointLog);
+                convert.setCreateTime(DateUtil.date(jsonObject.getLong("createTime")));
                 tlInspectionLocationLogService.insertTlInspectionLocationLog(convert);
             }
         }