1、错误信息改为中文
2、任务审核bug 3、指令查询不判断指令是否被删除 4、bugfix
This commit is contained in:
@@ -34,7 +34,7 @@ public class AlertMessage {
|
||||
private String modifyTime;
|
||||
@JsonProperty("alert_message_uuid")
|
||||
private String alertMessageUUID;
|
||||
|
||||
//1代表防护对象命中告警信息里的是目的ip,0代表防护对象命中告警信息里的是源ip
|
||||
@JsonProperty("protect_object_is_src_dst")
|
||||
private int protectIsSrcOrDst;
|
||||
}
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user