Commit 89725e66 authored by zw's avatar zw

bug

parent 734dfb9b
......@@ -248,8 +248,8 @@ class DailyPaperService
$params["a.type"] = 92;
$case_fee_arr = $payLogModel->selectPayLogListByBargain($field, $params);
$case_fee_arr = $this->getHousePan($case_fee_arr);
$info["case_fee"] = $this->getHouseAndAgentInfo($case_fee_arr);
$new_case_fee_arr = $this->getHousePan($case_fee_arr);
$info["case_fee"] = $this->getHouseAndAgentInfo($new_case_fee_arr);
......@@ -390,6 +390,7 @@ class DailyPaperService
$gModel = new GHousesToAgents();
$params["houses_id"] = array("in", ($house_id_str));
$params["type"] = 2;
$params["is_del"] = 0;
return $gModel->getAgentsList("houses_id,agents_id", $params);
}
......
......@@ -442,10 +442,11 @@ class GHousesToAgents extends BaseModel
*/
public function getAgentsList($field, $where)
{
return $this
$result = $this
->field($field)
->where($where)
->select($field);
->select();
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