package com.jsowell.pile.mapper; import java.util.List; import com.jsowell.pile.domain.AreaCodeInfo; import org.springframework.stereotype.Repository; /** * 中国行政地区Mapper接口 * * @author jsowell * @date 2024-12-20 */ @Repository public interface AreaCodeInfoMapper { /** * 查询中国行政地区 * * @param id 中国行政地区主键 * @return 中国行政地区 */ public AreaCodeInfo selectAreaCodeInfoById(Integer id); /** * 查询中国行政地区列表 * * @param areaCodeInfo 中国行政地区 * @return 中国行政地区集合 */ public List selectAreaCodeInfoList(AreaCodeInfo areaCodeInfo); /** * 新增中国行政地区 * * @param areaCodeInfo 中国行政地区 * @return 结果 */ public int insertAreaCodeInfo(AreaCodeInfo areaCodeInfo); /** * 修改中国行政地区 * * @param areaCodeInfo 中国行政地区 * @return 结果 */ public int updateAreaCodeInfo(AreaCodeInfo areaCodeInfo); /** * 删除中国行政地区 * * @param id 中国行政地区主键 * @return 结果 */ public int deleteAreaCodeInfoById(Integer id); /** * 批量删除中国行政地区 * * @param ids 需要删除的数据主键集合 * @return 结果 */ public int deleteAreaCodeInfoByIds(Integer[] ids); }