Commit dcbb9904 authored by zhuwei's avatar zhuwei

客方ID

parent 3082a830
......@@ -235,7 +235,7 @@ class Houses extends Basic
if ($this->params['id'] != NULL) {
$where['id'] = $this->params['id'];
}
//盘方ID
if ($this->params['dish_id'] != NULL) {
$agent_where['b.agents_id'] = $this->params['dish_id'];
$agent_where['a.type'] = 2;
......
......@@ -212,6 +212,12 @@ class Member extends Basic{
$type = 3;
}
//客方ID
if (!empty($params['agent_id'])) {
$where['a.agent_id'] = $params['agent_id'];
}
if (!empty($params['first_login_start'])) {
$where['a.first_login_time'] = $params['first_login_start'] . ' 00:00:00';
}
......
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