1、增加报警状态
2、调度日志增加调度筛选
This commit is contained in:
+1
@@ -32,6 +32,7 @@ import lombok.Getter;
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum AlarmStatusEnum {
|
||||
NOT(0, "-"),
|
||||
WAIT(1, "待发送"),
|
||||
SUCCESS(2, "发送成功"),
|
||||
ERROR(3, "发送失败");
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user