多媒体日志增加可查看配置信息功能
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user