| package com.stylefeng.guns.modular.system.dao; | 
|   | 
| import com.baomidou.mybatisplus.mapper.BaseMapper; | 
| import com.stylefeng.guns.modular.system.model.OpenCityBusiness; | 
| import org.apache.ibatis.annotations.Param; | 
|   | 
| import java.util.List; | 
|   | 
| public interface OpenCityBusinessMapper extends BaseMapper<OpenCityBusiness> { | 
|   | 
|   | 
|     /** | 
|      * 获取业务类型 | 
|      * @param province  省名称 | 
|      * @param city      市名称 | 
|      * @param district  区县名称 | 
|      * @return | 
|      */ | 
|     List<OpenCityBusiness> queryBusiness(@Param("province") String province, @Param("city") String city, | 
|                                          @Param("district") String district); | 
|   | 
|   | 
|     /** | 
|      * 根据开通城市id获取业务类型 | 
|      * @param id | 
|      * @return | 
|      */ | 
|     List<OpenCityBusiness> queryBusinessById(@Param("id") Integer id); | 
| } |