Commit d2361c45 authored by zhuwei's avatar zhuwei

12

parent aebe49ca
......@@ -92,8 +92,8 @@ class Report extends Basic
}
//商铺ID
if (!empty($this->params['house_id'])) {
$where['c.house_id'] = $this->params['house_id'] ;
if (!empty($this->params['shop_id'])) {
$where['c.house_id'] = $this->params['shop_id'] ;
}
//客户ID
......
......@@ -306,8 +306,8 @@ class OReportModel extends Model
}
//商铺ID
if (!empty($params['house_id'])) {
$conditions[] = "aaa.house_id = {$params['house_id']}" ;
if (!empty($params['shop_id'])) {
$conditions[] = "aaa.house_id = {$params['shop_id']}" ;
}
//客户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