From 179c4d64313c9b7572778da4aaaf6c6584fe457d Mon Sep 17 00:00:00 2001 From: mitao <2763622819@qq.com> Date: 星期二, 20 五月 2025 23:48:08 +0800 Subject: [PATCH] 修改文件上传类型限制 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/BcRegionDao.java | 28 ++++++++++++++++++++++++++-- 1 files changed, 26 insertions(+), 2 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/BcRegionDao.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/BcRegionDao.java index 8f60fe4..504286b 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/BcRegionDao.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/dao/BcRegionDao.java @@ -2,8 +2,12 @@ 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)表数据库访问层 @@ -18,8 +22,28 @@ /** * 姓名查询 - * @param name + * @param province + * @param city + * @param country * @return */ - String selectByName(String name); + 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); } -- Gitblit v1.7.1