| | |
| | | import com.ruoyi.production.service.ProductWorkOrderService; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.AllArgsConstructor; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | @RestController |
| | | @AllArgsConstructor |
| | |
| | | return R.ok(productWorkOrderservice.listPage(page, productWorkOrder)); |
| | | } |
| | | |
| | | /** |
| | | * 产品工单更新 |
| | | */ |
| | | @ApiOperation("产品工单更新") |
| | | @PostMapping ("/updateProductWorkOrder") |
| | | public R updateProductWorkOrder(@RequestBody ProductWorkOrderDto productWorkOrderDto) { |
| | | return R.ok(productWorkOrderservice.updateProductWorkOrder(productWorkOrderDto)); |
| | | } |
| | | |
| | | } |