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
94135bb6
Commit
94135bb6
authored
Jan 29, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间
parent
2dad20a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
Broker.php
application/api_broker/controller/Broker.php
+5
-2
AppChat.php
application/chat/controller/AppChat.php
+0
-1
No files found.
application/api_broker/controller/Broker.php
View file @
94135bb6
...
...
@@ -1046,8 +1046,11 @@ class Broker extends Basic
// $where['a.agents_id'] = $params["agents_id"];
$where
=
[];
if
(
!
empty
(
$params
[
'start_date'
])
&&
!
empty
(
$params
[
'end_date'
]))
{
$where
[
'a.call_time'
]
=
array
(
'between'
,
array
(
$params
[
'start_date'
]
.
' 00:00:00'
,
$params
[
'end_date'
]
.
' 23:59:59'
));
// if (!empty($params['start_date']) && !empty($params['end_date'])) {
// $where['a.call_time'] = array('between', array($params['start_date']. ' 00:00:00', $params['end_date']. ' 23:59:59'));
// }
if
(
!
empty
(
$params
[
'start_date'
]))
{
$where
[
'a.call_time'
]
=
array
(
'between'
,
array
(
$params
[
'start_date'
]
.
' 00:00:00'
,
$params
[
'start_date'
]
.
' 23:59:59'
));
}
if
(
is_numeric
(
$params
[
'users_type'
])
&&
!
empty
(
$this
->
params
[
'users_id'
]))
{
...
...
application/chat/controller/AppChat.php
View file @
94135bb6
...
...
@@ -644,7 +644,6 @@ class AppChat extends Basic
public
function
getAgentIds
(
$agent_id
){
$m_agent
=
new
AAgents
();
$a_res_level
=
$m_agent
->
getAgentFieldById
(
$agent_id
,
'level'
);
big_log
(
'查询店长下面的业务员id:level'
.
$a_res_level
);
if
(
$a_res_level
==
20
){
//查询总监下面门店的所有经纪人
$a_res_store_id
=
$m_agent
->
getAgentFieldById
(
$agent_id
,
'store_id'
);
...
...
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