#
Junjie
2025-07-13 077c158e71bec14810dcef0815d5d5b6aad8cbf0
src/main/java/com/zy/asrs/controller/BasShuttleController.java
@@ -124,4 +124,19 @@
        return R.ok();
    }
    @RequestMapping(value = "/basShuttle/updateCharge")
    @ManagerAuth
    public R updateCharge(BasShuttle basShuttle){
        if (Cools.isEmpty(basShuttle) || null==basShuttle.getChargeLine()){
            return R.error();
        }
        List<BasShuttle> basShuttles = basShuttleService.selectList(new EntityWrapper<BasShuttle>());
        for (BasShuttle shuttle : basShuttles) {
            shuttle.setChargeLine(basShuttle.getChargeLine());
            basShuttleService.updateById(shuttle);
        }
        return R.ok();
    }
}