32 lines
1.3 KiB
Java
32 lines
1.3 KiB
Java
|
|
package com.nis.web.dao.basics;
|
||
|
|
|
||
|
|
import java.util.List;
|
||
|
|
|
||
|
|
import org.apache.ibatis.annotations.Param;
|
||
|
|
|
||
|
|
import com.nis.domain.basics.IpCommCfg;
|
||
|
|
import com.nis.domain.basics.Varibles;
|
||
|
|
import com.nis.web.dao.CrudDao;
|
||
|
|
import com.nis.web.dao.MyBatisDao;
|
||
|
|
@MyBatisDao
|
||
|
|
public interface IpCommGroupCfgDao extends CrudDao<IpCommCfg>{
|
||
|
|
public List<IpCommCfg> findPage(IpCommCfg cfg);
|
||
|
|
public List<IpCommCfg> findByPage(@Param("ids")String ids);
|
||
|
|
public void delete(@Param("ids")String ids);
|
||
|
|
public void updateIssued(IpCommCfg cfg);
|
||
|
|
public List<IpCommCfg> getByIds(@Param("ids")String ids);
|
||
|
|
public List<IpCommCfg> findAllList(IpCommCfg cfg);
|
||
|
|
public List<Integer> findOtherIps(@Param("groupId")Integer groupId,@Param("cfgId")Integer cfgId);
|
||
|
|
public List<Integer> countValidIPs(@Param("groups")String groups,@Param("ids")String ids);
|
||
|
|
public int insertBatch(List<IpCommCfg> list);
|
||
|
|
public Varibles getVaribles(@Param("name")String name);
|
||
|
|
public void ajaxDeleteAsnIp(@Param("ids")String ids);
|
||
|
|
public IpCommCfg getOne(IpCommCfg cfg);
|
||
|
|
public List<Object[]> findAllIpCommGroupCfgList();
|
||
|
|
public void insertIpCommGroupCfg(IpCommCfg ipPortCfg);
|
||
|
|
public int getGroupIdCount(int groupId);
|
||
|
|
|
||
|
|
// 校验分组是否被引用
|
||
|
|
public List<IpCommCfg> getCfgInfoByGroupIds(@Param("ids")String ids);
|
||
|
|
}
|