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
2d2f3ca8
Commit
2d2f3ca8
authored
Jan 11, 2019
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
def54000
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
UserLogService.php
application/index/service/UserLogService.php
+7
-1
FollowUpTask.php
application/task/controller/FollowUpTask.php
+2
-2
No files found.
application/index/service/UserLogService.php
View file @
2d2f3ca8
...
@@ -12,6 +12,7 @@ use app\model\ASite;
...
@@ -12,6 +12,7 @@ use app\model\ASite;
use
app\model\GOperatingRecords
;
use
app\model\GOperatingRecords
;
use
app\model\OReportModel
;
use
app\model\OReportModel
;
use
app\model\UPhoneFollowUp
;
use
app\model\UPhoneFollowUp
;
use
app\model\UPhoneFollowUpTemporary
;
use
app\model\Users
;
use
app\model\Users
;
/**
/**
...
@@ -202,12 +203,17 @@ class UserLogService
...
@@ -202,12 +203,17 @@ class UserLogService
{
{
// $userParams["type"] = 0; //电话跟进 $userParams["type"] = 1; //普通跟进
// $userParams["type"] = 0; //电话跟进 $userParams["type"] = 1; //普通跟进
$uPhoneFollowModel
=
new
UPhoneFollowUp
(
$site_id
);
$uPhoneFollowModel
=
new
UPhoneFollowUp
(
$site_id
);
$uPhoneFollowTempModel
=
new
UPhoneFollowUpTemporary
(
$site_id
);
//电话跟进
//电话跟进
$userParams
[
"user_id"
]
=
$user_id
;
$userParams
[
"user_id"
]
=
$user_id
;
$field_user_follow
=
"a.id,a.content,a.user_id,a.agent_id,a.type,a.create_time,a.user_status,b.name,b.phone,b.img"
;
$field_user_follow
=
"a.id,a.content,a.user_id,a.agent_id,a.type,a.create_time,a.user_status,b.name,b.phone,b.img"
;
$bargainData
=
$uPhoneFollowModel
->
getFollowUpList
(
$field_user_follow
,
$userParams
,
$page_no
,
$page_size
);
$bargainData
=
$uPhoneFollowTempModel
->
getFollowList
(
$page_no
,
$page_size
,
""
,
$field_user_follow
,
$userParams
);
if
(
count
(
$bargainData
)
<=
0
){
$bargainData
=
$uPhoneFollowModel
->
getFollowUpList
(
$field_user_follow
,
$userParams
,
$page_no
,
$page_size
);
}
return
$bargainData
;
return
$bargainData
;
}
}
...
...
application/task/controller/FollowUpTask.php
View file @
2d2f3ca8
...
@@ -136,4 +136,5 @@ class FollowUpTask
...
@@ -136,4 +136,5 @@ class FollowUpTask
}
}
}
}
}
}
\ No newline at end of file
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