提交 95c74527 authored 作者: jiangwujie's avatar jiangwujie

feature(电子围栏): 调整查询卡车位置的接口

上级 4306f8ac
......@@ -3279,7 +3279,7 @@ public class OrderChildServiceImpl implements OrderChildService {
if (truckLongitudeX == null || truckLatitudeY == null) {
BigDecimal[] location = truckTraceService.getTruckCurrentPosition(truckNo);
log.info("运单号:{},卡车:{},卡车经纬度:{}", childNo, truckNo, location);
if (location != null && location.length > 2) {
if (location != null && location.length >= 2) {
truckLongitudeX = location[0];
truckLatitudeY = location[1];
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论