修复ddos定时任务界面BUG;

修复基础协议定时任务图标不显示bug;
所有业务增加定时任务逻辑

Conflicts:
	src/main/java/com/nis/web/service/configuration/AvContentCfgService.java
This commit is contained in:
duandongmei
2019-04-21 19:02:33 +08:00
parent 7fdd0f7568
commit 3016a82c17
14 changed files with 408 additions and 258 deletions

View File

@@ -170,6 +170,9 @@ public class BgpCfgService extends CrudService<BgpCfgDao,CfgIndexInfo> {
throw new MaatConvertException("<spring:message code=\"request_service_failed\"/>");
}
//处理定时任务
handelScheduleCfg(entity, entity.getIndexTable(), entity);
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
@@ -237,6 +240,9 @@ public class BgpCfgService extends CrudService<BgpCfgDao,CfgIndexInfo> {
areaIpCfgDao.saveAreaIpCfg(cfg);
}
}
//处理定时任务
handelScheduleCfg(entity, entity.getIndexTable(), entity);
if(isValid==1) {
entity.setIsAudit(1);
entity.setIsValid(1);
@@ -297,7 +303,8 @@ public class BgpCfgService extends CrudService<BgpCfgDao,CfgIndexInfo> {
cfg.setTableName(AreaIpCfg.getTablename());
bgpCfgDao.updateCfgValid(cfg);
}
//处理定时任务
handelScheduleCfg(entity, entity.getIndexTable(), entity);
}
}
@@ -391,6 +398,10 @@ public class BgpCfgService extends CrudService<BgpCfgDao,CfgIndexInfo> {
areaIpRegionList=map.get("dstList");
}
}
if(isAudit!=1){
//处理定时任务
handelScheduleCfg(entity, entity.getIndexTable(), entity);
}
//构造提交综合服务参数格式,一条配置提交一次综合服务
if(isAudit==1){