package cn.com.ty.lift.quan.news.dao.mapper;

import cn.com.ty.lift.quan.news.dao.entity.QuanNews;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 * 电梯圈新闻公告 Mapper 接口
 * </p>
 *
 * @author wang-hai-cheng
 * @since 2019-12-02
 */
public interface QuanNewsMapper extends BaseMapper<QuanNews> {
    @Select("select name from area_code where level = 2")
    List<String> areas();
}