mirror of https://gitee.com/topiam/eiam
⚡ 优化代码
parent
050ced5fec
commit
872405385e
|
@ -139,8 +139,8 @@ 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()));
|
||||
|
|
Loading…
Reference in New Issue