去掉音视频文本、bgp、http内容替换、文件摘要业务中cfgType设置

This commit is contained in:
duandongmei
2018-07-02 15:05:35 +08:00
parent ab0ed9ce05
commit e89f918780
4 changed files with 1 additions and 57 deletions

View File

@@ -463,9 +463,8 @@ public class FileTransferCfgService extends CrudService<FileTransferCfgDao,CfgIn
List<IpCfg> areaIpRegionList = new ArrayList();
if(isAudit==1){
//TODO DELETE后期删除
entity.setAreaEffectiveIds(StringUtils.isEmpty(entity.getAreaEffectiveIds()) ? "0":entity.getAreaEffectiveIds());
entity.setCfgType("NTC_FILE_DIGEST");
Map<String,List> map = cfgConvert(digestRegionList,list,5,entity,groupRelationList);
groupRelationList=map.get("groupList");
@@ -475,10 +474,6 @@ public class FileTransferCfgService extends CrudService<FileTransferCfgDao,CfgIn
}
if(areaIpCfgList != null && areaIpCfgList.size() >0){
//TODO DELETE后期删除
for (AreaIpCfg areaIpCfga : areaIpCfgList) {
areaIpCfga.setCfgType("NTC_IP_RANGE");
}
Map<String,List> areaMap = cfgConvert(areaIpRegionList,areaIpCfgList,1,entity,groupRelationList);
groupRelationList=areaMap.get("groupList");
areaIpRegionList=areaMap.get("dstList");
@@ -497,8 +492,6 @@ public class FileTransferCfgService extends CrudService<FileTransferCfgDao,CfgIn
maatCfg.setDigestRegionList(digestRegionList);
maatCfg.setGroupRelationList(groupRelationList);
maatCfg.setGroupNum(groupRelationList.size());
//TODO 后期修改
maatCfg.setAreaIpRegionList(areaIpRegionList);
maatCfg.setIsValid(entity.getIsValid());