| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.ruoyi.framework.web.domain.R; |
| | | import com.ruoyi.production.dto.ProductWorkOrderDto; |
| | | import com.ruoyi.production.pojo.ProductWorkOrder; |
| | | import com.ruoyi.production.service.ProductWorkOrderService; |
| | | import com.ruoyi.quality.pojo.QualityInspect; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | @RestController |
| | | @AllArgsConstructor |
| | |
| | | } |
| | | |
| | | /** |
| | | * 生产工单流转卡显示内容 |
| | | * 工单流转卡下载 |
| | | * @param response |
| | | * @param productWorkOrder |
| | | */ |
| | | @ApiOperation("生产工单流转卡显示内容") |
| | | @GetMapping("/getProductWorkOrderFlowCard") |
| | | public R getProductWorkOrderFlowCard(Long id) { |
| | | return R.ok(productWorkOrderservice.getProductWorkOrderFlowCard(id)); |
| | | @PostMapping("/down") |
| | | public void down(HttpServletResponse response, @RequestBody ProductWorkOrder productWorkOrder) { |
| | | productWorkOrderservice.down(response, productWorkOrder); |
| | | } |
| | | |
| | | } |