From 0f478c31b5327ffe4bfdebd72fdf23a6df5d37e6 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 02 六月 2023 11:55:11 +0800 Subject: [PATCH] 随机获取可用且有空库位的堆垛机号,找新巷道时增加判断 --- src/main/java/com/zy/asrs/mapper/BasDevpMapper.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/BasDevpMapper.java b/src/main/java/com/zy/asrs/mapper/BasDevpMapper.java index 4d945f7..668d2ca 100644 --- a/src/main/java/com/zy/asrs/mapper/BasDevpMapper.java +++ b/src/main/java/com/zy/asrs/mapper/BasDevpMapper.java @@ -3,10 +3,16 @@ import com.baomidou.mybatisplus.mapper.BaseMapper; import com.zy.asrs.entity.BasDevp; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; + +import java.util.List; @Mapper @Repository public interface BasDevpMapper extends BaseMapper<BasDevp> { + List<Integer> getAvailableInSite(@Param("typeNo") Integer typeNo); + + List<Integer> getAvailableOutSite(@Param("typeNo") Integer typeNo); } -- Gitblit v1.9.1