|
|
@@ -248,7 +248,7 @@ class OrderIssueFilters
|
|
|
public function log_content($log_content)
|
|
|
{
|
|
|
$order_issue_process_log_query = OrderIssueProcessLog::query()->selectRaw('order_issue_id')->where('content', 'like', $log_content);
|
|
|
- if (!$this->params['addtime']) {
|
|
|
+ if (!array_key_exists('addtime',$this->params) ) {
|
|
|
$order_issue_process_log_query->where('created_at', '>=', Carbon::now()->subDays(31));
|
|
|
} else {
|
|
|
$order_issue_process_log_query->where('created_at', '>=', Carbon::now()->subDays($this->params['addtime']));
|