| | |
| | | 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("托盘绑定站点成功"); |
| | | } |
| | |
| | | |
| | | for (AgvMobileStartParam.Pda pda : params.getPad()) { |
| | | pda.setContainerType(Short.valueOf(pda.getContainerCode().substring(0,2))); |
| | | workService.emptyPlateIn(pda.getDevNo(),pda.getContainerCode(),pda.getContainerType(), getUserId()); |
| | | workService.emptyPlateIn(pda.getDevNo(),pda.getContainerCode(),pda.getContainerType(), getUserId(),false); |
| | | } |
| | | |
| | | return R.ok(); |
| | |
| | | @PostMapping("/pakout/empty/container/selector/auth") |
| | | public R containerType(@RequestBody HashMap<String,String> params){ |
| | | |
| | | Short locType = Short.valueOf(params.get("locType")); |
| | | String devNo = params.get("devNo"); |
| | | AgvBasDevp agvBasDevp = agvBasDevpService.selectById(devNo); |
| | | |
| | | return R.ok(agvLocMastService.queryContainerTypeByLocType1(locType)); |
| | | return R.ok(agvLocMastService.queryContainerTypeByLocType1(agvBasDevp.getLocType1())); |
| | | |
| | | } |
| | | |
| | | |
| | | } |