1、界面配置转maat配置方法中增加文件摘要配置转换

2、邮件配置审核增加摘要配置转换

Signed-off-by: zhangwei <zhangwei@intranet.com>
This commit is contained in:
zhangwei
2018-06-04 17:42:10 +08:00
parent 9ba7998f0c
commit 9206f064e7
3 changed files with 32 additions and 3 deletions

View File

@@ -259,6 +259,17 @@ public class MailCfgService extends CrudService<MailCfgDao,CfgIndexInfo> {
strRegionList=map.get("dstList");
}
}
if(entity.getDigestList()!=null && entity.getDigestList().size()>0){
FileDigestCfg cfg = new FileDigestCfg();
BeanUtils.copyProperties(entity, cfg, new String[]{"cfgId"});
cfg.setTableName(FileDigestCfg.getTablename());
mailCfgDao.auditCfg(cfg);
if(isAudit==1){
Map<String,List> map = cfgConvert(digestRegionList,entity.getDigestList(),5,entity,groupRelationList);
groupRelationList=map.get("groupList");
digestRegionList=map.get("dstList");
}
}
//保存区域IP信息
if(entity.getAreaCfg()!=null && entity.getAreaCfg().size()>0){
AreaIpCfg cfg = new AreaIpCfg();