修复VOIP新增成功无数据BUG

This commit is contained in:
duandongmei
2019-04-25 16:59:22 +08:00
parent b12a74e27f
commit 3ae64f6645

View File

@@ -213,6 +213,7 @@ public class AvContentCfgService extends BaseService{
entity.setCompileId(compileId); entity.setCompileId(compileId);
entity.setCreateTime(new Date()); entity.setCreateTime(new Date());
entity.setCreatorId(entity.getCurrentUser().getId()); entity.setCreatorId(entity.getCurrentUser().getId());
avContentCfgDao.insertCfgIndexInfo(entity);
if(entity.getIpPortList()!=null){ if(entity.getIpPortList()!=null){
for(IpPortCfg cfg:entity.getIpPortList()){ for(IpPortCfg cfg:entity.getIpPortList()){
BeanUtils.copyProperties(entity, cfg,new String[]{"cfgRegionCode","cfgType"}); BeanUtils.copyProperties(entity, cfg,new String[]{"cfgRegionCode","cfgType"});