From 7b2233d1dab53574facc66b3bebffcd8ca5919de Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期六, 21 三月 2026 14:27:19 +0800
Subject: [PATCH] yys 1.已退货完毕的出库单号不要展示在关联出库单中 2.退货管理唯一处理 3.生产订单-库存数量回显 4.发货管理回显退货数量 5.发货增加详情接口 6.生产核算清理脏数据 7.生产报工-删除生产报工记录报错 8.筛选客户名称数据展示有误

---
 src/main/java/com/ruoyi/stock/controller/StockInRecordController.java |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/src/main/java/com/ruoyi/stock/controller/StockInRecordController.java b/src/main/java/com/ruoyi/stock/controller/StockInRecordController.java
index 0c6fa02..b12fc67 100644
--- a/src/main/java/com/ruoyi/stock/controller/StockInRecordController.java
+++ b/src/main/java/com/ruoyi/stock/controller/StockInRecordController.java
@@ -13,16 +13,17 @@
 import org.springframework.util.CollectionUtils;
 import org.springframework.web.bind.annotation.*;
 
+import javax.servlet.http.HttpServletResponse;
 import java.util.List;
 
 @RestController
-@Api(tags = "閲囪喘鍏ュ簱")
+@Api(tags = "鍏ュ簱")
 @RequestMapping("/stockInRecord")
 public class StockInRecordController {
     @Autowired
     private StockInRecordService stockInRecordService;
 
-    @GetMapping("/listPageByProduction")
+    @GetMapping("/listPage")
     @Log(title = "鐢熶骇鍏ュ簱-鍏ュ簱绠$悊-鍒楄〃", businessType = BusinessType.OTHER)
     @ApiOperation(value = "鍏ュ簱绠$悊鍒楄〃")
     public AjaxResult listPage(Page page, StockInRecordDto stockInRecordDto) {
@@ -30,17 +31,7 @@
         return AjaxResult.success(result);
     }
 
-    @PostMapping("")
-    @Log(title = "鍏ュ簱绠$悊-鏂板鍏ュ簱", businessType = BusinessType.INSERT)
-    public AjaxResult add(@RequestBody StockInRecordDto stockInRecordDto) {
-        return AjaxResult.success(stockInRecordService.add(stockInRecordDto));
-    }
 
-    @PutMapping("/{id}")
-    @Log(title = "鍏ュ簱绠$悊-鏇存柊鍏ュ簱", businessType = BusinessType.UPDATE)
-    public AjaxResult update(@PathVariable("id") Long id, @RequestBody StockInRecordDto stockInRecordDto) {
-        return AjaxResult.success(stockInRecordService.update(id, stockInRecordDto));
-    }
 
     @DeleteMapping("")
     @Log(title = "鍏ュ簱绠$悊-鍒犻櫎鍏ュ簱", businessType = BusinessType.DELETE)
@@ -51,4 +42,10 @@
         return AjaxResult.success(stockInRecordService.batchDelete(ids));
     }
 
+    @PostMapping("/exportStockInRecord")
+    @ApiOperation("瀵煎嚭鍏ュ簱璁板綍")
+    public void exportStockInRecord(HttpServletResponse response, StockInRecordDto stockInRecordDto) {
+        stockInRecordService.exportStockInRecord(response,stockInRecordDto);
+    }
+
 }

--
Gitblit v1.9.3