| | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dsh.other.entity.Store; |
| | | import com.dsh.other.model.BaseVo; |
| | | import com.dsh.other.model.ProvinceAndCityVo; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | |
| | | /** |
| | |
| | | */ |
| | | public interface StoreMapper extends BaseMapper<Store> { |
| | | |
| | | |
| | | /** |
| | | * 获取省数据 |
| | | * @return |
| | | */ |
| | | List<ProvinceAndCityVo> queryProvince(); |
| | | |
| | | |
| | | /** |
| | | * 获取市数据 |
| | | * @param pcode |
| | | * @return |
| | | */ |
| | | List<ProvinceAndCityVo> queryCity(@Param("pcode") String pcode); |
| | | |
| | | |
| | | /** |
| | | * 根据城市code获取城市列表 |
| | | * @param cityCode |
| | | * @return |
| | | */ |
| | | List<BaseVo> queryStoreByCityCode(@Param("cityCode") String cityCode); |
| | | |
| | | } |