| | |
| | | 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; |
| | |
| | | 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("起点暂未开通"); |
| | | } |