package com.qianwen.smartman.modules.coproduction.controller; import com.github.xiaoymin.knife4j.annotations.ApiOperationSupport; import io.swagger.annotations.Api; import io.swagger.annotations.ApiOperation; import io.swagger.annotations.ApiParam; import java.util.List; import com.qianwen.core.boot.ctrl.BladeController; import com.qianwen.core.scanner.modular.annotation.GetResource; import com.qianwen.core.scanner.modular.stereotype.ApiResource; import com.qianwen.core.secure.annotation.PreAuth; import com.qianwen.core.tool.api.R; import com.qianwen.smartman.modules.coproduction.service.IOrderWorkstationService; import com.qianwen.smartman.modules.cps.vo.WorkstationSingleVO; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.RestController; @Api(value = "blade_order_workstation管理", tags = {"blade_order_workstation管理"}) @ApiResource({"blade-coproduction/order-workstation"}) @RestController /* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/coproduction/controller/OrderWorkstationController.class */ public class OrderWorkstationController extends BladeController { private final IOrderWorkstationService orderWorkstationService; public OrderWorkstationController(final IOrderWorkstationService orderWorkstationService) { this.orderWorkstationService = orderWorkstationService; } @ApiOperationSupport(order = 1) @GetResource({"/get-workstation-can-start"}) @ApiOperation(value = "获得可开工的工位)", notes = "获得可开工的工位") @PreAuth public R> getWorkstationCanStart(@RequestParam("orderProcessId") @ApiParam("工单工序ID") String orderProcessId) { return R.data(this.orderWorkstationService.getWorkstationCanStart(Long.valueOf(orderProcessId))); } }