mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 13:32:18 +08:00
perf(X-Pack): 阈值告警批量设置接收人
This commit is contained in:
@@ -2,13 +2,9 @@ package io.dataease.api.threshold;
|
||||
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import com.github.xiaoymin.knife4j.annotations.ApiSupport;
|
||||
import io.dataease.api.threshold.dto.ThresholdBatchReciRequest;
|
||||
import io.dataease.api.threshold.dto.ThresholdCreator;
|
||||
import io.dataease.api.threshold.dto.ThresholdGridRequest;
|
||||
import io.dataease.api.threshold.dto.ThresholdSwitchRequest;
|
||||
import io.dataease.api.threshold.dto.*;
|
||||
import io.dataease.api.threshold.vo.ThresholdGridVO;
|
||||
import io.dataease.api.threshold.vo.ThresholdInstanceVO;
|
||||
import io.dataease.model.KeywordRequest;
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.Parameters;
|
||||
@@ -65,6 +61,6 @@ public interface ThresholdApi {
|
||||
@Parameter(name = "request", description = "过滤条件", required = true)
|
||||
})
|
||||
@PostMapping("/instancePager/{goPage}/{pageSize}")
|
||||
IPage<ThresholdInstanceVO> instancePager(@PathVariable("goPage") int goPage, @PathVariable("pageSize") int pageSize, @RequestBody KeywordRequest request);
|
||||
IPage<ThresholdInstanceVO> instancePager(@PathVariable("goPage") int goPage, @PathVariable("pageSize") int pageSize, @RequestBody ThresholdInstanceRequest request);
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,17 @@
|
||||
package io.dataease.api.threshold.dto;
|
||||
|
||||
import io.dataease.model.KeywordRequest;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.io.Serial;
|
||||
import java.io.Serializable;
|
||||
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@Data
|
||||
public class ThresholdInstanceRequest extends KeywordRequest implements Serializable {
|
||||
@Serial
|
||||
private static final long serialVersionUID = 7146083160815300271L;
|
||||
|
||||
private Long thresholdId;
|
||||
}
|
||||
Reference in New Issue
Block a user