From f1b97dcec8e07a5c72d240114b3908b8df5b1e44 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期五, 13 十月 2023 10:25:12 +0800 Subject: [PATCH] Merge branch 'tzskasrs' of http://47.97.1.152:5880/r/zy-asrs into tzskasrs --- src/main/java/com/zy/asrs/mapper/AgvBasDevpMapper.java | 8 +++++++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/zy/asrs/mapper/AgvBasDevpMapper.java b/src/main/java/com/zy/asrs/mapper/AgvBasDevpMapper.java index 3609fa9..b5e060a 100644 --- a/src/main/java/com/zy/asrs/mapper/AgvBasDevpMapper.java +++ b/src/main/java/com/zy/asrs/mapper/AgvBasDevpMapper.java @@ -4,12 +4,18 @@ import com.zy.asrs.entity.AgvBasDevp; import org.apache.ibatis.annotations.Delete; import org.apache.ibatis.annotations.Mapper; +import org.apache.ibatis.annotations.Select; import org.springframework.stereotype.Repository; + +import java.util.List; @Mapper @Repository public interface AgvBasDevpMapper extends BaseMapper<AgvBasDevp> { @Delete("delete from agv_bas_devp") - public void deleteAll(); + void deleteAll(); + + @Select("select dev_no from agv_bas_devp where loc_sts = 'O'") + List<String> getAvailableEmptyInSite(); } -- Gitblit v1.9.1