| | |
| | | locno?组托+绑定暂存位 : 组托 |
| | | */ |
| | | @PostMapping("/comb/auth") |
| | | public R comb(@RequestBody CombParam combParam){ |
| | | String message = agvMobileService.comb(combParam, 1l); |
| | | return R.ok(message); |
| | | public R comb(@RequestBody List<CombParam> combParams){ |
| | | combParams.forEach(combParam -> { |
| | | agvMobileService.comb(combParam, getUserId()); |
| | | }); |
| | | |
| | | return R.ok(); |
| | | } |
| | | |
| | | /* |
| | |
| | | public R combBinding(@RequestBody Map<String,Object> map){ |
| | | String barcode = map.get("barcode").toString(); |
| | | String stationCode = map.get("stationCode").toString(); |
| | | Short containerType = Short.valueOf(map.get("containerType").toString()); |
| | | Short containerType = Short.valueOf(barcode.substring(0,2)); |
| | | agvMobileService.combBinding(barcode,stationCode,containerType); |
| | | return R.ok("托盘绑定站点成功"); |
| | | } |