Commit b10a3262 authored by hujun's avatar hujun

收款记录搜索类型

parent b6d672e8
...@@ -80,6 +80,14 @@ class Collection extends Basic ...@@ -80,6 +80,14 @@ class Collection extends Basic
$where['e.phone'] = ['like','%'.$this->params['report_phone'].'%']; $where['e.phone'] = ['like','%'.$this->params['report_phone'].'%'];
} }
if (!empty($this->params['pay_type'])) {
$where['a.trade_type'] = $this->params['pay_type'];
}
if (!empty($this->params['type'])) {
$where['a.role'] = $this->params['type'];
}
if (!empty($this->params['report_name'])) { if (!empty($this->params['report_name'])) {
$where['e.name'] = ['like','%'.$this->params['report_name'].'%']; $where['e.name'] = ['like','%'.$this->params['report_name'].'%'];
} }
......
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