| | |
| | | import com.zy.asrs.utils.OrderInAndOutUtil; |
| | | import com.zy.common.model.WrkDto; |
| | | import com.zy.common.web.BaseController; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | |
| | | } |
| | | |
| | | |
| | | @GetMapping("/cache/locs") |
| | | @ManagerAuth |
| | | @ApiOperation("获取缓存区库位信息") |
| | | public R getCacheLocs() { |
| | | return mobileService.getCacheLocs(); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/cache/agv/call") |
| | | @ApiOperation("呼叫AGV搬运") |
| | | @ManagerAuth |
| | | public R callAgvMove(@RequestBody AgvCallParams params) { |
| | | if (Objects.isNull(params)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return mobileService.callAgvMove(params, getUserId()); |
| | | } |
| | | |
| | | |
| | | |
| | | // 组托 ---------------------------------------------------------------------------------------------------- |
| | | |