From c832c7f5d6f8c015d609e044e902e070da5240b0 Mon Sep 17 00:00:00 2001 From: zyx <zyx123456> Date: 星期日, 24 九月 2023 14:22:57 +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