Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
de87c581
Commit
de87c581
authored
Jun 28, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
a2e261c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
OReportModel.php
application/model/OReportModel.php
+3
-1
No files found.
application/model/OReportModel.php
View file @
de87c581
...
@@ -537,6 +537,7 @@ class OReportModel extends Model
...
@@ -537,6 +537,7 @@ class OReportModel extends Model
a.user_id,
a.user_id,
a.report_agent_id AS agents_id,
a.report_agent_id AS agents_id,
a.predict_see_time AS expect_time,
a.predict_see_time AS expect_time,
a.create_time,
`b`.`house_id`,
`b`.`house_id`,
d.external_title AS house_title,
d.external_title AS house_title,
d.residue_num AS room_num_left,
d.residue_num AS room_num_left,
...
@@ -559,6 +560,7 @@ class OReportModel extends Model
...
@@ -559,6 +560,7 @@ class OReportModel extends Model
a.agents_id,
a.agents_id,
a.expect_time,
a.expect_time,
a.house_id,
a.house_id,
a.create_time,
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,
...
@@ -570,7 +572,7 @@ class OReportModel extends Model
...
@@ -570,7 +572,7 @@ class OReportModel extends Model
a.user_id =
$user_id
a.user_id =
$user_id
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
order by aaa.create_time desc
limit
$start_index
,
$pageSize
"
;
//echo $sql;
//echo $sql;
$data
=
$this
->
db
->
query
(
$sql
);
$data
=
$this
->
db
->
query
(
$sql
);
return
$data
;
return
$data
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment