| | |
| | | @Transactional |
| | | public R startPakin(@RequestBody AgvMobileStartPakin params){ |
| | | // 组托 |
| | | try { |
| | | params.getCombParams().forEach(combParam -> { |
| | | agvMobileService.comb(combParam,getUserId()); |
| | | }); |
| | | params.setContainerType(Short.valueOf(params.getContainerCode().substring(0,2))); |
| | | workService.emptyPlateIn(params.getDevNo(),params.getContainerCode(),params.getContainerType(), getUserId(),false); |
| | | } catch (Exception e) { |
| | | return R.error("生成工作档成功"); |
| | | } |
| | | params.getCombParams().forEach(combParam -> { |
| | | agvMobileService.comb(combParam,getUserId()); |
| | | }); |
| | | params.setContainerType(Short.valueOf(params.getContainerCode().substring(0,2))); |
| | | workService.emptyPlateIn(params.getDevNo(),params.getContainerCode(),params.getContainerType(), getUserId(),false); |
| | | |
| | | return R.ok("生成工作档成功"); |
| | | } |