去掉音视频文本、bgp、http内容替换、文件摘要业务中cfgType设置
This commit is contained in:
@@ -352,29 +352,17 @@ public class AvContentCfgService extends BaseService{
|
||||
|
||||
if(isAudit==1){
|
||||
if(!StringUtil.isEmpty(voipIpList)){
|
||||
//TODO DELETE后期删除
|
||||
for (AvVoipIpCfg ipCfg : voipIpList) {
|
||||
ipCfg.setCfgType("MM_VOIP_IP");
|
||||
}
|
||||
Map<String,List> ipMap = cfgConvert(ipRegionList,voipIpList,1,entity,groupRelationList);
|
||||
groupRelationList=ipMap.get("groupList");
|
||||
ipRegionList=ipMap.get("dstList");
|
||||
}
|
||||
|
||||
if(!StringUtil.isEmpty(voipAccountList)){
|
||||
//TODO DELETE后期删除
|
||||
for (AvVoipAccountCfg accountCfg : voipAccountList) {
|
||||
accountCfg.setCfgType("MM_VOIP_ACCOUNT");
|
||||
}
|
||||
Map<String,List> accountMap = cfgConvert(strRegionList,voipAccountList,2,entity,groupRelationList);
|
||||
groupRelationList=accountMap.get("groupList");
|
||||
strRegionList=accountMap.get("dstList");
|
||||
}
|
||||
if(!StringUtil.isEmpty(areaIpCfgList)){
|
||||
//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");
|
||||
@@ -652,19 +640,11 @@ public class AvContentCfgService extends BaseService{
|
||||
|
||||
if(isAudit==1){
|
||||
if(!StringUtil.isEmpty(list)){
|
||||
//TODO DELETE后期删除
|
||||
for (BaseIpCfg ipCfg : list) {
|
||||
ipCfg.setCfgType("MM_AV_IP");
|
||||
}
|
||||
Map<String,List> ipMap = cfgConvert(ipRegionList,list,1,entity,groupRelationList);
|
||||
groupRelationList=ipMap.get("groupList");
|
||||
ipRegionList=ipMap.get("dstList");
|
||||
}
|
||||
if(!StringUtil.isEmpty(areaIpCfgList)){
|
||||
//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");
|
||||
@@ -940,20 +920,12 @@ public class AvContentCfgService extends BaseService{
|
||||
if(isAudit==1){
|
||||
if(!StringUtil.isEmpty(list)){
|
||||
|
||||
//TODO DELETE后期删除
|
||||
for (BaseIpCfg ipCfg : list) {
|
||||
ipCfg.setCfgType("MM_PIC_IP");
|
||||
}
|
||||
Map<String,List> ipMap = cfgConvert(ipRegionList,list,1,entity,groupRelationList);
|
||||
groupRelationList=ipMap.get("groupList");
|
||||
ipRegionList=ipMap.get("dstList");
|
||||
}
|
||||
|
||||
if(!StringUtil.isEmpty(areaIpCfgList)){
|
||||
//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");
|
||||
@@ -1194,20 +1166,12 @@ public class AvContentCfgService extends BaseService{
|
||||
|
||||
if(isAudit==1){
|
||||
if(!StringUtil.isEmpty(list)){
|
||||
//TODO DELETE后期删除
|
||||
for (BaseStringCfg strCfg : list) {
|
||||
strCfg.setCfgType("MM_AV_URL");
|
||||
}
|
||||
Map<String,List> strMap = cfgConvert(strRegionList,list,2,entity,groupRelationList);
|
||||
groupRelationList=strMap.get("groupList");
|
||||
strRegionList=strMap.get("dstList");
|
||||
}
|
||||
|
||||
if(!StringUtil.isEmpty(areaIpCfgList)){
|
||||
//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");
|
||||
@@ -1447,20 +1411,12 @@ public class AvContentCfgService extends BaseService{
|
||||
|
||||
if(isAudit==1){
|
||||
if(!StringUtil.isEmpty(list)){
|
||||
//TODO DELETE后期删除
|
||||
for (BaseStringCfg strCfg : list) {
|
||||
strCfg.setCfgType("MM_PIC_URL");
|
||||
}
|
||||
Map<String,List> strMap = cfgConvert(strRegionList,list,2,entity,groupRelationList);
|
||||
groupRelationList=strMap.get("groupList");
|
||||
strRegionList=strMap.get("dstList");
|
||||
}
|
||||
|
||||
if(!StringUtil.isEmpty(areaIpCfgList)){
|
||||
//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");
|
||||
|
||||
Reference in New Issue
Block a user