| | |
| | | import com.stylefeng.guns.modular.system.model.*; |
| | | import com.stylefeng.guns.modular.system.service.*; |
| | | import com.stylefeng.guns.modular.system.service.impl.CarServiceImpl; |
| | | import com.stylefeng.guns.modular.system.service.impl.CompanyServiceImpl; |
| | | import com.stylefeng.guns.modular.system.util.*; |
| | | import com.stylefeng.guns.modular.system.util.qianyuntong.OrderUtil; |
| | | import com.stylefeng.guns.modular.system.util.qianyuntong.model.ModifyTravelItineraryRequest; |
| | |
| | | private CarModelMapper carModelMapper; |
| | | @Autowired |
| | | private CarServiceImpl carServiceImpl; |
| | | private CompanyServiceImpl companyServiceImpl; |
| | | @Autowired |
| | | private ICompanyService companyService; |
| | | |
| | | |
| | | /** |
| | |
| | | } |
| | | UserInfo userInfo = userInfoMapper.selectById(orderCrossCity.getUserId()); |
| | | Driver driver = driverService.selectById(orderCrossCity.getDriverId()); |
| | | Company company = companyServiceImpl.selectById(driver.getCompanyId()); |
| | | Company company = companyService.selectById(driver.getCompanyId()); |
| | | switch (state){ |
| | | case 3://出发前往预约点 |
| | | orderCrossCity.setState(3); |