Commit d6751a4a by levphon

工单详情-导入

1 parent 4828effe
......@@ -151,7 +151,7 @@ public class WorkOrderImportListener extends AnalysisEventListener<WorkOrderImpo
return false;
}
}
ZonedDateTime nowTime = ZonedDateTime.now();
ZonedDateTime dateTime = ZonedDateTime.ofInstant(Instant.ofEpochMilli(woi.getServiceTime().toInstant().toEpochMilli()), ZoneId.systemDefault());
Duration duration = Duration.between(nowTime, dateTime).abs();
......@@ -181,6 +181,7 @@ public class WorkOrderImportListener extends AnalysisEventListener<WorkOrderImpo
// TODO: 2022/1/1 车型相关
woi.setNeedInstall(needInstallFlag ? "Y" : "N");
return true;
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!