package com.stylefeng.guns.modular.system.dao;
|
|
import com.baomidou.mybatisplus.mapper.BaseMapper;
|
import com.stylefeng.guns.modular.system.model.Phone;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.List;
|
import java.util.Map;
|
|
public interface PhoneMapper extends BaseMapper<Phone> {
|
|
|
/**
|
* 根据行政区域获取设置的电话
|
* @return
|
*/
|
List<Phone> queryPhones(@Param("companyIds") List<Integer> companyIds);
|
|
|
/**
|
* 获取电话数据
|
* @param type
|
* @param platform
|
* @return
|
*/
|
Phone query(@Param("type") Integer type, @Param("platform") Integer platform,
|
@Param("companyId") Integer companyId);
|
}
|