Commit ddeec98d authored by hujun's avatar hujun

status

parent 04c42a0a
...@@ -742,6 +742,11 @@ class Finance extends Basic ...@@ -742,6 +742,11 @@ class Finance extends Basic
$m_store = new AStore(); $m_store = new AStore();
$where['a.is_del'] = 0; $where['a.is_del'] = 0;
if (!empty($this->params['status'])) {
$where['a.status'] = $this->params['status'];
}
if (!empty($this->params['start_time']) && empty($this->params['end_time'])) { if (!empty($this->params['start_time']) && empty($this->params['end_time'])) {
$where['a.create_time'] = ['>', $this->params['start_time']. ' 00:00:00']; $where['a.create_time'] = ['>', $this->params['start_time']. ' 00:00:00'];
} }
......
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