Commit cd5616fb by HTML5-侯张振

no message

parent 751bd9c8
......@@ -656,7 +656,7 @@ class Customer_building_model extends MY_Model{
$this->db->select('B.valid_day,C.create_time,C.recommend_status,C.report,C.report_status,C.report_time')
->from('tb_customer_building C')
->join('tb_building B', 'C.building_id=B.id')
->where("C.id = {$cbid} AND is_valid != 0 and C.recommend_status in (0,1,2,3)");
->where("C.id = ".$cbid." AND is_valid != 0 and C.recommend_status in (0,1,2,3)");
$query = $this->db->get();
if($query->num_rows() > 0)
......
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