去除无用代码.
This commit is contained in:
@@ -133,23 +133,5 @@ public class AppFeatureIndex extends BaseCfg<AppFeatureIndex> {
|
|||||||
public void setNumCfgList(List<AppTcpCfg> numCfgList) {
|
public void setNumCfgList(List<AppTcpCfg> numCfgList) {
|
||||||
this.numCfgList = numCfgList;
|
this.numCfgList = numCfgList;
|
||||||
}
|
}
|
||||||
public Integer getExprType() {
|
|
||||||
return exprType;
|
|
||||||
}
|
|
||||||
public void setExprType(Integer exprType) {
|
|
||||||
this.exprType = exprType;
|
|
||||||
}
|
|
||||||
public Integer getMatchMethod() {
|
|
||||||
return matchMethod;
|
|
||||||
}
|
|
||||||
public void setMatchMethod(Integer matchMethod) {
|
|
||||||
this.matchMethod = matchMethod;
|
|
||||||
}
|
|
||||||
public Integer getIsHexbin() {
|
|
||||||
return isHexbin;
|
|
||||||
}
|
|
||||||
public void setIsHexbin(Integer isHexbin) {
|
|
||||||
this.isHexbin = isHexbin;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2040,7 +2040,6 @@ public class BaseController {
|
|||||||
cfg.setBehavCode(Integer.parseInt(behaviorId));
|
cfg.setBehavCode(Integer.parseInt(behaviorId));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
AppFeatureIndex appfeature = new AppFeatureIndex();
|
AppFeatureIndex appfeature = new AppFeatureIndex();
|
||||||
BeanUtils.copyProperties(cfg, appfeature,new String[] {"cfgId"});
|
BeanUtils.copyProperties(cfg, appfeature,new String[] {"cfgId"});
|
||||||
if(regionDict!=null){
|
if(regionDict!=null){
|
||||||
@@ -2048,13 +2047,7 @@ public class BaseController {
|
|||||||
appfeature.setCfgRegionValue(regionDict.getConfigRegionValue());
|
appfeature.setCfgRegionValue(regionDict.getConfigRegionValue());
|
||||||
appfeature.setCfgRegionType(String.valueOf(regionDict.getRegionType()));
|
appfeature.setCfgRegionType(String.valueOf(regionDict.getRegionType()));
|
||||||
}
|
}
|
||||||
if(cfg.getDistrict().equals("L3_header")) {
|
|
||||||
appfeature.setIsHexbin(1);
|
|
||||||
appfeature.setExprType(3);
|
|
||||||
appfeature.setMatchMethod(0);
|
|
||||||
}
|
|
||||||
appFeatureIndexs.add(appfeature);
|
appFeatureIndexs.add(appfeature);
|
||||||
|
|
||||||
ind++;
|
ind++;
|
||||||
}
|
}
|
||||||
ipCfgService.saveAndSend(regionDict, serviceDict, specificServiceCfg, _complexkeywordCfgs, cfgIndexInfos, appPolicyCfgs,appFeatureIndexs,isSend.equals("1"));
|
ipCfgService.saveAndSend(regionDict, serviceDict, specificServiceCfg, _complexkeywordCfgs, cfgIndexInfos, appPolicyCfgs,appFeatureIndexs,isSend.equals("1"));
|
||||||
|
|||||||
Reference in New Issue
Block a user