From 30332e7ecfa65f8c419271aeb79641d432c872d7 Mon Sep 17 00:00:00 2001 From: pang.jiabao <pang_jiabao@163.com> Date: 星期三, 18 十二月 2024 14:39:45 +0800 Subject: [PATCH] 库区规则表 --- src/main/java/com/zy/asrs/mapper/LocDetlMapper.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/LocDetlMapper.java b/src/main/java/com/zy/asrs/mapper/LocDetlMapper.java index 23c4762..62bb24d 100644 --- a/src/main/java/com/zy/asrs/mapper/LocDetlMapper.java +++ b/src/main/java/com/zy/asrs/mapper/LocDetlMapper.java @@ -2,6 +2,8 @@ import com.baomidou.mybatisplus.mapper.BaseMapper; import com.zy.asrs.entity.LocDetl; +import com.zy.asrs.entity.result.LocDetlAll; +import com.zy.asrs.entity.result.LocDetlDTO; import com.zy.asrs.entity.result.StockVo; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; @@ -16,6 +18,10 @@ @Mapper @Repository public interface LocDetlMapper extends BaseMapper<LocDetl> { + + List<LocDetlAll> selectAllOwner(LocDetlDTO locDetlDTO); + + int selectAllCount(LocDetlDTO locDetlDTO); List<LocDetl> listByPage(Map<String, Object> map); @@ -80,4 +86,18 @@ List<LocDetl> selectLocDetlUnilateralMoveShuttleY(@Param("matnr")String matnr,@Param("batch")String batch,@Param("grade")String grade); List<LocDetl> selectLocDetlUnilateralMoveShuttleN(@Param("matnr")String matnr,@Param("batch")String batch,@Param("grade")String grade); + /** + * 鏍规嵁搴撲綅鍙锋洿鏂板簱瀛樻槑缁嗕负鍐荤粨鐘舵�� + */ + void updateDetlFrozenByLocNo(@Param("locNo") String locNo); + + /** + * 鍐荤粨/瑙e喕搴撳瓨鏄庣粏 + * @param locNo 搴撲綅鍙� + * @param matnr 鐗╂枡缂栫爜 + * @param batch 鎵规 + * @param frozen 0瑙e喕锛�1鍐荤粨 + */ + void frozenInventory(@Param("locNo") String locNo, @Param("matnr") String matnr, @Param("batch") String batch, @Param("frozen") int frozen); + } -- Gitblit v1.9.1