| | |
| | | return mobileService.collectionPakin(params, getUserId()); |
| | | } |
| | | |
| | | /** |
| | | * 呼叫空板 |
| | | * @author Ryan |
| | | * @date 2026/4/1 16:24 |
| | | * @param params |
| | | * @return com.core.common.R |
| | | */ |
| | | @PostMapping("/agv/callEmptyCar") |
| | | @ManagerAuth |
| | | public R pdaAgvFinishedCall(@RequestBody AgvCallParams params) { |
| | | if (Objects.isNull(params)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | if (Objects.isNull(params.getOrgSite())) { |
| | | return R.error("起始库区不能为空!!"); |
| | | } |
| | | if (Objects.isNull(params.getTarSite())) { |
| | | return R.error("目标站点不能为空!!"); |
| | | } |
| | | return mobileService.callEmptyCar(params, getUserId()); |
| | | } |
| | | |
| | |
| | | return mobileService.getCacheLocs(); |
| | | } |
| | | |
| | | |
| | | @ManagerAuth |
| | | @GetMapping("/cache/sites/{type}") |
| | | @ApiOperation("获取缓存区入出库站点信息") |
| | | public R getCacheSites(@PathVariable String type) { |
| | | return mobileService.getCacheSites(type); |
| | | |
| | | } |
| | | |
| | | @PostMapping("/cache/agv/call") |
| | | @ApiOperation("缓冲区入库") |
| | | @ManagerAuth |
| | |
| | | return mobileService.callAgvMove(params, getUserId()); |
| | | } |
| | | |
| | | /** |
| | | * SO/EO入库 |
| | | * @author Ryan |
| | | * @date 2026/4/3 14:53 |
| | | * @param params |
| | | * @return com.core.common.R |
| | | */ |
| | | @PostMapping("/collection/agv/call") |
| | | @ApiOperation("集货区入库") |
| | | @ApiOperation("SO/EO入库") |
| | | @ManagerAuth |
| | | public R CollectionInCall(@RequestBody AgvCallParams params) { |
| | | if (Objects.isNull(params)) { |
| | |
| | | } |
| | | |
| | | /** |
| | | * 空板出库 |
| | | * @param params |
| | | * @return |
| | | */ |
| | | @RequestMapping("/empty/call/out") |
| | | public R getEmptyOut(@RequestBody AgvCallParams params) { |
| | | if (Objects.isNull(params)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.getEmptyOutStock(params); |
| | | } |
| | | |
| | | /** |
| | | * |
| | | * 获取捆包出库明细 |
| | | * @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); |
| | | } |
| | | |
| | | @ManagerAuth(memo = "获取台所有明细") |
| | | @RequestMapping("/agv/tc/all") |
| | | public R getTCAllMatnrs(@RequestBody AgvCallParams params) { |
| | | if (Objects.isNull(params) || Cools.isEmpty(params.getCarBarcode())) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.getTcAllInfos(params); |
| | | } |
| | | |
| | | @ManagerAuth(memo = "确认台车出库") |
| | | @RequestMapping("/confirm/all/out") |
| | | public R confirmAllOut(@RequestBody AgvCallParams params) { |
| | | if (Objects.isNull(params) || Objects.isNull(params.getCarBarcode())) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.outStockByTc(params); |
| | | } |
| | | |
| | | @ManagerAuth(memo = "获取站点解绑信息") |
| | | @RequestMapping("/site/unbind") |
| | | public R getStationInfos(@RequestBody AgvCallParams params) { |
| | | if (Objects.isNull(params) || Objects.isNull(params.getCarBarcode())) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.getStationInfos(params); |
| | | } |
| | | |
| | | @ManagerAuth(memo = "站点物料解绑") |
| | | @RequestMapping("/unbind/site/matnr") |
| | | public R unbindMatnr(@RequestBody CombParam params) { |
| | | if (Objects.isNull(params)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.unbindMatnr(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返回 |
| | |
| | | } |
| | | |
| | | |
| | | |
| | | |
| | | @ManagerAuth(memo = "缓冲库确认上架(模拟物理按钮)") |
| | | @RequestMapping("/cache/comb/pub") |
| | | public R cacheCombPub(@RequestBody CompleteParam combParam) { |