From 70d2a5d0f9c6951b2d4cac954041ed73582ff7eb Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期一, 09 六月 2025 11:54:00 +0800 Subject: [PATCH] 6.9新增登录失败冻结逻辑 --- 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