AlertMessage:

1、AlertMessage记录为command时设置is_judegd
2、AlertMessageMapper的getDynamicTaskInfos根据taskID和dynamicRuleId获取生成指令所需信息
TaskCommandInfo
3、TaskCommandInfo添加isJudged属性
test
1、解决test的报错
This commit is contained in:
Hao Miao
2024-01-22 23:29:50 +08:00
parent 095eb88eb3
commit 121fff1d18
6 changed files with 28 additions and 21 deletions

View File

@@ -88,6 +88,9 @@ public class TaskCommandInfo {
@JsonProperty("latest_send_times")
private LocalDateTime latestSendTime;
@Schema(description = "指令是否研判", example = "true")
@JsonProperty("is_judeged")
private Boolean isJudged = true;
/*
以下属性用于动态规则生成不写入dorist_command表
*/