fix: 修复最后执行时间不更新的问题 (#9694)

Co-authored-by: Aaron3S <chenyang@fit2cloud.com>
This commit is contained in:
fit2bot
2023-02-22 18:53:35 +08:00
committed by GitHub
parent a4e920e410
commit ddcd09c6a6

View File

@@ -118,7 +118,7 @@ class Job(JMSOrgBaseModel, PeriodTaskModelMixin):
@property
def last_execution(self):
return self.executions.last()
return self.executions.first()
@property
def date_last_run(self):