puzhibing
2026-01-29 a1d8df0eb3a6bb0ab0a1ad1f5d9cd519abfd9dd3
ManagementQYTTravel/guns-admin/src/main/java/com/stylefeng/guns/modular/system/controller/general/TCarController.java
@@ -712,7 +712,7 @@
                TDriver tDriver = driverService.selectById(s);
                DriverWork driverWork = driverWorkService.selectOne(new EntityWrapper<DriverWork>().eq("driverId", s).eq("state", 1));
                if(!list.contains(s) && null != driverWork){
                    throw new RuntimeException(tDriver.getName() + "上班中,不能取消授权");
                    return ResultUtil.error(tDriver.getName() + "上班中,不能取消授权");
                }
            }
        }
@@ -766,7 +766,7 @@
                }
            }
        }).start();
        return SUCCESS_TIP;
        return ResultUtil.success();
    }
@@ -781,7 +781,7 @@
        for (TDriver tDriver : tDrivers) {
            DriverWork driverWork = driverWorkService.selectOne(new EntityWrapper<DriverWork>().eq("driverId", tDriver.getId()).eq("state", 1));
            if(null != driverWork){
                return new ErrorTip(500, tDriver.getName() + "司机正在上班中,不能取消授权");
                return ResultUtil.error(tDriver.getName() + "司机正在上班中,不能取消授权");
            }else{
                tDriver.setCarId(null);
                driverService.updateAllColumnById(tDriver);
@@ -789,7 +789,7 @@
        }
        obj.setBindDriverId(bindDriverId);
        tCarService.updateById(obj);
        return SUCCESS_TIP;
        return ResultUtil.success();
    }
    /**