#
luxiaotao1123
2021-06-03 958b12cccc9e0043eb0c6b9bb84ebdf554ebe1a1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.zy.asrs.mapper;
 
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.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
 
import java.util.List;
 
@Mapper
@Repository
public interface BasDevpMapper extends BaseMapper<BasDevp> {
 
    @Select("select dev_no from asr_bas_devp where 1=1 and fronting = 'Y' order by dev_no")
    List<Integer> getAgvInArea();
 
    List<Integer> getAvailableInSite(@Param("typeNo") Integer typeNo);
 
    List<Integer> getAvailableOutSite(@Param("typeNo") Integer typeNo);
}