1、错误信息改为中文

2、任务审核bug
3、指令查询不判断指令是否被删除
4、bugfix
This commit is contained in:
PushM
2024-05-30 02:51:14 +08:00
parent cef4505ba7
commit c8c5b53476
9 changed files with 32 additions and 24 deletions

View File

@@ -34,7 +34,7 @@ public class AlertMessage {
private String modifyTime;
@JsonProperty("alert_message_uuid")
private String alertMessageUUID;
//1代表防护对象命中告警信息里的是目的ip0代表防护对象命中告警信息里的是源ip
@JsonProperty("protect_object_is_src_dst")
private int protectIsSrcOrDst;
}

View File

@@ -135,7 +135,7 @@ public class StaticRuleObject {
private String staticRuleURL;
@JsonProperty("static_rule_priority")
@ExcelProperty("优先级")
@ExcelIgnore
@Max(value = 3)
@Min(value = 1)
@Schema(description = "优先级,1代表高2代表中3代表低", example = "1")

View File

@@ -85,6 +85,9 @@ public class DynamicTaskInfo {
public void parseSql() {
String bwSql = this.bwSql;
if (bwSql == null) {
return;
}
//解析SQL语句
SQLStatementParser parser = new MySqlStatementParser(bwSql);
// 使用Parser解析生成AST这里SQLStatement就是AST