From 14aa762dbbdee1ff327e6436cd38bab41d7afb59 Mon Sep 17 00:00:00 2001
From: Junjie <540245094@qq.com>
Date: 星期六, 23 十二月 2023 19:56:44 +0800
Subject: [PATCH] #增加日志

---
 src/main/java/com/zy/asrs/mapper/AgvLocDetlMapper.java |    3 +++
 1 files changed, 3 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 7523098..defa219 100644
--- a/src/main/java/com/zy/asrs/mapper/AgvLocDetlMapper.java
+++ b/src/main/java/com/zy/asrs/mapper/AgvLocDetlMapper.java
@@ -37,6 +37,9 @@
     @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);

--
Gitblit v1.9.1