Commit 2a5c1d13 authored by hujun's avatar hujun

搜索

parent ae01b850
...@@ -817,7 +817,7 @@ class Finance extends Basic ...@@ -817,7 +817,7 @@ class Finance extends Basic
if ($this->params['is_self']) { if ($this->params['is_self']) {
$where['e.operation_id'] = $this->userId; $where['e.operation_id'] = $this->userId;
} else { } else {
$where['e.operation_id'] = ['<>', $this->userId]; $where[] = ['EXP', 'e.operation_id IS NULL OR e.operation_id <> '.$this->userId];
} }
} }
...@@ -3258,7 +3258,7 @@ class Finance extends Basic ...@@ -3258,7 +3258,7 @@ class Finance extends Basic
if ($this->params['is_self']) { if ($this->params['is_self']) {
$where['b.operation_id'] = $this->userId; $where['b.operation_id'] = $this->userId;
} else { } else {
$where['b.operation_id'] = ['<>', $this->userId]; $where[] = ['EXP', 'b.operation_id IS NULL OR b.operation_id <> '.$this->userId];
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment