UpdateTime 更新任务的时间
(ctx context.Context, id int64)
| 48 | |
| 49 | // UpdateTime 更新任务的时间 |
| 50 | func (c *cronJobRepository) UpdateTime(ctx context.Context, id int64) error { |
| 51 | return c.dao.UpdateTime(ctx, id) |
| 52 | } |
| 53 | |
| 54 | // UpdateNextTime 更新任务的下次执行时间 |
| 55 | func (c *cronJobRepository) UpdateNextTime(ctx context.Context, id int64, nextTime time.Time) error { |
nothing calls this directly
no test coverage detected