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
b3ee7d82
Commit
b3ee7d82
authored
Oct 31, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
约带看条件
parent
1d2cbbd8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
Report.php
application/index/controller/Report.php
+16
-0
No files found.
application/index/controller/Report.php
View file @
b3ee7d82
...
@@ -43,6 +43,22 @@ class Report extends Basic
...
@@ -43,6 +43,22 @@ class Report extends Basic
$where
[
'a.create_time'
]
=
[
'between time'
,
[
$this
->
params
[
'start_time'
]
.
' 00:00:00'
,
$this
->
params
[
'end_time'
]
.
' 23:59:59'
]];
$where
[
'a.create_time'
]
=
[
'between time'
,
[
$this
->
params
[
'start_time'
]
.
' 00:00:00'
,
$this
->
params
[
'end_time'
]
.
' 23:59:59'
]];
}
}
if
(
!
empty
(
$this
->
params
[
'user_phone'
]))
{
$where
[
'a.user_phone'
]
=
$this
->
params
[
'user_phone'
];
}
if
(
!
empty
(
$this
->
params
[
'internal_title'
]))
{
$where
[
'c.internal_title'
]
=
$this
->
params
[
'internal_title'
];
}
if
(
!
empty
(
$this
->
params
[
'report_agent_name'
]))
{
$where
[
'a.report_agent_name'
]
=
$this
->
params
[
'report_agent_name'
];
}
if
(
!
empty
(
$this
->
params
[
'report_agent_phone'
]))
{
$where
[
'a.report_agent_phone'
]
=
$this
->
params
[
'report_agent_phone'
];
}
$field
=
'b.id as order_id,a.user_name,a.user_phone,a.create_time,a.report_agent_name,c.internal_title,a.predict_see_time'
;
$field
=
'b.id as order_id,a.user_name,a.user_phone,a.create_time,a.report_agent_name,c.internal_title,a.predict_see_time'
;
try
{
try
{
...
...
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