(1)修复app等选择行为的时候表达式为与表达式
(2)http,dns,mail,ftp,url配置导入提交
This commit is contained in:
@@ -84,6 +84,15 @@ public class InterceptCfgService extends CrudService<WebsiteCfgDao,CfgIndexInfo>
|
||||
return entity;
|
||||
}
|
||||
|
||||
public void saveInterceptCfg(List<BaseStringCfg<?>> interceptPktBins){
|
||||
for(BaseStringCfg cfg:interceptPktBins){
|
||||
InterceptPktBin _cfg=new InterceptPktBin();
|
||||
BeanUtils.copyProperties(cfg, _cfg);
|
||||
if(StringUtils.isNotBlank(cfg.getCfgKeywords())){
|
||||
interceptCfgDao.saveInterceptPktBin(_cfg);
|
||||
}
|
||||
}
|
||||
}
|
||||
public void saveInterceptCfg(CfgIndexInfo entity){
|
||||
if(!entity.getAction().equals(Constants.REPLACE_ACTION)){
|
||||
entity.setInterceptPktBinList(null);
|
||||
|
||||
Reference in New Issue
Block a user