1、增加报警状态

2、调度日志增加调度筛选
This commit is contained in:
zCans
2022-09-28 23:10:06 +08:00
parent 2c7f5522db
commit 89204d23f3
5 changed files with 51 additions and 21 deletions
@@ -32,6 +32,7 @@ import lombok.Getter;
@Getter
@AllArgsConstructor
public enum AlarmStatusEnum {
NOT(0, "-"),
WAIT(1, "待发送"),
SUCCESS(2, "发送成功"),
ERROR(3, "发送失败");
@@ -77,7 +77,7 @@ public class JobLogService implements IJobCallback {
public Page<JobLogListRes> page(PageQuery pageQuery, JobLogListReq req) {
Page<JobLogListRes> page = Page.create(pageQuery);
if(req.getJobId() != null){
if(req.getJobId() != null && req.getJobId() > 0){
jobLogMapper.pageByJobId(page, req);
} else {
jobLogMapper.page(page, req);