Commit ed5721d2 authored by zhuwei's avatar zhuwei

1

parent 64cb0901
......@@ -388,6 +388,7 @@ class AStore extends BaseModel
->where($params)
->limit($pageSize)
->page($pageNo)
->group('c.store_id')
->select();
return $result;
}
......@@ -401,6 +402,7 @@ class AStore extends BaseModel
->join('f_office b', 'a.office_id = b.id', 'left')
->join('f_store_data c', 'a.id = c.store_id', 'left')
->where($params)
->group('c.store_id')
->count();
return $result;
}
......
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