修正回调类配置批量取消失败问题
This commit is contained in:
@@ -3296,7 +3296,7 @@ public class BaseController {
|
||||
//批量审核通过时,如果没有携带isValid检索条件,返回界面需要将isValid置为null
|
||||
if(!StringUtil.isEmpty(entity)) {
|
||||
BaseCfg base=(BaseCfg)entity ;
|
||||
if(!StringUtil.isEmpty(base.getSeltype()) && base.getSeltype().equals("isValid")) {
|
||||
if(!StringUtil.isEmpty(base.getSeltype()) && !base.getSeltype().equals("isValid")) {
|
||||
base.setIsValid(null);
|
||||
BeanUtils.copyProperties(base, entity);
|
||||
}
|
||||
@@ -3818,15 +3818,16 @@ public class BaseController {
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
|
||||
auditList.add(BaseService.convertCallBackIp(cfg,cfg.getGroupId()));
|
||||
//auditList.add(BaseService.convertCallBackIp(cfg,cfg.getGroupId())); // 移至下发前处理
|
||||
auditList.add(cfg);
|
||||
}else {
|
||||
//定时任务审核通过,配置已经失效,则
|
||||
cfg.setIsValid(entity.getIsValid());
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
notAuditList.add(BaseService.convertCallBackIp(cfg,cfg.getGroupId()));
|
||||
//notAuditList.add(BaseService.convertCallBackIp(cfg,cfg.getGroupId())); // 移至下发前处理
|
||||
notAuditList.add(cfg);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3883,14 +3884,16 @@ public class BaseController {
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
auditList.add(BaseService.convertCallBackProxyObjKeyring(cfg));
|
||||
//auditList.add(BaseService.convertCallBackProxyObjKeyring(cfg)); // 移至下发前处理
|
||||
auditList.add(cfg);
|
||||
}else {
|
||||
//定时任务审核通过,配置已经失效,则
|
||||
cfg.setIsValid(entity.getIsValid());
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
notAuditList.add(BaseService.convertCallBackProxyObjKeyring(cfg));
|
||||
//notAuditList.add(BaseService.convertCallBackProxyObjKeyring(cfg)); // 移至下发前处理
|
||||
notAuditList.add(cfg);
|
||||
}
|
||||
}
|
||||
}else if(className.equals("PxyObjTrustedCaCert")){
|
||||
@@ -3903,14 +3906,16 @@ public class BaseController {
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
auditList.addAll(BaseService.convertCallBackProxyObjTrustedCa(cfg,null));
|
||||
//auditList.addAll(BaseService.convertCallBackProxyObjTrustedCa(cfg,null)); // 移至下发前处理
|
||||
auditList.add(cfg);
|
||||
}else {
|
||||
//定时任务审核通过,配置已经失效,则
|
||||
cfg.setIsValid(entity.getIsValid());
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
notAuditList.addAll(BaseService.convertCallBackProxyObjTrustedCa(cfg,null));
|
||||
//notAuditList.addAll(BaseService.convertCallBackProxyObjTrustedCa(cfg,null)); // 移至下发前处理
|
||||
notAuditList.add(cfg);
|
||||
}
|
||||
}
|
||||
if(!StringUtil.isEmpty(ids)) {
|
||||
@@ -3923,14 +3928,16 @@ public class BaseController {
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
auditList.addAll(BaseService.convertCallBackProxyObjTrustedCa(null,cfg));
|
||||
//auditList.addAll(BaseService.convertCallBackProxyObjTrustedCa(null,cfg)); // 移至下发前处理
|
||||
auditList.add(cfg);
|
||||
}else {
|
||||
//定时任务审核通过,配置已经失效,则
|
||||
cfg.setIsValid(entity.getIsValid());
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
notAuditList.addAll(BaseService.convertCallBackProxyObjTrustedCa(null,cfg));
|
||||
//notAuditList.addAll(BaseService.convertCallBackProxyObjTrustedCa(null,cfg)); // 移至下发前处理
|
||||
notAuditList.add(cfg);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -3952,14 +3959,16 @@ public class BaseController {
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
auditList.add(BaseService.convertCallBackDnsResStrategy(cfg));
|
||||
//auditList.add(BaseService.convertCallBackDnsResStrategy(cfg)); // 移至下发前处理
|
||||
auditList.add(cfg);
|
||||
}else {
|
||||
//定时任务审核通过,配置已经失效,则
|
||||
cfg.setIsValid(entity.getIsValid());
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
notAuditList.add(BaseService.convertCallBackDnsResStrategy(cfg));
|
||||
//notAuditList.add(BaseService.convertCallBackDnsResStrategy(cfg)); // 移至下发前处理
|
||||
notAuditList.add(cfg);
|
||||
}
|
||||
}
|
||||
}else if(className.equals("DnsIpCfg")){
|
||||
@@ -3972,14 +3981,16 @@ public class BaseController {
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
auditList.add(BaseService.convertCallBackIp(cfg,cfg.getDnsStrategyId()));
|
||||
//auditList.add(BaseService.convertCallBackIp(cfg,cfg.getDnsStrategyId())); // 移至下发前处理
|
||||
auditList.add(cfg);
|
||||
}else {
|
||||
//定时任务审核通过,配置已经失效,则
|
||||
cfg.setIsValid(entity.getIsValid());
|
||||
cfg.setIsAudit(entity.getIsAudit());
|
||||
cfg.setAuditTime(entity.getAuditTime());
|
||||
cfg.setAuditorId(entity.getAuditorId());
|
||||
notAuditList.add(BaseService.convertCallBackIp(cfg,cfg.getDnsStrategyId()));
|
||||
//notAuditList.add(BaseService.convertCallBackIp(cfg,cfg.getDnsStrategyId()));
|
||||
notAuditList.add(cfg);
|
||||
}
|
||||
}
|
||||
}else if(className.equals("IpPortCfg")){
|
||||
|
||||
Reference in New Issue
Block a user