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
c8e2cf81
Commit
c8e2cf81
authored
Mar 06, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
通话记录开始和结束时间字段修改
parent
66ce6fc2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
CellPhone.php
application/index/controller/CellPhone.php
+8
-8
No files found.
application/index/controller/CellPhone.php
View file @
c8e2cf81
...
@@ -171,12 +171,12 @@ class CellPhone extends Basic
...
@@ -171,12 +171,12 @@ class CellPhone extends Basic
$field
=
'agents_id,users_id,call_type,call_time,time,voice_file'
;
$field
=
'agents_id,users_id,call_type,call_time,time,voice_file'
;
$where
=
[];
$where
=
[];
if
(
!
empty
(
$this
->
params
[
'start_
tim
e'
]))
{
if
(
!
empty
(
$this
->
params
[
'start_
dat
e'
]))
{
$where
[
'create_time'
]
=
[
'> time'
,
$this
->
params
[
'start_
tim
e'
]];
$where
[
'create_time'
]
=
[
'> time'
,
$this
->
params
[
'start_
dat
e'
]];
}
}
if
(
!
empty
(
$this
->
params
[
'end_
tim
e'
]))
{
if
(
!
empty
(
$this
->
params
[
'end_
dat
e'
]))
{
$where
[
'create_time'
]
=
[
'< time'
,
$this
->
params
[
'end_
tim
e'
]];
$where
[
'create_time'
]
=
[
'< time'
,
$this
->
params
[
'end_
dat
e'
]];
}
}
if
(
!
empty
(
$this
->
params
[
'call_name'
]))
{
if
(
!
empty
(
$this
->
params
[
'call_name'
]))
{
...
@@ -218,12 +218,12 @@ class CellPhone extends Basic
...
@@ -218,12 +218,12 @@ class CellPhone extends Basic
$field
=
'a.id,b.phone,sum(time) as time,agents_id,call_type,release_time,start_time'
;
$field
=
'a.id,b.phone,sum(time) as time,agents_id,call_type,release_time,start_time'
;
$where
=
[];
$where
=
[];
if
(
!
empty
(
$this
->
params
[
'start_
tim
e'
]))
{
if
(
!
empty
(
$this
->
params
[
'start_
dat
e'
]))
{
$where
[
'create_time'
]
=
[
'> time'
,
$this
->
params
[
'start_
tim
e'
]];
$where
[
'create_time'
]
=
[
'> time'
,
$this
->
params
[
'start_
dat
e'
]];
}
}
if
(
!
empty
(
$this
->
params
[
'end_
tim
e'
]))
{
if
(
!
empty
(
$this
->
params
[
'end_
dat
e'
]))
{
$where
[
'create_time'
]
=
[
'< time'
,
$this
->
params
[
'end_
tim
e'
]];
$where
[
'create_time'
]
=
[
'< time'
,
$this
->
params
[
'end_
dat
e'
]];
}
}
if
(
!
empty
(
$this
->
params
[
'agents_name'
]))
{
if
(
!
empty
(
$this
->
params
[
'agents_name'
]))
{
...
...
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