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
465c28b0
Commit
465c28b0
authored
Oct 19, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索经纪人状态
parent
3e23c6c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Broker.php
application/index/controller/Broker.php
+6
-2
No files found.
application/index/controller/Broker.php
View file @
465c28b0
...
...
@@ -334,9 +334,13 @@ class Broker extends Basic
$data
[
'userRule'
]
=
$userRule
;
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
//条件
// $where['a.status'] = ['IN',['0,1']];
$where
[
'a.id'
]
=
[
'<>'
,
1
];
if
(
$params
[
'status'
])
{
$where
[
'a.status'
]
=
[
'<>'
,
0
];
}
else
{
$where
[
'a.status'
]
=
0
;
}
if
(
!
empty
(
$params
[
'search'
]))
{
$where
[]
=
[
'EXP'
,
"a.name like '%
{
$params
[
'search'
]
}
%' OR a.phone like '%
{
$params
[
'search'
]
}
%'"
];
...
...
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