Commit 83d44a34 authored by zhuwei's avatar zhuwei

//

parent 2c963ac6
......@@ -1064,7 +1064,7 @@ class Finance extends Basic
$where['d.income_time'] = ['between', [$this->params['income_start_time']. ' 00:00:00', $this->params['income_end_time']. ' 23:59:59']];
}
if (isset($this->params['type']) && $this->params['type'] != -1) {
if (is_numeric($this->params['type']) && $this->params['type'] != -1) {
$where['a.type'] = $this->params['type'];
}
......
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