From 872405385ec959886b9a8d4524727cebf9d6fa1d Mon Sep 17 00:00:00 2001 From: topiam Date: Mon, 12 Dec 2022 19:31:38 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../identitysource/IdentitySourceSyncConverter.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/eiam-console/src/main/java/cn/topiam/employee/console/converter/identitysource/IdentitySourceSyncConverter.java b/eiam-console/src/main/java/cn/topiam/employee/console/converter/identitysource/IdentitySourceSyncConverter.java index 7649e218..64499745 100644 --- a/eiam-console/src/main/java/cn/topiam/employee/console/converter/identitysource/IdentitySourceSyncConverter.java +++ b/eiam-console/src/main/java/cn/topiam/employee/console/converter/identitysource/IdentitySourceSyncConverter.java @@ -139,11 +139,11 @@ public interface IdentitySourceSyncConverter { identitySourceSyncHistoryListResult.setStatus(entity.getStatus().getCode()); } if (entity.getEndTime() != null) { - identitySourceSyncHistoryListResult.setSpendTime(String - .valueOf( + identitySourceSyncHistoryListResult.setSpendTime( + String.valueOf( entity.getEndTime().toInstant(java.time.ZoneOffset.of("+8")).getEpochSecond() - - entity.getStartTime().toInstant(java.time.ZoneOffset.of("+8")) - .getEpochSecond())); + - entity.getStartTime().toInstant(java.time.ZoneOffset.of("+8")) + .getEpochSecond())); } return identitySourceSyncHistoryListResult; }