Policy Group加入IP下发逻辑

This commit is contained in:
wangxin
2019-06-24 16:18:32 +08:00
parent 05599738d9
commit 240b10a05d
3 changed files with 34 additions and 10 deletions

View File

@@ -107,6 +107,14 @@ public class ObjectGroupService extends BaseService {
}else if(entity.getAction().equals(16)){
entity.setServiceId(17);
}
}else if(StringUtils.isBlank(protocolType)){
if(MapUtils.isNotEmpty(entity.getUserRegion())&&entity.getUserRegion().containsKey("ipGroup")){
if(entity.getAction().equals(1)){
entity.setServiceId(128);
}else if(entity.getAction().equals(16)){
entity.setServiceId(16);
}
}
}
if(entity.getCfgId()==null){
Integer compileId = 0;