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
6b8be47e
Commit
6b8be47e
authored
Jul 10, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟进列表搜索修改
parent
4026baea
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
10 deletions
+4
-10
Remark.php
application/index/controller/Remark.php
+4
-6
UPhoneFollowPp.php
application/model/UPhoneFollowPp.php
+0
-4
No files found.
application/index/controller/Remark.php
View file @
6b8be47e
...
...
@@ -76,15 +76,13 @@ class Remark extends Basic
}
//跟进人门店
if
(
!
empty
(
$this
->
params
[
'remark_store'
]))
{
$where
[
'f.district_name'
]
=
[
'NOT NULL'
];
$where
[
'e.store_name'
]
=
[
'like'
,
"%
{
$this
->
params
[
'remark_store'
]
}
%"
];
if
(
!
empty
(
$this
->
params
[
'remark_store_id'
]))
{
$where
[
'b.stroe_id'
]
=
$this
->
params
[
'remark_store_id'
];
}
//跟进人部门
if
(
!
empty
(
$this
->
params
[
'remark_district'
]))
{
$where
[
'e.store_name'
]
=
[
'NOT NULL'
];
$where
[
'f.district_name'
]
=
[
'like'
,
"%
{
$this
->
params
[
'remark_district'
]
}
%"
];
if
(
!
empty
(
$this
->
params
[
'remark_district_id'
]))
{
$where
[
'b.district_id'
]
=
$this
->
params
[
'remark_district_id'
];
}
$field
=
'c.id,a.create_time,a.content,b.name as admin,d.name as label_name,c.user_nick,c.user_phone,a.user_status'
;
...
...
application/model/UPhoneFollowPp.php
View file @
6b8be47e
...
...
@@ -217,8 +217,6 @@ class UPhoneFollowPp extends BaseModel
->
join
(
'a_agents b'
,
'a.agent_id = b.id'
,
'left'
)
->
join
(
'u_users c'
,
'a.user_id = c.id'
,
'left'
)
->
join
(
'u_labels d'
,
'd.id = a.labels_id'
,
'left'
)
->
join
(
'a_store e'
,
'b.store_id = e.id'
,
'left'
)
->
join
(
'a_district f'
,
'b.district_id= f.id'
,
'left'
)
->
where
(
$params
)
->
order
(
$order_
)
->
limit
(
$pageSize
)
...
...
@@ -237,8 +235,6 @@ class UPhoneFollowPp extends BaseModel
return
$this
->
alias
(
'a'
)
->
join
(
'a_agents b'
,
'a.agent_id = b.id'
,
'left'
)
->
join
(
'u_users c'
,
'a.user_id = c.id'
,
'left'
)
->
join
(
'a_store e'
,
'b.store_id = e.id'
,
'left'
)
->
join
(
'a_district f'
,
'b.district_id= f.id'
,
'left'
)
->
where
(
$params
)
->
count
();
}
...
...
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