1、动态任务增加发送指令下发信号

2、动态规则批量删除增加使用中判断
3、静态规则返回字段为‘’自动处理为null
4、修复防护对象查询返回ip没有转为ip格式错误
This commit is contained in:
PushM
2024-06-09 00:09:16 +08:00
parent b463a4fe3e
commit 0523eb790b
3 changed files with 12 additions and 4 deletions

View File

@@ -243,13 +243,14 @@ class TaskServiceTest extends ProtectionApplicationTests {
staticRuleTest.setStaticRuleCreateUsername("NSADD管理员");
staticRuleTest.setStaticRuleCreateDepart("组织树");
staticRuleTest.setStaticRuleCreateUserId(22222222);
staticRuleTest.setAuditStatus(0);
staticRuleTest.setStaticRuleSip("32.2.3.1");
staticRuleTest.setStaticRuleDip("2.2.3.2");
staticRuleTest.setStaticRuleSport(80);
staticRuleTest.setStaticRuleProtocol("6");
staticRuleService.newStaticRuleObject(staticRuleTest);
// staticRuleIds.add(staticRuleTest.getStaticRuleId());
staticRuleService.updateAuditStatus(staticRuleTest.getStaticRuleId(), 2, "xxx管理员", 1111111, "组织树");
staticRuleService.updateAuditStatus(staticRuleTest.getStaticRuleId(), 2, "NSADD管理员", 1111111, "组织树");
@@ -274,7 +275,7 @@ class TaskServiceTest extends ProtectionApplicationTests {
Long taskId = taskService.newTask(task);
taskService.changeTaskAuditStatus(taskId, 2);
taskService.changeTaskAuditStatus(taskId, 2, "NSADD管理员", "1111111", "组织树");
stateChangeService.changeState(2, taskId, false);