解决app特征中配置修改时新增配置无法显示问题

This commit is contained in:
zhanghongqing
2018-10-09 09:44:48 +08:00
parent 2b6997aa93
commit e70e7007fc
2 changed files with 8 additions and 2 deletions

View File

@@ -121,14 +121,18 @@ public class AppMultiFeatureCfgService extends BaseService {
}
if(entity.getStrList()!=null){
for(AppStringFeatureCfg cfg:entity.getStrList()){
if(StringUtils.isNotBlank(cfg.getCfgKeywords())){
BeanUtils.copyProperties(entity, cfg,new String[]{"cfgRegionCode","cfgType"});
appMultiFeatureCfgDao.insertAppStringFeatureCfg(cfg);
}
}
}
if(entity.getComplexList()!=null){
for(AppComplexFeatureCfg cfg:entity.getComplexList()){
if(StringUtils.isNotBlank(cfg.getCfgKeywords())){
BeanUtils.copyProperties(entity, cfg,new String[]{"cfgRegionCode","cfgType"});
appMultiFeatureCfgDao.insertAppComplexFeatureCfg(cfg);
}
}
}
}