增加DNS阻断无策略检验.

This commit is contained in:
zhangwq
2018-12-12 14:00:53 +08:00
parent 180c27d0b9
commit e64ba76eba
9 changed files with 56 additions and 4 deletions

View File

@@ -54,6 +54,10 @@ public class DnsIpCfgService extends BaseService{
public DnsIpCfg getDnsIpCfg(Long cfgId) {
return dnsIpCfgDao.getDnsIpCfg(cfgId);
}
public List<DnsIpCfg> getValidCfgInfo(DnsIpCfg cfg) {
return dnsIpCfgDao.getValidCfgInfo(cfg);
}
@Transactional(readOnly=false,rollbackFor=RuntimeException.class)
public void saveOrUpdate(DnsIpCfg entity){
Date createTime=new Date();