package com.nis.web.dao.configuration; import java.util.List; import org.apache.ibatis.annotations.Param; import com.nis.domain.configuration.BaseIpCfg; import com.nis.domain.configuration.IpAddrPoolCfg; import com.nis.web.dao.CrudDao; import com.nis.web.dao.MyBatisDao; @MyBatisDao public interface IpAddrPoolCfgDao extends CrudDao{ List findPage(IpAddrPoolCfg entity); List findList(@Param("cfgId")Long cfgId ,@Param("isAudit")Integer isAudit ,@Param("isValid")Integer isValid); void saveAddrPoolCfg(IpAddrPoolCfg cfg); void updateAddrPoolCfg(IpAddrPoolCfg entity); void saveReuseIpCfgs(BaseIpCfg ipCfg); List getReuseIpCfgs(@Param("addrPoolId")Integer addrPoolId); void deleteReuseIpCfgs(@Param("addrPoolId")Integer addrPoolId); Integer getAddrPoolId(@Param("cfgId")Long cfgId); IpAddrPoolCfg getCfgInfo(IpAddrPoolCfg cfg); List findAddrPoolCfg(); }