#
zc
2025-04-29 62b1f39e60f64ec4e05b21d11af3e36f5891a91a
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();
    }
}