🚀 feat(新增): 删除任务
This commit is contained in:
parent
d811b2e0de
commit
fb9d7d116f
|
@ -9,7 +9,7 @@ import lombok.NoArgsConstructor;
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
@NoArgsConstructor
|
@NoArgsConstructor
|
||||||
@Builder
|
@Builder
|
||||||
public class QuartzPauseOrResumeDto {
|
public class QuartzOperationDto {
|
||||||
private String jobName;// 任务名称
|
private String jobName;// 任务名称
|
||||||
private String jobGroup;// 任务分组
|
private String jobGroup;// 任务分组
|
||||||
}
|
}
|
|
@ -1,40 +0,0 @@
|
||||||
package cn.bunny.entity.system.quartz;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
*
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@Accessors(chain = true)
|
|
||||||
@TableName("QRTZ_BLOB_TRIGGERS")
|
|
||||||
@ApiModel(value = "BlobTriggers对象", description = "")
|
|
||||||
public class BlobTriggers implements Serializable {
|
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableId(value = "SCHED_NAME", type = IdType.AUTO)
|
|
||||||
private String schedName;
|
|
||||||
|
|
||||||
private String triggerName;
|
|
||||||
|
|
||||||
private String triggerGroup;
|
|
||||||
|
|
||||||
private byte[] blobData;
|
|
||||||
}
|
|
|
@ -1,41 +0,0 @@
|
||||||
package cn.bunny.entity.system.quartz;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
*
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@Accessors(chain = true)
|
|
||||||
@TableName("QRTZ_CALENDARS")
|
|
||||||
@ApiModel(value = "Calendars对象", description = "")
|
|
||||||
public class Calendars implements Serializable {
|
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableField(value = "SCHED_NAME")
|
|
||||||
private String schedName;
|
|
||||||
|
|
||||||
@TableField(value = "CALENDAR_NAME")
|
|
||||||
private String calendarName;
|
|
||||||
|
|
||||||
private byte[] calendar;
|
|
||||||
}
|
|
|
@ -1,46 +0,0 @@
|
||||||
package cn.bunny.entity.system.quartz;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
*
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@Accessors(chain = true)
|
|
||||||
@TableName("QRTZ_CRON_TRIGGERS")
|
|
||||||
@ApiModel(value = "CronTriggers对象", description = "")
|
|
||||||
public class CronTriggers implements Serializable {
|
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableField(value = "SCHED_NAME")
|
|
||||||
private String schedName;
|
|
||||||
|
|
||||||
@TableField(value = "TRIGGER_NAME")
|
|
||||||
private String triggerName;
|
|
||||||
|
|
||||||
@TableField(value = "TRIGGER_GROUP")
|
|
||||||
private String triggerGroup;
|
|
||||||
|
|
||||||
private String cronExpression;
|
|
||||||
|
|
||||||
private String timeZoneId;
|
|
||||||
}
|
|
|
@ -1,61 +0,0 @@
|
||||||
package cn.bunny.entity.system.quartz;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
*
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@Accessors(chain = true)
|
|
||||||
@TableName("QRTZ_FIRED_TRIGGERS")
|
|
||||||
@ApiModel(value = "FiredTriggers对象", description = "")
|
|
||||||
public class FiredTriggers implements Serializable {
|
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableField(value = "SCHED_NAME")
|
|
||||||
private String schedName;
|
|
||||||
|
|
||||||
@TableField(value = "ENTRY_ID")
|
|
||||||
private String entryId;
|
|
||||||
|
|
||||||
private String triggerName;
|
|
||||||
|
|
||||||
private String triggerGroup;
|
|
||||||
|
|
||||||
private String instanceName;
|
|
||||||
|
|
||||||
private Long firedTime;
|
|
||||||
|
|
||||||
private Long schedTime;
|
|
||||||
|
|
||||||
private Integer priority;
|
|
||||||
|
|
||||||
private String state;
|
|
||||||
|
|
||||||
private String jobName;
|
|
||||||
|
|
||||||
private String jobGroup;
|
|
||||||
|
|
||||||
private String isNonconcurrent;
|
|
||||||
|
|
||||||
private String requestsRecovery;
|
|
||||||
}
|
|
|
@ -1,56 +0,0 @@
|
||||||
package cn.bunny.entity.system.quartz;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
*
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@Accessors(chain = true)
|
|
||||||
@TableName("QRTZ_JOB_DETAILS")
|
|
||||||
@ApiModel(value = "JobDetails对象", description = "")
|
|
||||||
public class JobDetails implements Serializable {
|
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableField(value = "SCHED_NAME")
|
|
||||||
private String schedName;
|
|
||||||
|
|
||||||
@TableField(value = "JOB_NAME")
|
|
||||||
private String jobName;
|
|
||||||
|
|
||||||
@TableField(value = "JOB_GROUP")
|
|
||||||
private String jobGroup;
|
|
||||||
|
|
||||||
private String description;
|
|
||||||
|
|
||||||
private String jobClassName;
|
|
||||||
|
|
||||||
private String isDurable;
|
|
||||||
|
|
||||||
private String isNonconcurrent;
|
|
||||||
|
|
||||||
private String isUpdateData;
|
|
||||||
|
|
||||||
private String requestsRecovery;
|
|
||||||
|
|
||||||
private byte[] jobData;
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
package cn.bunny.entity.system.quartz;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
*
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@Accessors(chain = true)
|
|
||||||
@TableName("QRTZ_LOCKS")
|
|
||||||
@ApiModel(value = "Locks对象", description = "")
|
|
||||||
public class Locks implements Serializable {
|
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableField(value = "SCHED_NAME")
|
|
||||||
private String schedName;
|
|
||||||
|
|
||||||
@TableField(value = "LOCK_NAME")
|
|
||||||
private String lockName;
|
|
||||||
}
|
|
|
@ -1,39 +0,0 @@
|
||||||
package cn.bunny.entity.system.quartz;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
*
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@Accessors(chain = true)
|
|
||||||
@TableName("QRTZ_PAUSED_TRIGGER_GRPS")
|
|
||||||
@ApiModel(value = "PausedTriggerGrps对象", description = "")
|
|
||||||
public class PausedTriggerGrps implements Serializable {
|
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableId(value = "SCHED_NAME")
|
|
||||||
private String schedName;
|
|
||||||
|
|
||||||
@TableField(value = "TRIGGER_GROUP")
|
|
||||||
private String triggerGroup;
|
|
||||||
}
|
|
|
@ -1,43 +0,0 @@
|
||||||
package cn.bunny.entity.system.quartz;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
*
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@Accessors(chain = true)
|
|
||||||
@TableName("QRTZ_SCHEDULER_STATE")
|
|
||||||
@ApiModel(value = "SchedulerState对象", description = "")
|
|
||||||
public class SchedulerState implements Serializable {
|
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableField(value = "SCHED_NAME")
|
|
||||||
private String schedName;
|
|
||||||
|
|
||||||
@TableField(value = "INSTANCE_NAME")
|
|
||||||
private String instanceName;
|
|
||||||
|
|
||||||
private Long lastCheckinTime;
|
|
||||||
|
|
||||||
private Long checkinInterval;
|
|
||||||
}
|
|
|
@ -1,48 +0,0 @@
|
||||||
package cn.bunny.entity.system.quartz;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
*
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@Accessors(chain = true)
|
|
||||||
@TableName("QRTZ_SIMPLE_TRIGGERS")
|
|
||||||
@ApiModel(value = "SimpleTriggers对象", description = "")
|
|
||||||
public class SimpleTriggers implements Serializable {
|
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableField(value = "SCHED_NAME")
|
|
||||||
private String schedName;
|
|
||||||
|
|
||||||
@TableField(value = "TRIGGER_NAME")
|
|
||||||
private String triggerName;
|
|
||||||
|
|
||||||
@TableField(value = "TRIGGER_GROUP")
|
|
||||||
private String triggerGroup;
|
|
||||||
|
|
||||||
private Long repeatCount;
|
|
||||||
|
|
||||||
private Long repeatInterval;
|
|
||||||
|
|
||||||
private Long timesTriggered;
|
|
||||||
}
|
|
|
@ -1,65 +0,0 @@
|
||||||
package cn.bunny.entity.system.quartz;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
*
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@Accessors(chain = true)
|
|
||||||
@TableName("QRTZ_SIMPROP_TRIGGERS")
|
|
||||||
@ApiModel(value = "SimpropTriggers对象", description = "")
|
|
||||||
public class SimpropTriggers implements Serializable {
|
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableField(value = "SCHED_NAME")
|
|
||||||
private String schedName;
|
|
||||||
|
|
||||||
@TableField(value = "TRIGGER_NAME")
|
|
||||||
private String triggerName;
|
|
||||||
|
|
||||||
@TableField(value = "TRIGGER_GROUP")
|
|
||||||
private String triggerGroup;
|
|
||||||
|
|
||||||
private String strProp1;
|
|
||||||
|
|
||||||
private String strProp2;
|
|
||||||
|
|
||||||
private String strProp3;
|
|
||||||
|
|
||||||
private Integer intProp1;
|
|
||||||
|
|
||||||
private Integer intProp2;
|
|
||||||
|
|
||||||
private Long longProp1;
|
|
||||||
|
|
||||||
private Long longProp2;
|
|
||||||
|
|
||||||
private BigDecimal decProp1;
|
|
||||||
|
|
||||||
private BigDecimal decProp2;
|
|
||||||
|
|
||||||
private String boolProp1;
|
|
||||||
|
|
||||||
private String boolProp2;
|
|
||||||
}
|
|
|
@ -1,68 +0,0 @@
|
||||||
package cn.bunny.entity.system.quartz;
|
|
||||||
|
|
||||||
import com.baomidou.mybatisplus.annotation.IdType;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableField;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableId;
|
|
||||||
import com.baomidou.mybatisplus.annotation.TableName;
|
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.io.Serializable;
|
|
||||||
import io.swagger.annotations.ApiModel;
|
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
|
||||||
import lombok.Getter;
|
|
||||||
import lombok.Setter;
|
|
||||||
import lombok.experimental.Accessors;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
*
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Getter
|
|
||||||
@Setter
|
|
||||||
@Accessors(chain = true)
|
|
||||||
@TableName("QRTZ_TRIGGERS")
|
|
||||||
@ApiModel(value = "Triggers对象", description = "")
|
|
||||||
public class Triggers implements Serializable {
|
|
||||||
|
|
||||||
@Serial
|
|
||||||
private static final long serialVersionUID = 1L;
|
|
||||||
|
|
||||||
@TableField(value = "SCHED_NAME")
|
|
||||||
private String schedName;
|
|
||||||
|
|
||||||
@TableField(value = "TRIGGER_NAME")
|
|
||||||
private String triggerName;
|
|
||||||
|
|
||||||
@TableField(value = "TRIGGER_GROUP")
|
|
||||||
private String triggerGroup;
|
|
||||||
|
|
||||||
private String jobName;
|
|
||||||
|
|
||||||
private String jobGroup;
|
|
||||||
|
|
||||||
private String description;
|
|
||||||
|
|
||||||
private Long nextFireTime;
|
|
||||||
|
|
||||||
private Long prevFireTime;
|
|
||||||
|
|
||||||
private Integer priority;
|
|
||||||
|
|
||||||
private String triggerState;
|
|
||||||
|
|
||||||
private String triggerType;
|
|
||||||
|
|
||||||
private Long startTime;
|
|
||||||
|
|
||||||
private Long endTime;
|
|
||||||
|
|
||||||
private String calendarName;
|
|
||||||
|
|
||||||
private Short misfireInstr;
|
|
||||||
|
|
||||||
private byte[] jobData;
|
|
||||||
}
|
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.bunny.service.controller.web;
|
package cn.bunny.service.controller;
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
@ -1,9 +1,9 @@
|
||||||
package cn.bunny.service.controller.quartz;
|
package cn.bunny.service.controller;
|
||||||
|
|
||||||
import cn.bunny.dto.quartz.QuartzAddDto;
|
import cn.bunny.dto.quartz.QuartzAddDto;
|
||||||
import cn.bunny.dto.quartz.QuartzPauseOrResumeDto;
|
import cn.bunny.dto.quartz.QuartzOperationDto;
|
||||||
import cn.bunny.pojo.result.Result;
|
import cn.bunny.pojo.result.Result;
|
||||||
import cn.bunny.service.service.quartz.JobService;
|
import cn.bunny.service.service.JobService;
|
||||||
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
@ -26,15 +26,22 @@ public class JobController {
|
||||||
|
|
||||||
@Operation(summary = "暂停任务", description = "暂停任务")
|
@Operation(summary = "暂停任务", description = "暂停任务")
|
||||||
@PutMapping("/pause")
|
@PutMapping("/pause")
|
||||||
public Result<String> pause(@RequestBody QuartzPauseOrResumeDto dto) {
|
public Result<String> pause(@RequestBody QuartzOperationDto dto) {
|
||||||
jobService.pause(dto);
|
jobService.pause(dto);
|
||||||
return Result.success();
|
return Result.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Operation(summary = "恢复任务", description = "恢复任务")
|
@Operation(summary = "恢复任务", description = "恢复任务")
|
||||||
@PutMapping("/resume")
|
@PutMapping("/resume")
|
||||||
public Result<String> resume(@RequestBody QuartzPauseOrResumeDto dto) {
|
public Result<String> resume(@RequestBody QuartzOperationDto dto) {
|
||||||
jobService.resume(dto);
|
jobService.resume(dto);
|
||||||
return Result.success();
|
return Result.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Operation(summary = "移出任务", description = "移出任务")
|
||||||
|
@DeleteMapping("/remove")
|
||||||
|
public Result<String> remove(@RequestBody QuartzOperationDto dto) {
|
||||||
|
jobService.remove(dto);
|
||||||
|
return Result.success();
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -1,9 +1,9 @@
|
||||||
package cn.bunny.service.controller.web;
|
package cn.bunny.service.controller;
|
||||||
|
|
||||||
|
|
||||||
import cn.bunny.dto.user.LoginDto;
|
import cn.bunny.dto.user.LoginDto;
|
||||||
import cn.bunny.pojo.result.Result;
|
import cn.bunny.pojo.result.Result;
|
||||||
import cn.bunny.service.service.web.UserService;
|
import cn.bunny.service.service.UserService;
|
||||||
import cn.bunny.vo.system.login.LoginVo;
|
import cn.bunny.vo.system.login.LoginVo;
|
||||||
import io.swagger.v3.oas.annotations.Operation;
|
import io.swagger.v3.oas.annotations.Operation;
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.bunny.service.mapper.web;
|
package cn.bunny.service.mapper;
|
||||||
|
|
||||||
import cn.bunny.entity.system.admin.AdminPower;
|
import cn.bunny.entity.system.admin.AdminPower;
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.bunny.service.mapper.web;
|
package cn.bunny.service.mapper;
|
||||||
|
|
||||||
import cn.bunny.entity.system.admin.AdminRole;
|
import cn.bunny.entity.system.admin.AdminRole;
|
||||||
import cn.bunny.entity.system.admin.auth.AuthUserRole;
|
import cn.bunny.entity.system.admin.auth.AuthUserRole;
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.bunny.service.mapper.web;
|
package cn.bunny.service.mapper;
|
||||||
|
|
||||||
import cn.bunny.entity.system.email.EmailUsers;
|
import cn.bunny.entity.system.email.EmailUsers;
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.bunny.service.mapper.web;
|
package cn.bunny.service.mapper;
|
||||||
|
|
||||||
import cn.bunny.entity.system.log.SystemLog;
|
import cn.bunny.entity.system.log.SystemLog;
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.bunny.service.mapper.web;
|
package cn.bunny.service.mapper;
|
||||||
|
|
||||||
import cn.bunny.entity.system.user.User;
|
import cn.bunny.entity.system.user.User;
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
@ -1,18 +0,0 @@
|
||||||
package cn.bunny.service.mapper.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.entity.system.quartz.BlobTriggers;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface BlobTriggersMapper extends BaseMapper<BlobTriggers> {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
package cn.bunny.service.mapper.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.entity.system.quartz.Calendars;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface CalendarsMapper extends BaseMapper<Calendars> {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
package cn.bunny.service.mapper.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.entity.system.quartz.CronTriggers;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface CronTriggersMapper extends BaseMapper<CronTriggers> {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
package cn.bunny.service.mapper.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.entity.system.quartz.FiredTriggers;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface FiredTriggersMapper extends BaseMapper<FiredTriggers> {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
package cn.bunny.service.mapper.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.entity.system.quartz.JobDetails;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface JobDetailsMapper extends BaseMapper<JobDetails> {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
package cn.bunny.service.mapper.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.entity.system.quartz.Locks;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface LocksMapper extends BaseMapper<Locks> {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
package cn.bunny.service.mapper.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.entity.system.quartz.PausedTriggerGrps;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface PausedTriggerGrpsMapper extends BaseMapper<PausedTriggerGrps> {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
package cn.bunny.service.mapper.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.entity.system.quartz.SchedulerState;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface SchedulerStateMapper extends BaseMapper<SchedulerState> {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
package cn.bunny.service.mapper.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.entity.system.quartz.SimpleTriggers;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface SimpleTriggersMapper extends BaseMapper<SimpleTriggers> {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
package cn.bunny.service.mapper.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.entity.system.quartz.SimpropTriggers;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface SimpropTriggersMapper extends BaseMapper<SimpropTriggers> {
|
|
||||||
|
|
||||||
}
|
|
|
@ -1,18 +0,0 @@
|
||||||
package cn.bunny.service.mapper.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.entity.system.quartz.Triggers;
|
|
||||||
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* <p>
|
|
||||||
* Mapper 接口
|
|
||||||
* </p>
|
|
||||||
*
|
|
||||||
* @author Bunny
|
|
||||||
* @since 2024-07-25
|
|
||||||
*/
|
|
||||||
@Mapper
|
|
||||||
public interface TriggersMapper extends BaseMapper<Triggers> {
|
|
||||||
|
|
||||||
}
|
|
|
@ -3,7 +3,7 @@ package cn.bunny.service.security;
|
||||||
import cn.bunny.common.service.utils.JwtHelper;
|
import cn.bunny.common.service.utils.JwtHelper;
|
||||||
import cn.bunny.entity.system.admin.AdminPower;
|
import cn.bunny.entity.system.admin.AdminPower;
|
||||||
import cn.bunny.security.service.CustomAuthorizationManagerService;
|
import cn.bunny.security.service.CustomAuthorizationManagerService;
|
||||||
import cn.bunny.service.mapper.web.AdminPowerMapper;
|
import cn.bunny.service.mapper.AdminPowerMapper;
|
||||||
import jakarta.servlet.http.HttpServletRequest;
|
import jakarta.servlet.http.HttpServletRequest;
|
||||||
import lombok.extern.slf4j.Slf4j;
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
|
|
@ -4,9 +4,9 @@ import cn.bunny.dto.user.LoginDto;
|
||||||
import cn.bunny.entity.system.admin.AdminRole;
|
import cn.bunny.entity.system.admin.AdminRole;
|
||||||
import cn.bunny.entity.system.user.User;
|
import cn.bunny.entity.system.user.User;
|
||||||
import cn.bunny.security.custom.CustomUser;
|
import cn.bunny.security.custom.CustomUser;
|
||||||
import cn.bunny.service.mapper.web.AdminRoleMapper;
|
import cn.bunny.service.mapper.AdminRoleMapper;
|
||||||
import cn.bunny.service.mapper.web.UserMapper;
|
import cn.bunny.service.mapper.UserMapper;
|
||||||
import cn.bunny.service.service.web.UserService;
|
import cn.bunny.service.service.UserService;
|
||||||
import cn.bunny.vo.system.login.LoginVo;
|
import cn.bunny.vo.system.login.LoginVo;
|
||||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
|
|
@ -0,0 +1,35 @@
|
||||||
|
package cn.bunny.service.service;
|
||||||
|
|
||||||
|
import cn.bunny.dto.quartz.QuartzAddDto;
|
||||||
|
import cn.bunny.dto.quartz.QuartzOperationDto;
|
||||||
|
|
||||||
|
public interface JobService {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* * 添加任务
|
||||||
|
*
|
||||||
|
* @param dto 添加任务
|
||||||
|
*/
|
||||||
|
void addJob(QuartzAddDto dto);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* * 暂停任务
|
||||||
|
*
|
||||||
|
* @param dto 暂停任务
|
||||||
|
*/
|
||||||
|
void pause(QuartzOperationDto dto);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* * 恢复任务
|
||||||
|
*
|
||||||
|
* @param dto 恢复任务
|
||||||
|
*/
|
||||||
|
void resume(QuartzOperationDto dto);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* * 移出任务
|
||||||
|
*
|
||||||
|
* @param dto 移出任务
|
||||||
|
*/
|
||||||
|
void remove(QuartzOperationDto dto);
|
||||||
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.bunny.service.service.web;
|
package cn.bunny.service.service;
|
||||||
|
|
||||||
import cn.bunny.dto.user.LoginDto;
|
import cn.bunny.dto.user.LoginDto;
|
||||||
import cn.bunny.entity.system.user.User;
|
import cn.bunny.entity.system.user.User;
|
|
@ -1,13 +1,11 @@
|
||||||
package cn.bunny.service.service.quartz.impl;
|
package cn.bunny.service.service.impl;
|
||||||
|
|
||||||
import cn.bunny.dto.quartz.QuartzAddDto;
|
import cn.bunny.dto.quartz.QuartzAddDto;
|
||||||
import cn.bunny.dto.quartz.QuartzPauseOrResumeDto;
|
import cn.bunny.dto.quartz.QuartzOperationDto;
|
||||||
import cn.bunny.entity.system.quartz.JobDetails;
|
import cn.bunny.service.service.JobService;
|
||||||
import cn.bunny.service.mapper.quartz.JobDetailsMapper;
|
|
||||||
import cn.bunny.service.service.quartz.JobService;
|
|
||||||
import com.baomidou.dynamic.datasource.annotation.DS;
|
import com.baomidou.dynamic.datasource.annotation.DS;
|
||||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
||||||
import lombok.SneakyThrows;
|
import lombok.SneakyThrows;
|
||||||
|
import lombok.extern.slf4j.Slf4j;
|
||||||
import org.quartz.*;
|
import org.quartz.*;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
@ -17,7 +15,8 @@ import java.lang.reflect.Constructor;
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
@Service
|
@Service
|
||||||
@DS("quartz")
|
@DS("quartz")
|
||||||
public class JobServiceImpl extends ServiceImpl<JobDetailsMapper, JobDetails> implements JobService {
|
@Slf4j
|
||||||
|
public class JobServiceImpl implements JobService {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private Scheduler scheduler;
|
private Scheduler scheduler;
|
||||||
|
@ -62,7 +61,7 @@ public class JobServiceImpl extends ServiceImpl<JobDetailsMapper, JobDetails> im
|
||||||
*/
|
*/
|
||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
@Override
|
@Override
|
||||||
public void pause(QuartzPauseOrResumeDto dto) {
|
public void pause(QuartzOperationDto dto) {
|
||||||
JobKey key = new JobKey(dto.getJobName(), dto.getJobGroup());
|
JobKey key = new JobKey(dto.getJobName(), dto.getJobGroup());
|
||||||
scheduler.pauseJob(key);
|
scheduler.pauseJob(key);
|
||||||
}
|
}
|
||||||
|
@ -74,8 +73,27 @@ public class JobServiceImpl extends ServiceImpl<JobDetailsMapper, JobDetails> im
|
||||||
*/
|
*/
|
||||||
@SneakyThrows
|
@SneakyThrows
|
||||||
@Override
|
@Override
|
||||||
public void resume(QuartzPauseOrResumeDto dto) {
|
public void resume(QuartzOperationDto dto) {
|
||||||
JobKey key = new JobKey(dto.getJobName(), dto.getJobGroup());
|
JobKey key = new JobKey(dto.getJobName(), dto.getJobGroup());
|
||||||
scheduler.resumeJob(key);
|
scheduler.resumeJob(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* * 移出任务
|
||||||
|
*
|
||||||
|
* @param dto 移出任务
|
||||||
|
*/
|
||||||
|
@SneakyThrows
|
||||||
|
@Override
|
||||||
|
public void remove(QuartzOperationDto dto) {
|
||||||
|
String jobGroup = dto.getJobGroup();
|
||||||
|
String jobName = dto.getJobName();
|
||||||
|
|
||||||
|
TriggerKey triggerKey = TriggerKey.triggerKey(jobName, jobGroup);
|
||||||
|
scheduler.pauseTrigger(triggerKey);
|
||||||
|
scheduler.unscheduleJob(triggerKey);
|
||||||
|
scheduler.deleteJob(JobKey.jobKey(jobName, jobGroup));
|
||||||
|
|
||||||
|
log.warn("删除成功");
|
||||||
|
}
|
||||||
}
|
}
|
|
@ -1,4 +1,4 @@
|
||||||
package cn.bunny.service.service.web.impl;
|
package cn.bunny.service.service.impl;
|
||||||
|
|
||||||
import cn.bunny.common.service.utils.EmptyUtil;
|
import cn.bunny.common.service.utils.EmptyUtil;
|
||||||
import cn.bunny.common.service.utils.JwtHelper;
|
import cn.bunny.common.service.utils.JwtHelper;
|
||||||
|
@ -13,11 +13,11 @@ import cn.bunny.pojo.email.EmailSendInit;
|
||||||
import cn.bunny.pojo.result.constant.ExceptionConstant;
|
import cn.bunny.pojo.result.constant.ExceptionConstant;
|
||||||
import cn.bunny.pojo.result.constant.MailMessageConstant;
|
import cn.bunny.pojo.result.constant.MailMessageConstant;
|
||||||
import cn.bunny.pojo.result.constant.RedisUserConstant;
|
import cn.bunny.pojo.result.constant.RedisUserConstant;
|
||||||
import cn.bunny.service.mapper.web.AdminPowerMapper;
|
import cn.bunny.service.mapper.AdminPowerMapper;
|
||||||
import cn.bunny.service.mapper.web.AdminRoleMapper;
|
import cn.bunny.service.mapper.AdminRoleMapper;
|
||||||
import cn.bunny.service.mapper.web.EmailUsersMapper;
|
import cn.bunny.service.mapper.EmailUsersMapper;
|
||||||
import cn.bunny.service.mapper.web.UserMapper;
|
import cn.bunny.service.mapper.UserMapper;
|
||||||
import cn.bunny.service.service.web.UserService;
|
import cn.bunny.service.service.UserService;
|
||||||
import cn.bunny.vo.system.login.LoginVo;
|
import cn.bunny.vo.system.login.LoginVo;
|
||||||
import cn.hutool.captcha.CaptchaUtil;
|
import cn.hutool.captcha.CaptchaUtil;
|
||||||
import cn.hutool.captcha.CircleCaptcha;
|
import cn.hutool.captcha.CircleCaptcha;
|
|
@ -1,30 +0,0 @@
|
||||||
package cn.bunny.service.service.quartz;
|
|
||||||
|
|
||||||
import cn.bunny.dto.quartz.QuartzAddDto;
|
|
||||||
import cn.bunny.dto.quartz.QuartzPauseOrResumeDto;
|
|
||||||
import cn.bunny.entity.system.quartz.JobDetails;
|
|
||||||
import com.baomidou.mybatisplus.extension.service.IService;
|
|
||||||
|
|
||||||
public interface JobService extends IService<JobDetails> {
|
|
||||||
|
|
||||||
/**
|
|
||||||
* * 添加任务
|
|
||||||
*
|
|
||||||
* @param dto 添加任务
|
|
||||||
*/
|
|
||||||
void addJob(QuartzAddDto dto);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* * 暂停任务
|
|
||||||
*
|
|
||||||
* @param dto 暂停任务
|
|
||||||
*/
|
|
||||||
void pause(QuartzPauseOrResumeDto dto);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* * 恢复任务
|
|
||||||
*
|
|
||||||
* @param dto 恢复任务
|
|
||||||
*/
|
|
||||||
void resume(QuartzPauseOrResumeDto dto);
|
|
||||||
}
|
|
|
@ -51,7 +51,7 @@ spring:
|
||||||
overwrite-existing-jobs: false
|
overwrite-existing-jobs: false
|
||||||
|
|
||||||
mybatis-plus:
|
mybatis-plus:
|
||||||
mapper-locations: classpath:mapper/*/*.xml
|
mapper-locations: classpath:mapper/*.xml
|
||||||
global-config:
|
global-config:
|
||||||
db-config:
|
db-config:
|
||||||
logic-delete-field: isDelete
|
logic-delete-field: isDelete
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.bunny.service.mapper.web.AdminPowerMapper">
|
<mapper namespace="cn.bunny.service.mapper.AdminPowerMapper">
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
<!-- 通用查询映射结果 -->
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.admin.AdminPower">
|
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.admin.AdminPower">
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.bunny.service.mapper.web.AdminRoleMapper">
|
<mapper namespace="cn.bunny.service.mapper.AdminRoleMapper">
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
<!-- 通用查询映射结果 -->
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.admin.AdminRole">
|
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.admin.AdminRole">
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.bunny.service.mapper.web.EmailUsersMapper">
|
<mapper namespace="cn.bunny.service.mapper.EmailUsersMapper">
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
<!-- 通用查询映射结果 -->
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.email.EmailUsers">
|
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.email.EmailUsers">
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.bunny.service.mapper.web.SystemLogMapper">
|
<mapper namespace="cn.bunny.service.mapper.SystemLogMapper">
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
<!-- 通用查询映射结果 -->
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.log.SystemLog">
|
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.log.SystemLog">
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
||||||
<mapper namespace="cn.bunny.service.mapper.web.UserMapper">
|
<mapper namespace="cn.bunny.service.mapper.UserMapper">
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
<!-- 通用查询映射结果 -->
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.user.User">
|
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.user.User">
|
|
@ -1,18 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="cn.bunny.service.mapper.quartz.BlobTriggersMapper">
|
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.quartz.BlobTriggers">
|
|
||||||
<id column="SCHED_NAME" property="schedName"/>
|
|
||||||
<id column="TRIGGER_NAME" property="triggerName"/>
|
|
||||||
<id column="TRIGGER_GROUP" property="triggerGroup"/>
|
|
||||||
<result column="BLOB_DATA" property="blobData"/>
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<!-- 通用查询结果列 -->
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP, BLOB_DATA
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
</mapper>
|
|
|
@ -1,17 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="cn.bunny.service.mapper.quartz.CalendarsMapper">
|
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.quartz.Calendars">
|
|
||||||
<id column="SCHED_NAME" property="schedName" />
|
|
||||||
<id column="CALENDAR_NAME" property="calendarName" />
|
|
||||||
<result column="CALENDAR" property="calendar" />
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<!-- 通用查询结果列 -->
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
SCHED_NAME, CALENDAR_NAME, CALENDAR
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
</mapper>
|
|
|
@ -1,19 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="cn.bunny.service.mapper.quartz.CronTriggersMapper">
|
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.quartz.CronTriggers">
|
|
||||||
<id column="SCHED_NAME" property="schedName" />
|
|
||||||
<id column="TRIGGER_NAME" property="triggerName" />
|
|
||||||
<id column="TRIGGER_GROUP" property="triggerGroup" />
|
|
||||||
<result column="CRON_EXPRESSION" property="cronExpression" />
|
|
||||||
<result column="TIME_ZONE_ID" property="timeZoneId" />
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<!-- 通用查询结果列 -->
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP, CRON_EXPRESSION, TIME_ZONE_ID
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
</mapper>
|
|
|
@ -1,27 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="cn.bunny.service.mapper.quartz.FiredTriggersMapper">
|
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.quartz.FiredTriggers">
|
|
||||||
<id column="SCHED_NAME" property="schedName" />
|
|
||||||
<id column="ENTRY_ID" property="entryId" />
|
|
||||||
<result column="TRIGGER_NAME" property="triggerName" />
|
|
||||||
<result column="TRIGGER_GROUP" property="triggerGroup" />
|
|
||||||
<result column="INSTANCE_NAME" property="instanceName" />
|
|
||||||
<result column="FIRED_TIME" property="firedTime" />
|
|
||||||
<result column="SCHED_TIME" property="schedTime" />
|
|
||||||
<result column="PRIORITY" property="priority" />
|
|
||||||
<result column="STATE" property="state" />
|
|
||||||
<result column="JOB_NAME" property="jobName" />
|
|
||||||
<result column="JOB_GROUP" property="jobGroup" />
|
|
||||||
<result column="IS_NONCONCURRENT" property="isNonconcurrent" />
|
|
||||||
<result column="REQUESTS_RECOVERY" property="requestsRecovery" />
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<!-- 通用查询结果列 -->
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
SCHED_NAME, ENTRY_ID, TRIGGER_NAME, TRIGGER_GROUP, INSTANCE_NAME, FIRED_TIME, SCHED_TIME, PRIORITY, STATE, JOB_NAME, JOB_GROUP, IS_NONCONCURRENT, REQUESTS_RECOVERY
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
</mapper>
|
|
|
@ -1,24 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="cn.bunny.service.mapper.quartz.JobDetailsMapper">
|
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.quartz.JobDetails">
|
|
||||||
<id column="SCHED_NAME" property="schedName" />
|
|
||||||
<id column="JOB_NAME" property="jobName" />
|
|
||||||
<id column="JOB_GROUP" property="jobGroup" />
|
|
||||||
<result column="DESCRIPTION" property="description" />
|
|
||||||
<result column="JOB_CLASS_NAME" property="jobClassName" />
|
|
||||||
<result column="IS_DURABLE" property="isDurable" />
|
|
||||||
<result column="IS_NONCONCURRENT" property="isNonconcurrent" />
|
|
||||||
<result column="IS_UPDATE_DATA" property="isUpdateData" />
|
|
||||||
<result column="REQUESTS_RECOVERY" property="requestsRecovery" />
|
|
||||||
<result column="JOB_DATA" property="jobData" />
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<!-- 通用查询结果列 -->
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
SCHED_NAME, JOB_NAME, JOB_GROUP, DESCRIPTION, JOB_CLASS_NAME, IS_DURABLE, IS_NONCONCURRENT, IS_UPDATE_DATA, REQUESTS_RECOVERY, JOB_DATA
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
</mapper>
|
|
|
@ -1,16 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="cn.bunny.service.mapper.quartz.LocksMapper">
|
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.quartz.Locks">
|
|
||||||
<id column="SCHED_NAME" property="schedName" />
|
|
||||||
<id column="LOCK_NAME" property="lockName" />
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<!-- 通用查询结果列 -->
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
SCHED_NAME, LOCK_NAME
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
</mapper>
|
|
|
@ -1,16 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="cn.bunny.service.mapper.quartz.PausedTriggerGrpsMapper">
|
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.quartz.PausedTriggerGrps">
|
|
||||||
<id column="SCHED_NAME" property="schedName" />
|
|
||||||
<id column="TRIGGER_GROUP" property="triggerGroup" />
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<!-- 通用查询结果列 -->
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
SCHED_NAME, TRIGGER_GROUP
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
</mapper>
|
|
|
@ -1,18 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="cn.bunny.service.mapper.quartz.SchedulerStateMapper">
|
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.quartz.SchedulerState">
|
|
||||||
<id column="SCHED_NAME" property="schedName" />
|
|
||||||
<id column="INSTANCE_NAME" property="instanceName" />
|
|
||||||
<result column="LAST_CHECKIN_TIME" property="lastCheckinTime" />
|
|
||||||
<result column="CHECKIN_INTERVAL" property="checkinInterval" />
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<!-- 通用查询结果列 -->
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
SCHED_NAME, INSTANCE_NAME, LAST_CHECKIN_TIME, CHECKIN_INTERVAL
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
</mapper>
|
|
|
@ -1,20 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="cn.bunny.service.mapper.quartz.SimpleTriggersMapper">
|
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.quartz.SimpleTriggers">
|
|
||||||
<id column="SCHED_NAME" property="schedName" />
|
|
||||||
<id column="TRIGGER_NAME" property="triggerName" />
|
|
||||||
<id column="TRIGGER_GROUP" property="triggerGroup" />
|
|
||||||
<result column="REPEAT_COUNT" property="repeatCount" />
|
|
||||||
<result column="REPEAT_INTERVAL" property="repeatInterval" />
|
|
||||||
<result column="TIMES_TRIGGERED" property="timesTriggered" />
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<!-- 通用查询结果列 -->
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP, REPEAT_COUNT, REPEAT_INTERVAL, TIMES_TRIGGERED
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
</mapper>
|
|
|
@ -1,28 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="cn.bunny.service.mapper.quartz.SimpropTriggersMapper">
|
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.quartz.SimpropTriggers">
|
|
||||||
<id column="SCHED_NAME" property="schedName" />
|
|
||||||
<id column="TRIGGER_NAME" property="triggerName" />
|
|
||||||
<id column="TRIGGER_GROUP" property="triggerGroup" />
|
|
||||||
<result column="STR_PROP_1" property="strProp1" />
|
|
||||||
<result column="STR_PROP_2" property="strProp2" />
|
|
||||||
<result column="STR_PROP_3" property="strProp3" />
|
|
||||||
<result column="INT_PROP_1" property="intProp1" />
|
|
||||||
<result column="INT_PROP_2" property="intProp2" />
|
|
||||||
<result column="LONG_PROP_1" property="longProp1" />
|
|
||||||
<result column="LONG_PROP_2" property="longProp2" />
|
|
||||||
<result column="DEC_PROP_1" property="decProp1" />
|
|
||||||
<result column="DEC_PROP_2" property="decProp2" />
|
|
||||||
<result column="BOOL_PROP_1" property="boolProp1" />
|
|
||||||
<result column="BOOL_PROP_2" property="boolProp2" />
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<!-- 通用查询结果列 -->
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP, STR_PROP_1, STR_PROP_2, STR_PROP_3, INT_PROP_1, INT_PROP_2, LONG_PROP_1, LONG_PROP_2, DEC_PROP_1, DEC_PROP_2, BOOL_PROP_1, BOOL_PROP_2
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
</mapper>
|
|
|
@ -1,30 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
||||||
<mapper namespace="cn.bunny.service.mapper.quartz.TriggersMapper">
|
|
||||||
|
|
||||||
<!-- 通用查询映射结果 -->
|
|
||||||
<resultMap id="BaseResultMap" type="cn.bunny.entity.system.quartz.Triggers">
|
|
||||||
<id column="SCHED_NAME" property="schedName" />
|
|
||||||
<id column="TRIGGER_NAME" property="triggerName" />
|
|
||||||
<id column="TRIGGER_GROUP" property="triggerGroup" />
|
|
||||||
<result column="JOB_NAME" property="jobName" />
|
|
||||||
<result column="JOB_GROUP" property="jobGroup" />
|
|
||||||
<result column="DESCRIPTION" property="description" />
|
|
||||||
<result column="NEXT_FIRE_TIME" property="nextFireTime" />
|
|
||||||
<result column="PREV_FIRE_TIME" property="prevFireTime" />
|
|
||||||
<result column="PRIORITY" property="priority" />
|
|
||||||
<result column="TRIGGER_STATE" property="triggerState" />
|
|
||||||
<result column="TRIGGER_TYPE" property="triggerType" />
|
|
||||||
<result column="START_TIME" property="startTime" />
|
|
||||||
<result column="END_TIME" property="endTime" />
|
|
||||||
<result column="CALENDAR_NAME" property="calendarName" />
|
|
||||||
<result column="MISFIRE_INSTR" property="misfireInstr" />
|
|
||||||
<result column="JOB_DATA" property="jobData" />
|
|
||||||
</resultMap>
|
|
||||||
|
|
||||||
<!-- 通用查询结果列 -->
|
|
||||||
<sql id="Base_Column_List">
|
|
||||||
SCHED_NAME, TRIGGER_NAME, TRIGGER_GROUP, JOB_NAME, JOB_GROUP, DESCRIPTION, NEXT_FIRE_TIME, PREV_FIRE_TIME, PRIORITY, TRIGGER_STATE, TRIGGER_TYPE, START_TIME, END_TIME, CALENDAR_NAME, MISFIRE_INSTR, JOB_DATA
|
|
||||||
</sql>
|
|
||||||
|
|
||||||
</mapper>
|
|
Loading…
Reference in New Issue