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
ec7159e7
Commit
ec7159e7
authored
Sep 26, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
0ad0a410
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
UserCallStintService.php
application/index/service/UserCallStintService.php
+1
-2
UserLogService.php
application/index/service/UserLogService.php
+1
-0
OReportModel.php
application/model/OReportModel.php
+11
-0
No files found.
application/index/service/UserCallStintService.php
View file @
ec7159e7
...
...
@@ -122,11 +122,10 @@ class UserCallStintService
public
function
findReport
(
$user_id
){
$begin_date
=
date
(
"Y-m-d 00:00:00"
);
$end_date
=
date
(
"Y-m-d 23:23:23"
);
// $conditions['report_agent_id'] = $agent_id;
$conditions
[
'user_id'
]
=
$user_id
;
$conditions
[
'predict_see_time'
]
=
array
(
'between'
,
array
(
$begin_date
,
$end_date
));
$report
=
$this
->
m_report
->
selectReportByIdTime
(
'id,predict_see_time'
,
$conditions
);
$report
=
$this
->
m_report
->
selectReportByIdTime
V2
(
'id,predict_see_time'
,
$conditions
);
if
(
count
(
$report
)
>
0
)
{
return
$report
;
//有约带看
...
...
application/index/service/UserLogService.php
View file @
ec7159e7
...
...
@@ -394,6 +394,7 @@ class UserLogService
#客户是否在保护期内(0:保护器内 1:超过保护期)
$user_service
=
new
UserService
();
$is_outstrip_twenty_four_hours
=
$user_service
->
isUserProtect
(
$user_id
);
if
((
$is_outstrip_twenty_four_hours
==
1
)
&&
(
$is_user_report
&&
(
time
()
<
$behind_see_time
&&
(
time
()
>
$front_see_time
))))
{
$res
=
$this
->
isPhoneButtonShowA
(
$user_id
,
$agent_id
);
}
else
{
...
...
application/model/OReportModel.php
View file @
ec7159e7
...
...
@@ -1138,6 +1138,17 @@ class OReportModel extends Model
->
select
();
}
public
function
selectReportByIdTimeV2
(
$filed
=
"id"
,
$params
,
$order_
=
'id desc'
)
{
$params
[
"status"
]
=
0
;
return
$this
->
db
->
field
(
$filed
)
->
where
(
$params
)
->
order
(
$order_
)
->
select
();
}
/**
* 带看经纪人
*
...
...
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