| | |
| | | } |
| | | |
| | | @PostMapping("/run/del")//Take Put Walk |
| | | @ManagerAuth(memo = "小车行走") |
| | | @ManagerAuth(memo = "清空任务") |
| | | public R rgvRunDel(@RequestParam(defaultValue = "0") Integer rgvNo |
| | | ) { |
| | | if (rgvNo==null || rgvNo==0){ |
| | |
| | | @PostMapping("/run/walk")//Take Put Walk |
| | | @ManagerAuth(memo = "小车行走") |
| | | public R rgvRunWalk(@RequestParam(defaultValue = "0") Integer rgvNo, |
| | | @RequestParam(defaultValue = "0") Integer taskNo, |
| | | @RequestParam(defaultValue = "9999") Integer taskNo, |
| | | @RequestParam(defaultValue = "0") Integer rgvStaNoPut, |
| | | @RequestParam(defaultValue = "0") Long rgvPosDestination |
| | | ) { |
| | | if (rgvNo==null || rgvNo==0){ |
| | | return R.error("请选择小车"); |
| | | } |
| | | if (taskNo==null || taskNo==0){ |
| | | return R.error("作业号请填写"); |
| | | } |
| | | if ((rgvStaNoPut == null || rgvStaNoPut == 0) && (rgvPosDestination==null || rgvPosDestination==0L)){ |
| | | return R.error("目标站点请填写"); |
| | |
| | | @PostMapping("/run/put")//Take Put Walk |
| | | @ManagerAuth(memo = "小车放货") |
| | | public R rgvPutWalk(@RequestParam(defaultValue = "0") Integer rgvNo, |
| | | @RequestParam(defaultValue = "0") Integer taskNo, |
| | | @RequestParam(defaultValue = "9999") Integer taskNo, |
| | | @RequestParam(defaultValue = "0") Integer rgvStaNoPut, |
| | | @RequestParam(defaultValue = "0") Long rgvPosDestination |
| | | ) { |
| | | if (rgvNo==null || rgvNo==0){ |
| | | return R.error("请选择小车"); |
| | | } |
| | | if (taskNo==null || taskNo==0){ |
| | | return R.error("作业号请填写"); |
| | | } |
| | | if (rgvStaNoPut == null || rgvStaNoPut == 0){ |
| | | return R.error("目标站点请填写"); |
| | |
| | | @PostMapping("/run/take")//Take Put Walk |
| | | @ManagerAuth(memo = "小车取货") |
| | | public R rgvTakeWalk(@RequestParam(defaultValue = "0") Integer rgvNo, |
| | | @RequestParam(defaultValue = "0") Integer taskNo, |
| | | @RequestParam(defaultValue = "9999") Integer taskNo, |
| | | @RequestParam(defaultValue = "0") Integer rgvStaNoTake, |
| | | @RequestParam(defaultValue = "0") Long rgvPosDestination |
| | | ) { |
| | | if (rgvNo==null || rgvNo==0){ |
| | | return R.error("请选择小车"); |
| | | } |
| | | if (taskNo==null || taskNo==0){ |
| | | return R.error("作业号请填写"); |
| | | } |
| | | if (rgvStaNoTake == null || rgvStaNoTake == 0){ |
| | | return R.error("取货站点请填写"); |
| | |
| | | @PostMapping("/run/TakeAndPut")//Take Put Walk |
| | | @ManagerAuth(memo = "小车取货") |
| | | public R rgvTakeAndPut(@RequestParam(defaultValue = "0") Integer rgvNo, |
| | | @RequestParam(defaultValue = "0") Integer taskNo, |
| | | @RequestParam(defaultValue = "9999") Integer taskNo, |
| | | @RequestParam(defaultValue = "0") Integer rgvStaNoTake, |
| | | @RequestParam(defaultValue = "0") Integer rgvStaNoPut, |
| | | @RequestParam(defaultValue = "0") Long rgvPosDestination |
| | | ) { |
| | | if (rgvNo==null || rgvNo==0){ |
| | | return R.error("请选择小车"); |
| | | } |
| | | if (taskNo==null || taskNo==0){ |
| | | return R.error("作业号请填写"); |
| | | } |
| | | if (rgvStaNoTake == null || rgvStaNoTake == 0){ |
| | | return R.error("取货站点请填写"); |