From 1d9f79e7853d8d9b51c35817a5466db5a1a0b7e3 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 17 十二月 2025 09:55:43 +0800
Subject: [PATCH] 订单拆分生成系统编号逻辑调整3

---
 basic-server/src/main/java/com/ruoyi/basic/mapper/StandardTreeMapper.java |   37 +++++++++++++++++++++++++++----------
 1 files changed, 27 insertions(+), 10 deletions(-)

diff --git a/basic-server/src/main/java/com/ruoyi/basic/mapper/StandardTreeMapper.java b/basic-server/src/main/java/com/ruoyi/basic/mapper/StandardTreeMapper.java
index 4deb5df..a743522 100644
--- a/basic-server/src/main/java/com/ruoyi/basic/mapper/StandardTreeMapper.java
+++ b/basic-server/src/main/java/com/ruoyi/basic/mapper/StandardTreeMapper.java
@@ -6,12 +6,13 @@
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.ruoyi.basic.dto.*;
 import com.ruoyi.basic.pojo.IfsInventoryQuantity;
-import com.ruoyi.basic.pojo.StandardMethodList;
 import com.ruoyi.basic.pojo.StandardProductList;
 import com.ruoyi.basic.pojo.StandardTree;
+import com.ruoyi.basic.vo.IfsInventoryQuantityVO;
 import org.apache.ibatis.annotations.Param;
 
 import java.util.List;
+import java.util.Set;
 
 /**
  * @author Administrator
@@ -29,17 +30,12 @@
 
     List<StandardProductList> getStandardProductListBySample(String sampleType);
 
-    List<StandardMethodList> getStandardMethodListBySample(String sampleType);
+    List<StandardProductList> selectStandardProductListByTree(@Param("tree") String tree, @Param("sample") String sample, @Param("model") String model, @Param("trees") String trees, @Param("laboratory") String laboratory);
 
-    List<StandardProductList> selectStandardProductListByTree(String tree, String sample, String model, String trees, String laboratory);
-
-    List<StandardProductList> selectStandardProductListByTree2(String tree, String sample, String model, String trees, String laboratory);
+    List<StandardProductList> selectStandardProductListByTree2(@Param("tree") String tree, @Param("sample") String sample, @Param("model") String model, @Param("trees") String trees, @Param("laboratory") String laboratory);
 
 
     List<SampleTypeDto> getStandardTree2();
-
-    List<SampleDto> getStandardTree3(String sampleType);
-
 
     String getLaboratory(String str);
 
@@ -51,8 +47,8 @@
 
     List<FactoryDto> selectStandardTreeListByPartNo(@Param("partNo") String partNo);
 
-    IPage<IfsInventoryQuantity> selectIfsPage(IPage<IfsInventoryQuantity> page,
-                                              @Param("ew") QueryWrapper<IfsInventoryQuantity> ew);
+    IPage<IfsInventoryQuantityVO> selectIfsPage(IPage<IfsInventoryQuantity> page,
+                                                @Param("ew") QueryWrapper<IfsInventoryQuantity> ew);
 
     IPage<IfsInventoryQuantityDto> getIfsByStateOne(IPage<IfsInventoryQuantityDto> page,
                                                     @Param("ew") QueryWrapper<IfsInventoryQuantityDto> ew);
@@ -85,6 +81,27 @@
      */
     IPage<IfsInventoryQuantitySupplierDto> getIfsByQuarter(Page<IfsInventoryQuantitySupplierDto> page, @Param("ew") QueryWrapper<IfsInventoryQuantitySupplierDto> ew, @Param("beginDeclareDate") String beginDeclareDate, @Param("endDeclareDate")String endDeclareDate);
 
+    /**
+     * 鎵归噺鏌ヨ鏍�
+     * @param sampleTypeValues
+     * @return
+     */
+    List<SampleDto> getStandardTree3Batch(@Param("sampleTypeValues") Set<String> sampleTypeValues);
+
+    /**
+     * 鏌ヨ鏍�
+     * @param sampleType
+     * @return
+     */
+    List<SampleDto> getStandardTree3(@Param("sampleType") String sampleType);
+
+    /**
+     * 鏍规嵁鍘熸潗鏂檌d鍒楄〃鏌ヨ鍘熸潗鏂欎俊鎭�
+     * @param ifsIds
+     * @return
+     */
+    List<IfsInventoryQuantitySupplierDto> getIfsByIds(@Param("ifsIds") List<String> ifsIds);
+
 }
 
 

--
Gitblit v1.9.3