From 0e4fe8caa5acfb00253e10c1368257eab5f41fee Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期四, 07 十二月 2023 08:17:25 +0800
Subject: [PATCH] #修复下拉菜单bug

---
 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