puzhibing
2022-09-12 7da4caa40befd523033b8a1d01246ae468674680
UserIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/crossCity/server/impl/OrderCrossCityServiceImpl.java
@@ -23,6 +23,9 @@
import com.stylefeng.guns.modular.system.model.*;
import com.stylefeng.guns.modular.system.service.*;
import com.stylefeng.guns.modular.system.util.*;
import com.stylefeng.guns.modular.system.util.GoogleMap.AddressComponentsVo;
import com.stylefeng.guns.modular.system.util.GoogleMap.GoogleMapUtil;
import com.stylefeng.guns.modular.system.util.GoogleMap.ReverseGeocodeVo;
import com.stylefeng.guns.modular.system.warpper.BaseWarpper;
import com.stylefeng.guns.modular.system.warpper.OrderServerWarpper;
import com.stylefeng.guns.modular.taxi.dao.OrderTaxiMapper;
@@ -1354,8 +1357,7 @@
        if(ToolUtil.isEmpty(serverCarModelIds)){
            return ResultUtil.error("请选择服务车型");
        }
        Map<String, String> geocode = gdMapGeocodingUtil.geocode(startLon, startLat);
        boolean b = openCityService.openCity(geocode.get("districtCode"));
        boolean b = openCityService.openCity(Double.valueOf(startLat), Double.valueOf(startLon));
        if(!b){
            return ResultUtil.error("起点暂未开通");
        }