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
|
*/
|
Company query(@Param("cityIds") List<Integer> cityIds);
|
|
|
List<Company> queryList(@Param("city") String[] city, @Param("type") Integer type);
|
|
|
List<Company> queryList1(@Param("collect") List<Integer> collect, @Param("type") Integer type);
|
}
|