From 513ae49dd33d2e3fb9c4513ea3be2e501c4a80f2 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期一, 10 二月 2025 08:48:37 +0800 Subject: [PATCH] 库存明细行内容超出隐藏,默认显示500条数据 --- src/main/java/com/zy/asrs/mapper/PlaMapper.java | 11 +++++++++-- 1 files changed, 9 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..7c03a65 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,16 @@ @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); Integer getStockStatisCountAll(Map<String, Object> map); + /** + * 鑷姩瑙e喕鍐荤粨鏃堕棿瓒呰繃90澶╃殑搴撳瓨 + * @return 鏇存柊鏁伴噺 + */ + int autoThaw(); + } -- Gitblit v1.9.1