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

Co-authored-by: Aaron3S <chenyang@fit2cloud.com>
pull/9696/head
fit2bot 2023-02-22 18:53:35 +08:00 committed by GitHub
parent a4e920e410
commit ddcd09c6a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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):