package com.bonus.material.cnarea.mapper;

import org.apache.ibatis.annotations.MapKey;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface CnareaMapper {
    /**
     * 获取所有省份
     */
    @MapKey("value")
    List<Map<String, Object>> getProvinces();

    @MapKey("value")
    List<Map<String, Object>> getCities(String provinceCode);
}
