44323
2024-05-17 7db1c59608f6fa48eb7c47be84d808a7ce3e1d23
ManagementIGOTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/specialTrain/TOrderLogisticsController.java
@@ -105,9 +105,11 @@
        TOrderLogistics tOrderLogistics = tOrderLogisticsService.selectById(tOrderLogisticsId);
        //修改之前司机状态 -- 空闲
        TDriver driver = itDriverService.selectById(tOrderLogistics.getDriverId());
        driver.setState(2);
        itDriverService.updateById(driver);
        if(null != tOrderLogistics.getDriverId()){
            TDriver driver = itDriverService.selectById(tOrderLogistics.getDriverId());
            driver.setState(2);
            itDriverService.updateById(driver);
        }
        tOrderLogistics.setState(10);
        tOrderLogisticsService.updateById(tOrderLogistics);