diff --git a/module/execution/control.php b/module/execution/control.php index dfe936fd34..6072474a5b 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -2545,7 +2545,7 @@ class execution extends control /* 获取这个时间段的操作日志列表。*/ $period = $type == 'account' ? 'all' : $type; $orderBy = $direction == 'next' ? 'date_desc' : 'date_asc'; - $date = empty($date) ? '' : date('Y-m-d', $date); + $date = empty($date) ? '' : date('Y-m-d', (int)$date); $actions = $this->loadModel('action')->getDynamic($account, $period, $orderBy, 50, 'all', 'all', $executionID, $date, $direction); $dateGroups = $this->action->buildDateGroup($actions, $direction); if(empty($recTotal)) $recTotal = count($dateGroups) < 2 ? count($dateGroups, 1) - count($dateGroups) : $this->action->getDynamicCount();