From 2b0c4c474899484b7adb62712ee6361817f02f48 Mon Sep 17 00:00:00 2001 From: Junjie <fallin.jie@qq.com> Date: 星期五, 15 九月 2023 14:52:58 +0800 Subject: [PATCH] #地图编辑器 --- 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