liujie
2023-10-15 1707d15796d7dc78812f19b9c34868c8cb38a714
src/main/java/com/stylefeng/guns/modular/system/service/impl/TOrderServiceImpl.java
@@ -502,7 +502,7 @@
            lonLat.setLat(tOrder.getStartLat());
            lonLat.setLng(tOrder.getStartLon());
            lonLats.add(lonLat);
                String s = tOrder.geteAddress();
            String s = tOrder.geteAddress();
            GeocodeVo geocode = googleMapUtil.getGeocode(s);
            orderInfo.setElat(String.valueOf(geocode.getLat()));
            orderInfo.setElon(String.valueOf(geocode.getLng()));
@@ -609,6 +609,12 @@
        }
        @Override
        public List<Map<String, Object>> getLonLat(Long orderId) {
            return this.baseMapper.getLonLat(orderId);
        }
        public static void main(String[] args) throws ParseException {