From 7ea8883ca6b47ec014a32ed57c3bea64544e893e Mon Sep 17 00:00:00 2001
From: gongchunyi <deslre0381@gmail.com>
Date: 星期四, 19 三月 2026 17:09:34 +0800
Subject: [PATCH] feat: 生产订单绑定工艺路线、BOM、工艺路线、工序参数新增修改

---
 src/main/java/com/ruoyi/appendix/controller/AppendixController.java |   20 ++++++++++++++++++--
 1 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/ruoyi/appendix/controller/AppendixController.java b/src/main/java/com/ruoyi/appendix/controller/AppendixController.java
index af62eef..e4d4d2f 100644
--- a/src/main/java/com/ruoyi/appendix/controller/AppendixController.java
+++ b/src/main/java/com/ruoyi/appendix/controller/AppendixController.java
@@ -1,8 +1,13 @@
 package com.ruoyi.appendix.controller;
 
+import com.ruoyi.appendix.service.AppendixService;
+import com.ruoyi.framework.web.domain.AjaxResult;
+import com.ruoyi.production.pojo.ProductOrder;
 import io.swagger.annotations.Api;
-import org.springframework.web.bind.annotation.RequestMapping;
-import org.springframework.web.bind.annotation.RestController;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.web.bind.annotation.*;
+
+import javax.annotation.Resource;
 
 /**
  * <br>
@@ -17,4 +22,15 @@
 @RequestMapping("/appendix")
 @Api("BOM-宸ヨ壓璺嚎闄勮〃鎺у埗灞�")
 public class AppendixController {
+
+    @Resource
+    private AppendixService appendixService;
+
+    @PostMapping("/bindingRoute")
+    @ApiOperation("鐢熶骇璁㈠崟缁戝畾宸ヨ壓璺嚎")
+    public AjaxResult bindingRoute(@RequestBody ProductOrder productOrder) {
+        appendixService.populateData(productOrder);
+        return AjaxResult.success();
+    }
+
 }

--
Gitblit v1.9.3