From 224a67e1df2bd27b651cbcf385ec58bbd6dcdf24 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期五, 26 四月 2024 10:31:29 +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 958ec68..acfd6af 100644 --- a/src/main/java/com/zy/asrs/mapper/AgvLocDetlMapper.java +++ b/src/main/java/com/zy/asrs/mapper/AgvLocDetlMapper.java @@ -22,6 +22,9 @@ Integer getStockStatisCount(Map<String, Object> map); + @Select("select sum(a.anfme) as sum from agv_loc_detl a left join agv_loc_mast b on a.loc_no = b.loc_no where b.loc_sts = 'F' and a.matnr = #{matnr} AND a.three_code = #{threeCode}") + Double selectSumAnfmeByMatnr(@Param("matnr") String matnr,@Param("threeCode") String threeCode); + @Select("SELECT SUM(anfme) FROM agv_loc_detl") Integer sum(); -- Gitblit v1.9.1