From 48e75f8b9bd83aea8e0c3ca252ceec6bbde9e060 Mon Sep 17 00:00:00 2001 From: Junjie <540245094@qq.com> Date: 星期四, 21 十二月 2023 20:33:06 +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