| | |
| | | return inBoundService.generateTasks(param, getLoginUserId()); |
| | | } |
| | | |
| | | @PostMapping("/check/agvStation") |
| | | @ApiOperation("检查单据组托 agv站点") |
| | | public R checkAgvStation(@RequestBody PdaGeneralParam param) { |
| | | return inBoundService.checkAgvStation(param, getLoginUserId()); |
| | | } |
| | | |
| | | } |
| | |
| | | |
| | | R generateTasks(PdaGeneralParam param, Long loginUserId); |
| | | |
| | | R checkAgvStation(PdaGeneralParam param, Long loginUserId); |
| | | } |
| | |
| | | return R.ok("任务生成完毕!"); |
| | | } |
| | | |
| | | @Override |
| | | public R checkAgvStation(PdaGeneralParam param, Long loginUserId) { |
| | | if (Cools.isEmpty(param.getTransferStationNo())) { |
| | | return R.error("无参数"); |
| | | } |
| | | BasStation basStation = basStationService.getOne(new LambdaQueryWrapper<BasStation>().eq(BasStation::getStationId, param.getTransferStationNo())); |
| | | if (Cools.isEmpty(basStation)) { |
| | | return R.error("未找到匹配站点"); |
| | | } |
| | | return R.ok(basStation); |
| | | } |
| | | |
| | | } |