Commit d08da175 by 刘亚鑫

手机轨迹时间戳格式修改

parent 26c7dbdc
......@@ -107,7 +107,7 @@ public class PhoneServiceImpl implements PhoneService {
String sjhm = (String) object.get("sjhm");
DateTimeFormatter dtf = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
LocalDateTime lacDt = LocalDateTime.parse(fxsj, dtf);
long l = LocalDateTime.from(lacDt).atZone(ZoneId.systemDefault()).toInstant().toEpochMilli();
long l = LocalDateTime.from(lacDt).atZone(ZoneId.systemDefault()).toInstant().getEpochSecond();
sjGjInfo.setObjectValue(sjhm);
sjGjInfo.setAddress(jzmc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment