Commit 34669944 authored by hujun's avatar hujun

收款记录搜索

parent 1e8678ae
...@@ -42,7 +42,7 @@ class Collection extends Basic ...@@ -42,7 +42,7 @@ class Collection extends Basic
if (!empty($this->params['end_time']) && !empty($this->params['start_time'])) { if (!empty($this->params['end_time']) && !empty($this->params['start_time'])) {
$where['a.create_time'] = ['between time', [ $where['a.create_time'] = ['between time', [
$this->params['end_time']. ' 00:00:00',$this->params['start_time']. ' 23:59:59' $this->params['start_time']. ' 00:00:00',$this->params['end_time']. ' 23:59:59'
]]; ]];
} }
...@@ -60,7 +60,7 @@ class Collection extends Basic ...@@ -60,7 +60,7 @@ class Collection extends Basic
if (!empty($this->params['id'])) { if (!empty($this->params['id'])) {
$where['d.id'] = $this->params['id']; $where['a.house_number'] = $this->params['id'];
} }
if (!empty($this->params['store_name'])) { if (!empty($this->params['store_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