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
e643eb35
Commit
e643eb35
authored
Jan 10, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
3b6d628b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
6 deletions
+3
-6
PhoneFollowUpService.php
application/index/service/PhoneFollowUpService.php
+1
-1
UPhoneFollowUpTemporary.php
application/model/UPhoneFollowUpTemporary.php
+2
-5
No files found.
application/index/service/PhoneFollowUpService.php
View file @
e643eb35
...
@@ -77,7 +77,7 @@ class PhoneFollowUpService
...
@@ -77,7 +77,7 @@ class PhoneFollowUpService
}
}
if
(
!
empty
(
$params
[
'store_id'
]))
{
if
(
!
empty
(
$params
[
'store_id'
]))
{
$agent_where
[
'store_id'
]
=
$params
[
'
remark_
store_id'
];
$agent_where
[
'store_id'
]
=
$params
[
'store_id'
];
}
}
if
(
!
empty
(
$params
[
'district_id'
]))
{
if
(
!
empty
(
$params
[
'district_id'
]))
{
...
...
application/model/UPhoneFollowUpTemporary.php
View file @
e643eb35
...
@@ -164,12 +164,9 @@ class UPhoneFollowUpTemporary extends BaseModel
...
@@ -164,12 +164,9 @@ class UPhoneFollowUpTemporary extends BaseModel
}
}
public
function
getFollowListV3
(
$site_id
,
$pageNo
=
1
,
$pageSize
=
15
,
$where
,
$filed
=
'`id`, `user_id`, `create_time`, `content`, `user_status`, `labels_id`, `agent_id`'
)
{
public
function
getFollowListV3
(
$site_id
,
$pageNo
=
1
,
$pageSize
=
15
,
$where
,
$filed
=
'`id`, `user_id`, `create_time`, `content`, `user_status`, `labels_id`, `agent_id`'
)
{
$sql
=
$this
->
follow_up
->
field
(
$filed
)
->
where
(
$where
)
->
buildSql
();
$sql
=
Db
::
table
(
'u_phone_follow_up_'
.
$site_id
)
->
field
(
$filed
)
->
where
(
$where
)
->
buildSql
();
$sql_temp
=
$this
->
follow_up
->
table
(
'u_phone_follow_up_'
.
$site_id
)
->
field
(
$filed
)
->
where
(
$where
)
->
buildSql
();
$sql_string
=
$this
->
table
(
$this
->
table_name_string
)
->
field
(
$filed
)
->
where
(
$where
)
->
union
([
$sql
],
true
)
->
buildSql
();
$sql_string
=
$this
->
table
(
$this
->
table_name_string
)
->
field
(
$filed
)
->
where
(
$where
)
->
union
(
$sql
,
$sql_temp
)
->
buildSql
();
$data
=
Db
::
table
(
$sql_string
.
' a'
)
$data
=
Db
::
table
(
$sql_string
.
' a'
)
->
where
(
$where
)
->
limit
(
$pageSize
)
->
limit
(
$pageSize
)
->
page
(
$pageNo
)
->
page
(
$pageNo
)
->
select
();
->
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