Commit 7a1b928a authored by zhuwei's avatar zhuwei Committed by hujun

bug

parent a519af92
...@@ -215,7 +215,7 @@ class Statement extends Basic ...@@ -215,7 +215,7 @@ class Statement extends Basic
header('Access-Control-Allow-Origin:*'); header('Access-Control-Allow-Origin:*');
$params = $this->params; $params = $this->params;
$params = array( $params = array(
"agent_id" => 5775,//5739 总监 5740店长 "agent_id" => 5741,//5739 总监 5740店长 5741总监
"type" => 1,//0 日报 1 周报 "type" => 1,//0 日报 1 周报
); );
...@@ -250,7 +250,7 @@ class Statement extends Basic ...@@ -250,7 +250,7 @@ class Statement extends Basic
} else {//todo 2总监 } else {//todo 2总监
$agent_level = 2; $agent_level = 2;
if($params["type"] == 0 ){//todo 日报 if($params["type"] == 0 ){//todo 日报
$result = $this->service_->selectStatementForDistrictWithDay($params["agent_id"], $agent_level, $store_id,$district_id);
}else{//todo 周报 }else{//todo 周报
} }
......
...@@ -512,7 +512,7 @@ class AppChat extends Basic ...@@ -512,7 +512,7 @@ class AppChat extends Basic
//获取此经纪人的所有盘方楼盘id //获取此经纪人的所有盘方楼盘id
$param["addressee_id"] = $params["agent_id"]; $param["addressee_id"] = $params["agent_id"];
$param["type"] = array('in','2,8'); $param["type"] = 2;
$msgModel = new MPushMessage(); $msgModel = new MPushMessage();
$history_result = $msgModel->getListByWhere($field, $param, $page_no, $page_size); $history_result = $msgModel->getListByWhere($field, $param, $page_no, $page_size);
......
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