From 010c40459eaf3e5a7881726d51f242c786ea0b15 Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 8 Oct 2024 09:17:31 +0800 Subject: [PATCH] * [bug#55326,done,0.3h] update date. --- module/execution/model.php | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/module/execution/model.php b/module/execution/model.php index 6788f6ebbc..eb8f905e3d 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -4857,8 +4857,13 @@ class executionModel extends model if($status == 'wait') { - $execution->closedBy = ''; - $execution->canceledBy = ''; + $execution->closedBy = ''; + $execution->canceledBy = ''; + $execution->closedDate = null; + $execution->canceledDate = null; + $execution->realBegan = null; + $execution->realEnd = null; + $execution->suspendedDate = null; } elseif($status == 'doing') { @@ -4870,6 +4875,8 @@ class executionModel extends model { $execution->suspendedDate = helper::now(); $execution->closedBy = ''; + $execution->closedDate = null; + $execution->realEnd = null; } elseif($status == 'closed') {