package com.stylefeng.guns.modular.system.dao;
|
|
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
import com.stylefeng.guns.modular.system.model.Company;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
|
public interface CompanyMapper extends BaseMapper<Company> {
|
|
|
/**
|
* 根据行政区域代码获取企业
|
* @param code
|
* @return
|
*/
|
List<Company> query(@Param("province") String province, @Param("city") String city,
|
@Param("code") String code);
|
|
|
|
List<Company> queryList(@Param("city") String[] city, @Param("type") Integer type);
|
}
|