Commit d51da57c authored by hujun's avatar hujun

成交报告审核搜索优化

parent 5d48e65f
......@@ -228,6 +228,10 @@ class Finance extends Basic
}
}
if (empty($where_id)) {
return $this->response(200, "");
}
if (!empty($where['a.id'])) {
$where_id[] = $where['a.id'];
}
......@@ -252,8 +256,8 @@ class Finance extends Basic
}
}
if (!empty($where['a.id'])) {
$where_id[] = $where['a.id'];
if (!empty($this->params['bargain_id'])) {
$where_id[] = $this->params['bargain_id'];
}
$where['a.id'] = [ 'in', array_unique($where_id) ];
}
......
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