白名单增加定时任务处理;
修复白名单热修改被覆盖jsp
This commit is contained in:
@@ -129,7 +129,7 @@ public class CommonPolicyService extends CrudService<WebsiteCfgDao, CfgIndexInfo
|
||||
}
|
||||
}
|
||||
//更新各配置定时任务信息
|
||||
handelScheduleCfg(httpUrlCfgs, entity.getTableName());
|
||||
handelScheduleCfg(httpUrlCfgs, entity.getTableName(),entity);
|
||||
}
|
||||
if(!StringUtil.isEmpty(auditHttpCompileIds)) {
|
||||
commonPolicyDao.auditCfgBatch("cfg_index_info", entity,auditHttpCompileIds,null);
|
||||
@@ -141,7 +141,7 @@ public class CommonPolicyService extends CrudService<WebsiteCfgDao, CfgIndexInfo
|
||||
}
|
||||
commonPolicyDao.auditCfgBatch( entity.getTableName(), entity,compileIds,null);
|
||||
//更新各配置定时任务信息
|
||||
handelScheduleCfg(list, entity.getTableName());
|
||||
handelScheduleCfg(list, entity.getTableName(),entity);
|
||||
}
|
||||
|
||||
if(cfgList!=null){
|
||||
@@ -280,18 +280,18 @@ public class CommonPolicyService extends CrudService<WebsiteCfgDao, CfgIndexInfo
|
||||
commonPolicyDao.auditCfgBatch( "cfg_index_info", entity,compileIds,null);
|
||||
if(entity.getIsAudit()!=1) {
|
||||
//更新各配置定时任务信息
|
||||
handelScheduleCfg(auditList, entity.getTableName());
|
||||
handelScheduleCfg(auditList, entity.getTableName(),entity);
|
||||
//更新各配置定时任务信息
|
||||
handelScheduleCfg(notAuditList, entity.getTableName());
|
||||
handelScheduleCfg(notAuditList, entity.getTableName(),entity);
|
||||
}
|
||||
}
|
||||
if(!StringUtil.isEmpty(ids) && !StringUtil.isEmpty(entity.getTableName())) {
|
||||
commonPolicyDao.auditCfgBatch( entity.getTableName(), entity,ids,null);
|
||||
if(entity.getIsAudit()!=1) {
|
||||
//更新各配置定时任务信息
|
||||
handelScheduleCfg(auditList, entity.getTableName());
|
||||
handelScheduleCfg(auditList, entity.getTableName(),entity);
|
||||
//更新各配置定时任务信息
|
||||
handelScheduleCfg(notAuditList, entity.getTableName());
|
||||
handelScheduleCfg(notAuditList, entity.getTableName(),entity);
|
||||
}
|
||||
if(entity.getTableName().equals("pxy_obj_trusted_ca_cert")) {
|
||||
commonPolicyDao.auditCfgBatch("pxy_obj_trusted_ca_crl", entity,ids,null);
|
||||
@@ -351,7 +351,7 @@ public class CommonPolicyService extends CrudService<WebsiteCfgDao, CfgIndexInfo
|
||||
if(!StringUtil.isEmpty(compileIds) && !StringUtil.isEmpty(entity.getTableName())) {
|
||||
commonPolicyDao.auditCfgBatch( entity.getTableName(), entity,compileIds,null); // 批量审核并修改配置审核状态(主表)
|
||||
//更新各配置定时任务信息
|
||||
handelScheduleCfg(list, entity.getTableName());
|
||||
handelScheduleCfg(list, entity.getTableName(),entity);
|
||||
}
|
||||
|
||||
// 3.更新域配置审核状态(子表)
|
||||
@@ -390,7 +390,7 @@ public class CommonPolicyService extends CrudService<WebsiteCfgDao, CfgIndexInfo
|
||||
if(!StringUtil.isEmpty(compileIds) && !StringUtil.isEmpty(entity.getTableName())) {
|
||||
commonPolicyDao.deleteCfgBatch(entity.getTableName(), entity,compileIds); // 批量修改配置状态(主表)
|
||||
//更新各配置定时任务信息
|
||||
handelScheduleCfg(list, entity.getTableName());
|
||||
handelScheduleCfg(list, entity.getTableName(),entity);
|
||||
}
|
||||
|
||||
// 3.更新域配置状态(子表)
|
||||
|
||||
Reference in New Issue
Block a user