| | |
| | | @PostMapping("/agv/collectionPakin/view") |
| | | @ManagerAuth |
| | | public R pdaAgvCollectionPakinView(@RequestBody CollectionPakinParams params) { |
| | | if (Objects.isNull(params.getOrgBarcode())) { |
| | | return R.error("源托盘不能为空!"); |
| | | } |
| | | if (Objects.isNull(params.getMatnr())) { |
| | | return R.error("物料编码不能为空!!"); |
| | | } |
| | | |
| | | return mobileService.collectionPakinView(params); |
| | | } |
| | | |
| | |
| | | @ApiOperation("获取缓存区库位信息") |
| | | public R getCacheLocs() { |
| | | return mobileService.getCacheLocs(); |
| | | } |
| | | |
| | | |
| | | @ManagerAuth |
| | | @GetMapping("/cache/sites/{type}") |
| | | @ApiOperation("获取缓存区入出库站点信息") |
| | | public R getCacheSites(@PathVariable String type) { |
| | | return mobileService.getCacheSites(type); |
| | | |
| | | } |
| | | |
| | | @PostMapping("/cache/agv/call") |
| | |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * 获取捆包出库明细 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | @ManagerAuth(memo = "获取捆包明细信息") |
| | | @RequestMapping("/agv/bind/info") |
| | | public R getAllBind(@RequestBody AgvCallParams params) { |
| | | if (Objects.isNull(params)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.getAllBindInfo(params); |
| | | } |
| | | |
| | | @ApiOperation("确认捆包出库") |
| | | @ManagerAuth(memo = "确认捆包出库") |
| | | @RequestMapping("/agv/out/confirm") |
| | | public R confirmOutStock(@RequestBody CombParam combParam) { |
| | | if (Objects.isNull(combParam)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | |
| | | return mobileService.confirmOutstock(combParam); |
| | | } |
| | | |
| | | /** |
| | | * @author Ryan |
| | | * @date 2025/9/24 |
| | | * @description: 呼叫AGV返回 |
| | |
| | | if (Objects.isNull(callAgvBackParam.getOrgSite())) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | |
| | | return mobileService.agvCallback(callAgvBackParam, getUserId()); |
| | | } |
| | | |
| | |
| | | if (Objects.isNull(combParam)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | mobileService.combInPub(combParam, 10031L); |
| | | return R.ok("上架成功"); |
| | | return mobileService.combInPub(combParam, 10031L); |
| | | } |
| | | |
| | | @RequestMapping("/pack/get/auth") |