1、告警信息增加备注接口

2、task下查询所有配置、任务、规则的未审批数量接口
This commit is contained in:
PushM
2024-06-14 17:05:08 +08:00
parent 990167f785
commit 5af3493ba0
8 changed files with 93 additions and 9 deletions

View File

@@ -136,13 +136,13 @@ public class CommandService {
return commandMapper.removeCommandsByTaskId(taskId);
}
public Boolean setCommandJudged(String commandId, Boolean isJudged) {
public Boolean setCommandJudged(String commandId, Integer isJudged) {
//设置指令是否已经研判
Boolean success = commandMapper.setCommandJudged(commandId, isJudged);
try {
List<String> commandUUIDs = Collections.singletonList(commandId);
if (!isJudged) {
if (isJudged != 1) {
return success;
}
//指令首次下发