package com.ard.data.region.service; import com.ard.data.region.domain.ArdDeptRegion; import com.ard.data.region.domain.ConflictCheckResult; import java.util.List; /** * 部门区域Service接口 * * @author ruoyi */ public interface IArdDeptRegionService { /** * 查询部门区域 */ public ArdDeptRegion selectArdDeptRegionById(Long id); /** * 查询部门区域列表 */ public List selectArdDeptRegionList(ArdDeptRegion ardDeptRegion); /** * 新增部门区域 */ public int insertArdDeptRegion(ArdDeptRegion ardDeptRegion); /** * 修改部门区域 */ public int updateArdDeptRegion(ArdDeptRegion ardDeptRegion); /** * 修改状态(启用/禁用) */ public int updateStatus(Long id, String status); /** * 批量删除部门区域 */ public int deleteArdDeptRegionByIds(String[] ids); /** * 删除部门区域信息 */ public int deleteArdDeptRegionById(Long id); /** * 校验区域名称是否唯一 */ public boolean checkRegionNameUnique(ArdDeptRegion ardDeptRegion); /** * 检查区域冲突 */ public ConflictCheckResult checkConflict(ArdDeptRegion ardDeptRegion); /** * 根据坐标查询所属区域 */ public ArdDeptRegion selectRegionByPoint(Double lat, Double lng); }