修复选择导出异常
This commit is contained in:
@@ -581,7 +581,7 @@ public class ObjectGroupService extends BaseService {
|
||||
Map<Integer,PolicyGroupInfo> policyGroupInfoMapCopy=new HashMap<>();
|
||||
policyGroupInfoMapCopy.putAll(policyGroupInfoMap);
|
||||
for (ObjGroupCfg c : list) {
|
||||
for(Map.Entry<Integer,PolicyGroupInfo> e:policyGroupInfoMap.entrySet()){
|
||||
for(Map.Entry<Integer,PolicyGroupInfo> e:policyGroupInfoMapCopy.entrySet()){
|
||||
if(c.getCommonGroupIds().indexOf(","+e.getKey()+",")>-1){
|
||||
if(e.getValue().getGroupType().equals(Constants.IP_OBJ_GROUP_TYPE)){
|
||||
String name=(StringUtils.isBlank(c.getIpGroup())?"":c.getIpGroup())+","+e.getValue().getGroupName();
|
||||
|
||||
Reference in New Issue
Block a user