From ddcd09c6a6353708ce953d02fdf0af4622f89814 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Wed, 22 Feb 2023 18:53:35 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9C=80=E5=90=8E?= =?UTF-8?q?=E6=89=A7=E8=A1=8C=E6=97=B6=E9=97=B4=E4=B8=8D=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=20(#9694)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Aaron3S --- apps/ops/models/job.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ops/models/job.py b/apps/ops/models/job.py index 51a8db528..bd410a8e7 100644 --- a/apps/ops/models/job.py +++ b/apps/ops/models/job.py @@ -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):