From 2e491586ad8135cef81c1962a496b4c4a43bb6ec Mon Sep 17 00:00:00 2001 From: zhuyu Date: Thu, 26 Jun 2025 14:57:27 +0800 Subject: [PATCH] =?UTF-8?q?feature:=20=E6=8E=92=E7=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/admin/controller/oa/CustomSchedule.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/application/admin/controller/oa/CustomSchedule.php b/application/admin/controller/oa/CustomSchedule.php index ae55e89..556896c 100644 --- a/application/admin/controller/oa/CustomSchedule.php +++ b/application/admin/controller/oa/CustomSchedule.php @@ -176,12 +176,16 @@ class CustomSchedule extends Backend $execAdminIds = explode(',', $params['exec_admin_id']); $schedules = []; + $nowTime = date('Y-m-d H:i:s'); foreach ($execAdminIds as $execAdminId) { foreach ($dates as $date) { $schedules[] = [ + 'admin_id' => $this->auth->id, 'exec_admin_id' => $execAdminId, 'date' => $date, 'type' => $type, + "create_time" => $nowTime, + "update_time" => $nowTime, ]; } } @@ -291,6 +295,7 @@ class CustomSchedule extends Backend $nowTime = date('Y-m-d H:i:s'); if (!empty($data)) { $data->save([ + 'admin_id' => $this->auth->id, "date" => $date, "exec_admin_id" => $adminId, "type" => $dbValue, @@ -299,6 +304,7 @@ class CustomSchedule extends Backend } $this->model->insert([ + 'admin_id' => $this->auth->id, "date" => $date, "exec_admin_id" => $adminId, "type" => $dbValue,