多媒体日志增加可查看配置信息功能

This commit is contained in:
zhanghongqing
2018-11-29 17:20:33 +08:00
parent 8c7b187c8b
commit 787427197e
18 changed files with 479 additions and 17 deletions

View File

@@ -62,8 +62,8 @@ public class DdosCfgService extends BaseService{
return page;
}
public DdosIpCfg getDdosIpCfg(Long cfgId) {
return ddosCfgDao.getDdosIpCfg(cfgId);
public DdosIpCfg getDdosIpCfg(Long cfgId,Integer compileId) {
return ddosCfgDao.getDdosIpCfg(cfgId,compileId);
}
@Transactional(readOnly=false,rollbackFor=RuntimeException.class)
public void saveOrUpdate(DdosIpCfg entity){
@@ -224,7 +224,7 @@ public class DdosCfgService extends BaseService{
public void audit(Integer isAudit,Integer isValid,Integer functionId,String id,Date auditTime) throws Exception{
DdosIpCfg entity = new DdosIpCfg();
entity=ddosCfgDao.getDdosIpCfg(Long.valueOf(id));
entity=ddosCfgDao.getDdosIpCfg(Long.valueOf(id),entity.getCompileId());
List<DdosIpCfg> list = new ArrayList();
entity.setCfgId(Long.valueOf(id));
@@ -265,7 +265,7 @@ public class DdosCfgService extends BaseService{
List<IpCfg> areaIpRegionList = new ArrayList();
entity=this.getDdosIpCfg(entity.getCfgId());
entity=this.getDdosIpCfg(entity.getCfgId(),entity.getCompileId());
if(entity.getIsAudit()==1){
List<DdosIpCfg> ipList=new ArrayList<DdosIpCfg>();