package com.sptg.permissions.biz.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.sptg.permissions.api.entity.Area;
import com.sptg.permissions.api.entity.Street;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created By lidexi in 2020/12/23
 **/
public interface StreetMapper extends BaseMapper<Street> {

    /**
     * 根据区行政编码查询街道列表
     * @param areaCode 区行政编码
     * @return 街道列表
     */
    List<Street> selectStreetByAreaCode(@Param(value = "areaCode")String areaCode);
}
