| | |
| | | import com.vincent.rsf.framework.common.R; |
| | | import com.vincent.rsf.server.api.service.AgvService; |
| | | import com.vincent.rsf.server.manager.controller.params.WaitPakinParam; |
| | | import com.vincent.rsf.server.manager.entity.param.AgvBindAndInTParam; |
| | | import com.vincent.rsf.server.system.controller.BaseController; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | |
| | | if (Objects.isNull(waitPakinPda)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return agvService.AGVBindAndInTaskStart(waitPakinPda, getLoginUserId()); |
| | | return agvService.AGVInTaskStart(waitPakinPda, getLoginUserId()); |
| | | } |
| | | |
| | | @ApiOperation("AGV绑定&入库") |
| | |
| | | } |
| | | return agvService.AGVBindAndInTaskStart(waitPakinPda, getLoginUserId()); |
| | | } |
| | | |
| | | @ApiOperation("AGV绑定&入桶") |
| | | @PostMapping("/AGV/bindAndIn/start/T") |
| | | public R AGVBindAndInTaskStartT(@RequestBody AgvBindAndInTParam param) { |
| | | if (Objects.isNull(param)) { |
| | | return R.error("参数不能为空!!"); |
| | | } |
| | | return agvService.AGVBindAndInTaskStartT(param, getLoginUserId()); |
| | | } |
| | | } |