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(); } }