| | |
| | | import org.springframework.beans.factory.annotation.Value; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | |
| | | import javax.rmi.CORBA.Util; |
| | |
| | | return R.ok().add(result); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/disable/rgv/status") |
| | | // @ManagerAuth(memo = "作业信息") |
| | | public R rgvDisableStatus(@RequestParam Integer rgvId, |
| | | @RequestParam Integer status){ |
| | | BasCircularShuttle basCircularShuttle = basCircularShuttleService.selectOne(new EntityWrapper<BasCircularShuttle>().eq("rgv_id", rgvId)); |
| | | basCircularShuttle.setStatus(status); |
| | | basCircularShuttleService.updateById(basCircularShuttle); |
| | | return R.ok(); |
| | | } |
| | | |
| | | } |