修复流媒体、voip 审核后ip配置审核状态没有改变
This commit is contained in:
@@ -1056,7 +1056,7 @@
|
|||||||
</update>
|
</update>
|
||||||
<!-- update av_voip_ip_cfg表信息 -->
|
<!-- update av_voip_ip_cfg表信息 -->
|
||||||
<update id="updateAvVoipIp" parameterType="com.nis.domain.configuration.CfgIndexInfo" >
|
<update id="updateAvVoipIp" parameterType="com.nis.domain.configuration.CfgIndexInfo" >
|
||||||
update av_voip_ip_cfg
|
update ip_port_cfg
|
||||||
<set >
|
<set >
|
||||||
<trim suffixOverrides=",">
|
<trim suffixOverrides=",">
|
||||||
<if test="cfgDesc != null and cfgDesc != ''" >
|
<if test="cfgDesc != null and cfgDesc != ''" >
|
||||||
|
|||||||
@@ -1558,6 +1558,7 @@ public class AvContentCfgService extends BaseService{
|
|||||||
entity.setIsValid(isValid);
|
entity.setIsValid(isValid);
|
||||||
entity.setAuditorId(UserUtils.getUser().getId());
|
entity.setAuditorId(UserUtils.getUser().getId());
|
||||||
entity.setAuditTime(auditTime);
|
entity.setAuditTime(auditTime);
|
||||||
|
avContentCfgDao.updateAvVoipIp(entity);
|
||||||
avContentCfgDao.updateAvVoipKeywordCfgt(entity);
|
avContentCfgDao.updateAvVoipKeywordCfgt(entity);
|
||||||
avContentCfgDao.updateCfgIndexInfo(entity);
|
avContentCfgDao.updateCfgIndexInfo(entity);
|
||||||
AreaIpCfg areaIpCfg=new AreaIpCfg();
|
AreaIpCfg areaIpCfg=new AreaIpCfg();
|
||||||
@@ -1588,6 +1589,10 @@ public class AvContentCfgService extends BaseService{
|
|||||||
|
|
||||||
if(isAudit==1){
|
if(isAudit==1){
|
||||||
if(!StringUtil.isEmpty(ipPortList)){
|
if(!StringUtil.isEmpty(ipPortList)){
|
||||||
|
IpPortCfg cfg = new IpPortCfg();
|
||||||
|
BeanUtils.copyProperties(entity, cfg, new String[] { "cfgId" });
|
||||||
|
cfg.setTableName(IpPortCfg.getTablename());
|
||||||
|
avContentCfgDao.updateCfgValid(cfg);
|
||||||
Map<String,List> ipMap = cfgConvert(ipRegionList,ipPortList,1,entity,groupRelationList);
|
Map<String,List> ipMap = cfgConvert(ipRegionList,ipPortList,1,entity,groupRelationList);
|
||||||
groupRelationList=ipMap.get("groupList");
|
groupRelationList=ipMap.get("groupList");
|
||||||
ipRegionList=ipMap.get("dstList");
|
ipRegionList=ipMap.get("dstList");
|
||||||
|
|||||||
Reference in New Issue
Block a user