mirror of https://gitee.com/topiam/eiam
⚡ 优化代码
parent
050ced5fec
commit
872405385e
|
@ -139,8 +139,8 @@ public interface IdentitySourceSyncConverter {
|
||||||
identitySourceSyncHistoryListResult.setStatus(entity.getStatus().getCode());
|
identitySourceSyncHistoryListResult.setStatus(entity.getStatus().getCode());
|
||||||
}
|
}
|
||||||
if (entity.getEndTime() != null) {
|
if (entity.getEndTime() != null) {
|
||||||
identitySourceSyncHistoryListResult.setSpendTime(String
|
identitySourceSyncHistoryListResult.setSpendTime(
|
||||||
.valueOf(
|
String.valueOf(
|
||||||
entity.getEndTime().toInstant(java.time.ZoneOffset.of("+8")).getEpochSecond()
|
entity.getEndTime().toInstant(java.time.ZoneOffset.of("+8")).getEpochSecond()
|
||||||
- entity.getStartTime().toInstant(java.time.ZoneOffset.of("+8"))
|
- entity.getStartTime().toInstant(java.time.ZoneOffset.of("+8"))
|
||||||
.getEpochSecond()));
|
.getEpochSecond()));
|
||||||
|
|
Loading…
Reference in New Issue