package com.ruoyi.ibs.grid.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.ibs.grid.domain.entity.RegionArea;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface RegionAreaMapper extends BaseMapper<RegionArea> {

    @Select("select * from region_area where code not like '33%' and level < 4")
    List<RegionArea> selectRegionOutAreaList();
}
