修改时间
This commit is contained in:
parent
a3aa635f59
commit
7969b8debd
|
|
@ -40,6 +40,21 @@ public class TaskPlan {
|
|||
private Date endDate;
|
||||
|
||||
/** 执行时间 */
|
||||
/**
|
||||
* 对于周期任务
|
||||
* - 数据格式 : Date 类型,包含完整的日期和时间信息
|
||||
* - 使用逻辑 :
|
||||
* - 从 executeTime 中提取时分秒部分
|
||||
* - 将这些时分秒应用到当前周期任务的日期上
|
||||
* - 生成一个新的 Date 对象作为任务的开始时间
|
||||
* - 示例 :
|
||||
* - 如果 executeTime 设置为 "2026-03-06 14:30:00"
|
||||
* - 当生成 2026-03-10 的周期任务时,任务开始时间会是 "2026-03-10 14:30:00"
|
||||
* - 当生成 2026-03-15 的周期任务时,任务开始时间会是 "2026-03-15 14:30:00"
|
||||
*
|
||||
* 对于定时任务
|
||||
* executeTime 就是执行时间
|
||||
*/
|
||||
private Date executeTime;
|
||||
|
||||
/** 航线ID */
|
||||
|
|
|
|||
Loading…
Reference in New Issue