Commit b2eb3f04 authored by hujun's avatar hujun

house_id

parent fe08fd9f
......@@ -2982,7 +2982,6 @@ class Finance extends Basic
if (!empty($this->params['address'])) {
$m_house = new GHouses();
$id = $m_house->getList(1, 20, 'id desc', 'id',['internal_address'=>['like', '%' . $this->params['address'] . '%']]);
// $where['d.internal_address'] = ['like', '%' . $this->params['internal_address'] . '%'];
foreach ($id as $v) {
$id_arr[] = $v['id'];
......@@ -2994,8 +2993,7 @@ class Finance extends Basic
if (!empty($id_arr)) {
$id_arr = array_unique($id_arr);
$id_str = implode(',', $id_arr);
$where['e.house_id'] = $id_str;
$where['e.house_id'] = ['in', $id_arr];
}
$is_show = 1;
}
......
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