Commit 938ff919 authored by clone's avatar clone

bug

parent aba5d311
...@@ -555,10 +555,10 @@ class OReportModel extends Model ...@@ -555,10 +555,10 @@ class OReportModel extends Model
( (
SELECT SELECT
a.id, a.id,
a.user_id,
a.agents_id, a.agents_id,
a.expect_time, a.expect_time,
a.house_id, a.house_id,
a.user_id,
b.external_title AS house_title, b.external_title AS house_title,
b.residue_num AS room_num_left, b.residue_num AS room_num_left,
b.is_show, b.is_show,
...@@ -571,7 +571,7 @@ class OReportModel extends Model ...@@ -571,7 +571,7 @@ class OReportModel extends Model
and a.agents_id IS NULL and a.agents_id IS NULL
and a.status in (0,1) and a.status in (0,1)
) ) as aaa limit $start_index,$pageSize"; ) ) as aaa limit $start_index,$pageSize";
echo $sql;
$data = $this->db->query($sql); $data = $this->db->query($sql);
return $data; return $data;
......
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