mitao
2025-02-21 31573d6180d15ef65ed0df9c2732495f40b12663
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
40
41
42
43
44
45
46
47
48
49
package com.panzhihua.service_community.dao;
 
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panzhihua.common.model.dtos.property.CommonPage;
import com.panzhihua.common.model.vos.community.ProvinceCityReturnVO;
import org.apache.ibatis.annotations.Mapper;
import com.panzhihua.service_community.entity.BcRegion;
import org.apache.ibatis.annotations.Param;
 
import java.util.List;
 
/**
 * 行政区划表(BcRegion)表数据库访问层
 * projectName 成都呐喊信息技术有限公司-智慧社区项目
 * description: 行政区划表相关功能
 *
 * @author zzj
 * @since 2022-04-20 14:26:13
 */
@Mapper
public interface BcRegionDao extends BaseMapper<BcRegion> {
 
    /**
     * 姓名查询
     * @param province
     * @param city
     * @param country
     * @return
     */
    String selectByName(@Param("province") String province,@Param("city") String city,@Param("county")String country,@Param("town")String town);
 
    /**
     * 通过名称查询社区编码
     * @param city
     * @param country
     * @param town
     * @param villagetr
     * @return
     */
    String selectCommunityCodeByName(@Param("city") String city,@Param("county")String country,@Param("town")String town,@Param("villagetr") String villagetr);
 
    List<ProvinceCityReturnVO> selectFirst();
 
    List<ProvinceCityReturnVO> selectSecond(String name);
 
    List<ProvinceCityReturnVO> selectThird(String name);
 
    List<ProvinceCityReturnVO> selectFourth(String name);
}