From c4e8e814d2c9e0d03f6449860b70e58657fd7dc2 Mon Sep 17 00:00:00 2001 From: pjb <123456> Date: 星期二, 31 十二月 2024 11:58:27 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/tzhneasrs' into tzhneasrs --- src/main/java/com/zy/asrs/mapper/PlaMapper.java | 5 +++-- 1 files changed, 3 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..9c5b708 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,8 +18,8 @@ @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); -- Gitblit v1.9.1