Commit fe0884ee authored by fangliyan's avatar fangliyan

rrr

parent 7aab4892
...@@ -984,7 +984,7 @@ class House_Statistic_Model extends MY_Model { ...@@ -984,7 +984,7 @@ class House_Statistic_Model extends MY_Model {
$sql_personal_house = "select infotype,telno from " . $tbl . " where id =" . $rowid . ' and esta=1'; $sql_personal_house = "select infotype,telno from " . $tbl . " where id =" . $rowid . ' and esta=1';
$personal_house_query = $this->db_esfbak->query($sql_personal_house); $personal_house_query = $this->db_esfhouse->query($sql_personal_house);
$result_house = $personal_house_query->result_array(); $result_house = $personal_house_query->result_array();
if (is_array($result_house) && !empty($result_house)) { if (is_array($result_house) && !empty($result_house)) {
$telno = $result_house[0]['telno']; $telno = $result_house[0]['telno'];
...@@ -995,7 +995,7 @@ class House_Statistic_Model extends MY_Model { ...@@ -995,7 +995,7 @@ class House_Statistic_Model extends MY_Model {
//是否是实勘房源 //是否是实勘房源
$sql_survey_house = "select id from survey". " where type ="."'$tbl'"." and house_id =" . $rowid; $sql_survey_house = "select id from survey". " where type ="."'$tbl'"." and house_id =" . $rowid;
$survey_house_query = $this->db_esfbak->query($sql_survey_house); $survey_house_query = $this->db_esfhouse->query($sql_survey_house);
$survey_house = $survey_house_query->result_array(); $survey_house = $survey_house_query->result_array();
if (is_array($survey_house) && !empty($survey_house)) { if (is_array($survey_house) && !empty($survey_house)) {
$survey =1; $survey =1;
......
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