1.解决APP策略SubscribeId修改问题 2.APP特征dolog为0
This commit is contained in:
@@ -238,7 +238,7 @@ public class AppCfgService extends BaseService {
|
||||
for(NtcSubscribeIdCfg cfg:entity.getNtcSubscribeIdCfgList()){
|
||||
if(StringUtils.isNotBlank(cfg.getCfgKeywords())){
|
||||
entity.setCfgKeywords(cfg.getCfgKeywords());
|
||||
BeanUtils.copyProperties(entity, cfg,new String[]{"cfgRegionCode","cfgType"});
|
||||
BeanUtils.copyProperties(entity, cfg,new String[]{"cfgRegionCode","cfgType","exprType","matchMethod","isHexbin"});
|
||||
stringcfgDao.saveSubscribeIdCfg(cfg);
|
||||
}
|
||||
}
|
||||
@@ -1410,7 +1410,7 @@ public class AppCfgService extends BaseService {
|
||||
if(entity.getNtcSubscribeIdCfgList()!=null&&entity.getNtcSubscribeIdCfgList().size()>0){
|
||||
NtcSubscribeIdCfg ntcSubscribeIdCfg = new NtcSubscribeIdCfg();
|
||||
BeanUtils.copyProperties(entity, ntcSubscribeIdCfg, new String[]{"cfgId"});
|
||||
stringcfgDao.deleteSubscribeIdCfg(ntcSubscribeIdCfg);
|
||||
stringcfgDao.updateSubscribeIdCfg(ntcSubscribeIdCfg);
|
||||
}
|
||||
//保存区域IP信息
|
||||
if(entity.getAreaCfg()!=null && entity.getAreaCfg().size()>0){
|
||||
|
||||
Reference in New Issue
Block a user