From 00fa379b015ccabf6bd9823d0a10221f9a40734d Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期三, 30 十月 2024 15:46:45 +0800 Subject: [PATCH] 接收单据判断参数是否为空 --- src/main/java/com/zy/asrs/mapper/MatMapper.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/MatMapper.java b/src/main/java/com/zy/asrs/mapper/MatMapper.java index d20c5fe..bf12ef8 100644 --- a/src/main/java/com/zy/asrs/mapper/MatMapper.java +++ b/src/main/java/com/zy/asrs/mapper/MatMapper.java @@ -4,10 +4,12 @@ import com.baomidou.mybatisplus.plugins.Page; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; +import org.apache.ibatis.annotations.Update; import org.springframework.stereotype.Repository; import com.zy.asrs.entity.Mat; import java.util.List; +import java.util.Map; @Mapper @Repository @@ -18,4 +20,13 @@ Mat selectByMatnr(@Param("matnr")String matnr); + List<Mat> selectByMatnrLink(@Param("matnr")String matnr); + + List<Mat> getMatTurnPage(Map<String, Object> map); + + Integer getStockOutPageCount(Map<String, Object> map); + + @Update("update man_mat set origin= #{boxPos},barcode=#{barcode} where brand= #{packageGroupNo}") + Integer updateBoxPos(@Param("packageGroupNo") String packageGroupNo, @Param("boxPos") String boxPos,@Param("barcode") String barcode); + } -- Gitblit v1.9.1