提交 90410ea4 authored 作者: huyufan's avatar huyufan

同步运单风控

上级 599d79cf
......@@ -331,7 +331,7 @@ public class TransportSyncServiceImpl implements TransportSyncService {
BigDecimal latitude = gdPosDTO.getLatitude();
String address = gdService.getLonLat(longitude + "," + latitude);
dto.setLocationAddress(address);
dto.setLocationTime(LocalDateTime.now().toString());
dto.setLocationTime(DateUtils.formatDateTime(LocalDateTime.now()).get());
dto.setLocationLon(longitude.toString());
dto.setLocationLat(latitude.toString());
list.add(dto);
......@@ -345,7 +345,7 @@ public class TransportSyncServiceImpl implements TransportSyncService {
BigDecimal latitude = gdPosDTO.getLatitude();
String address = gdService.getLonLat(longitude + "," + latitude);
dto.setLocationAddress(address);
dto.setLocationTime(LocalDateTime.now().toString());
dto.setLocationTime(DateUtils.formatDateTime(LocalDateTime.now()).get());
dto.setLocationLon(longitude.toString());
dto.setLocationLat(latitude.toString());
list.add(dto);
......@@ -358,7 +358,7 @@ public class TransportSyncServiceImpl implements TransportSyncService {
BigDecimal latitude = gdPosDTO.getLatitude();
String address = gdService.getLonLat(longitude + "," + latitude);
dto.setLocationAddress(address);
dto.setLocationTime(LocalDateTime.now().toString());
dto.setLocationTime(DateUtils.formatDateTime(LocalDateTime.now()).get());
dto.setLocationLon(longitude.toString());
dto.setLocationLat(latitude.toString());
list.add(dto);
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论