New file |
| | |
| | | package com.dy.pipIrrGlobal.daoBa; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.dy.pipIrrGlobal.pojoBa.AreaCode2023; |
| | | import com.dy.pipIrrGlobal.voBa.VoDistrict; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import org.apache.ibatis.annotations.Param; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author ZhuBaoMin |
| | | * @date 2024-08-30 16:09 |
| | | * @LastEditTime 2024-08-30 16:09 |
| | | * @Description |
| | | */ |
| | | @Mapper |
| | | public interface AreaCode2023Mapper extends BaseMapper<AreaCode2023> { |
| | | int deleteByPrimaryKey(Long code); |
| | | |
| | | int insert(AreaCode2023 record); |
| | | |
| | | int insertSelective(AreaCode2023 record); |
| | | |
| | | AreaCode2023 selectByPrimaryKey(Long code); |
| | | |
| | | int updateByPrimaryKeySelective(AreaCode2023 record); |
| | | |
| | | int updateByPrimaryKey(AreaCode2023 record); |
| | | |
| | | /** |
| | | * 根据区划代码查询指定级别行政区划 |
| | | * @param aredCode |
| | | * @param level |
| | | * @return |
| | | */ |
| | | List<VoDistrict> getDistrictS(@Param("aredCode") String aredCode, @Param("level") Integer level); |
| | | } |