xuhy
2023-08-11 3c1223bf3eb6df077b48637a7c93a93246a1a8ae
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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;
 
public interface PhoneMapper extends BaseMapper<Phone> {
 
 
    /**
     * 根据行政区域获取设置的电话
     * @param code
     * @return
     */
    List<Phone> queryPhones(@Param("province") String province, @Param("city") String city, @Param("code") String code);
 
 
    /**
     * 获取电话数据
     * @param type
     * @param platform
     * @param code
     * @return
     */
    Phone query(@Param("type") Integer type, @Param("platform") Integer platform,
                @Param("province") String province, @Param("city") String city,
                @Param("code") String code);
 
 
    /**
     * 获取电话
     * @param companyId
     * @param type
     * @return
     */
    Phone queryInfo(@Param("companyId") Integer companyId, @Param("type") Integer type);
}