自动化立体仓库 - WCS系统
#
Junjie
2025-04-10 1d624dfdb040825ffecba6c792c480be662b2dbc
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();
    }
}