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
79234f17
Commit
79234f17
authored
Jun 13, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索条件
parent
525eb122
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
7 deletions
+19
-7
MarchIn.php
application/index/controller/MarchIn.php
+19
-7
No files found.
application/index/controller/MarchIn.php
View file @
79234f17
...
...
@@ -45,7 +45,7 @@ class MarchIn extends Basic
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
//搜索条件 start
//1.
评价
时间
//1.
进场
时间
if
(
!
empty
(
$params
[
'create_time_start'
])
&&
!
empty
(
$params
[
'create_time_end'
]))
{
$where
[
'a.create_time'
]
=
[
'between time'
,
[
$params
[
'create_time_start'
]
.
' 00:00:00'
,
$params
[
'create_time_end'
]
.
' 23:59:59'
]];
}
...
...
@@ -57,18 +57,30 @@ class MarchIn extends Basic
if
(
!
empty
(
$params
[
'store_id'
]))
{
$where
[
'c.store_id'
]
=
$params
[
'store_id'
];
}
//4.姓名
//4.
客户
姓名
if
(
!
empty
(
$params
[
'user_name'
]))
{
$where
[
'b.user_name'
]
=
[
'LIKE'
,
'%'
.
$params
[
'user_name'
]
.
'%'
];
}
//5.手机号
//5.客户手机号
if
(
!
empty
(
$params
[
'user_phone'
]))
{
$where
[
'b.user_phone'
]
=
[
'LIKE'
,
'%'
.
$params
[
'user_phone'
]
.
'%'
];
}
//6.报备人手机号
if
(
!
empty
(
$params
[
'user_phone'
]))
{
$where
[
'b.user_phone'
]
=
[
'LIKE'
,
'%'
.
$params
[
'user_phone'
]
.
'%'
];
}
//7.报备人姓名
if
(
!
empty
(
$params
[
'user_phone'
]))
{
$where
[
'b.user_phone'
]
=
[
'LIKE'
,
'%'
.
$params
[
'user_phone'
]
.
'%'
];
}
//8.商铺名
if
(
!
empty
(
$params
[
'user_phone'
]))
{
$where
[
'b.user_phone'
]
=
[
'LIKE'
,
'%'
.
$params
[
'user_phone'
]
.
'%'
];
}
//9.商铺类型
if
(
!
empty
(
$params
[
'user_phone'
]))
{
$where
[
'b.user_phone'
]
=
[
'LIKE'
,
'%'
.
$params
[
'user_phone'
]
.
'%'
];
}
//6.进场时间
//if (!empty($params['registration_start']) && !empty($params['registration_end'])) {
//$where['a.registration_time'] = ['between time', [$params['registration_start']. ' 00:00:00', $params['registration_end'] . ' 23:59:59']];
//}
//搜索条件 end
$fields_evaluate
=
'd.user_name,d.user_phone,a.create_time,d.report_agent_name,d.report_agent_phone,e.store_name,c.house_title'
;
...
...
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