From ca42a5047cb15ae63035f15a971a8e1ec858851f Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期三, 20 十二月 2023 16:24:04 +0800 Subject: [PATCH] # --- src/main/java/com/zy/asrs/mapper/AgvLocDetlMapper.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/AgvLocDetlMapper.java b/src/main/java/com/zy/asrs/mapper/AgvLocDetlMapper.java index 21a8dbc..defa219 100644 --- a/src/main/java/com/zy/asrs/mapper/AgvLocDetlMapper.java +++ b/src/main/java/com/zy/asrs/mapper/AgvLocDetlMapper.java @@ -34,4 +34,15 @@ " group by a.matnr") List<AgvLocDetl> getStockStatisExcel(); + @Select("SELECT SUM(anfme) FROM agv_loc_detl WHERE loc_no = #{locNo}") + Double sumByLocNo(@Param("locNo")String locNo); + + @Select("SELECT SUM(anfme) FROM agv_loc_detl WHERE matnr = #{matnr}") + Double sumByMatnr(@Param("matnr")String matnr); + + int updateAnfme(@Param("locNo")String locNo, @Param("anfme")Double anfme, @Param("matnr")String matnr, @Param("batch")String batch, @Param("csocode")String csocode, @Param("isocode")String isocode); + + int deleteLocDetl(@Param("locNo")String locNo, @Param("anfme")Double anfme, @Param("matnr")String matnr, @Param("batch")String batch, @Param("csocode")String csocode, @Param("isocode")String isocode); + + AgvLocDetl selectLocdetl(@Param("locNo")String locNo, @Param("matnr")String matnr, @Param("batch")String batch, @Param("csocode")String csocode, @Param("isocode")String isocode); } -- Gitblit v1.9.1