package com.ruoyi.tms.service; import java.util.List; import com.ruoyi.tms.domain.TmsRegion; import com.baomidou.mybatisplus.extension.service.IService; import com.ruoyi.tms.domain.vo.RegionVo; /** * 行政区域Service接口 * * @author ruoyi * @date 2025-11-03 */ public interface ITmsRegionService extends IService { /** * 查询行政区域 * * @param id 行政区域ID * @return 行政区域 */ public TmsRegion selectTmsRegionById(Integer id); /** * 查询行政区域 记录数 * * @param tmsRegion 行政区域 * @return 行政区域集合 */ public int selectTmsRegionCount(TmsRegion tmsRegion); /** * 查询行政区域列表 * * @param tmsRegion 行政区域 * @return 行政区域集合 */ public List selectTmsRegionList(TmsRegion tmsRegion); public List selectRegionVoList(String parentRegionCode); /** * 查询行政区域列表 异步 导出 * * @param tmsRegion 行政区域 * @param exportKey 导出功能的唯一标识 * @return 行政区域集合 */ public void export(TmsRegion tmsRegion, String exportKey) ; /** * 新增行政区域 * * @param tmsRegion 行政区域 * @return 结果 */ public int insertTmsRegion(TmsRegion tmsRegion); /** * 新增行政区域[批量] * * @param tmsRegions 行政区域 * @return 结果 */ public int insertTmsRegionBatch(List tmsRegions); /** * 修改行政区域 * * @param tmsRegion 行政区域 * @return 结果 */ public int updateTmsRegion(TmsRegion tmsRegion); /** * 修改行政区域[批量] * * @param tmsRegions 行政区域 * @return 结果 */ public int updateTmsRegionBatch(List tmsRegions); /** * 批量删除行政区域 * * @param ids 需要删除的数据ID * @return 结果 */ public int deleteTmsRegionByIds(String ids); /** * 批量删除行政区域 * * @param ids 需要删除的数据ID * @return 结果 */ public int deleteTmsRegionByIds(Integer[] ids); /** * 删除行政区域信息 * * @param id 行政区域ID * @return 结果 */ public int deleteTmsRegionById(Integer id); }