DNS协议策略组功能提交

This commit is contained in:
wangxin
2019-07-02 17:37:14 +08:00
parent d587c67c03
commit ef82ba822f
4 changed files with 34 additions and 10 deletions

View File

@@ -113,6 +113,12 @@ public class ObjectGroupService extends BaseService {
}else if(entity.getAction().equals(16)){
entity.setServiceId(20);
}
}else if("DNS".equalsIgnoreCase(protocolType)){
if(entity.getAction().equals(1)){
entity.setServiceId(130);
}else if(entity.getAction().equals(16)){
entity.setServiceId(18);
}
}else if(StringUtils.isBlank(protocolType)){
if(MapUtils.isNotEmpty(entity.getUserRegion())&&entity.getUserRegion().containsKey("ipGroup")){
if(entity.getAction().equals(1)){