liding
5 天以前 3b71cac369fb246ceafa59ffa3b775c2afc8add4
src/main/java/com/ruoyi/production/controller/ProductWorkOrderController.java
@@ -6,9 +6,7 @@
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
@@ -27,4 +25,13 @@
        return R.ok(productWorkOrderservice.listPage(page, productWorkOrder));
    }
    /**
     * 产品工单更新
     */
    @ApiOperation("产品工单更新")
    @PostMapping ("/updateProductWorkOrder")
    public R updateProductWorkOrder(@RequestBody ProductWorkOrderDto productWorkOrderDto) {
        return R.ok(productWorkOrderservice.updateProductWorkOrder(productWorkOrderDto));
    }
}