summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwangxin <[email protected]>2019-06-24 11:14:56 +0800
committerwangxin <[email protected]>2019-06-24 11:14:56 +0800
commit7ad3d9a80bd037e2cda0758918a2e1f897048cb6 (patch)
tree934ba5e381f9a8b55faf3b9cf10fb418917b29c9
parent7dfe52590be13f4700ae864e36bc8665c68d97a7 (diff)
修复选择导出异常
-rw-r--r--src/main/java/com/nis/web/service/configuration/ObjectGroupService.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/nis/web/service/configuration/ObjectGroupService.java b/src/main/java/com/nis/web/service/configuration/ObjectGroupService.java
index 9d267b705..930897bac 100644
--- a/src/main/java/com/nis/web/service/configuration/ObjectGroupService.java
+++ b/src/main/java/com/nis/web/service/configuration/ObjectGroupService.java
@@ -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();