From 1a77bac582e942b91c03567772039a40fe63c78a Mon Sep 17 00:00:00 2001
From: pang.jiabao <pang_jiabao@163.com>
Date: 星期一, 17 二月 2025 13:56:42 +0800
Subject: [PATCH] 增加退货搜索框

---
 src/main/java/com/zy/asrs/mapper/PlaMapper.java |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/main/java/com/zy/asrs/mapper/PlaMapper.java b/src/main/java/com/zy/asrs/mapper/PlaMapper.java
index eb64e27..f6c4c13 100644
--- a/src/main/java/com/zy/asrs/mapper/PlaMapper.java
+++ b/src/main/java/com/zy/asrs/mapper/PlaMapper.java
@@ -7,6 +7,7 @@
 import org.apache.ibatis.annotations.Select;
 import org.springframework.stereotype.Repository;
 
+import java.util.Date;
 import java.util.List;
 import java.util.Map;
 
@@ -17,10 +18,17 @@
     @Select("select brand, matnr,workshop, sum(weight_anfme) as weight from asr_pla_detl where brand = #{brand} GROUP BY brand,matnr,workshop ORDER BY matnr,workshop")
     List<Pla> getStockStatisAllByBrand(@Param("brand") String brand);
 
-    @Select("select brand, matnr,workshop , sum(weight_anfme) as weight from asr_pla_detl GROUP BY brand,matnr,workshop ORDER BY matnr,workshop desc")
-    List<Pla> getStockStatisAll();
+//    @Select("select brand, matnr,workshop , sum(weight_anfme) as weight from asr_pla_detl GROUP BY brand,matnr,workshop ORDER BY matnr,workshop desc")
+    List<Pla> getStockStatisAll(@Param("brand") String brand,@Param("status") String status,@Param("stime") Date stime, @Param("etime") Date etime,
+                                @Param("type") String type,@Param("workshop") String workshop,@Param("transfer") String transfer);
 
 
     Integer getStockStatisCountAll(Map<String, Object> map);
 
+    /**
+     * 鑷姩瑙e喕鍐荤粨鏃堕棿瓒呰繃90澶╃殑搴撳瓨
+     * @return 鏇存柊鏁伴噺
+     */
+    int autoThaw();
+
 }

--
Gitblit v1.9.1