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
c8dc4c34
Commit
c8dc4c34
authored
Jun 14, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
评价列表-加进场时间筛选
parent
9c593250
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
Evaluation.php
application/index/controller/Evaluation.php
+4
-3
No files found.
application/index/controller/Evaluation.php
View file @
c8dc4c34
...
...
@@ -65,9 +65,10 @@ class Evaluation extends Basic
$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']];
//}
if
(
!
empty
(
$params
[
'march_in_time_start'
])
&&
!
empty
(
$params
[
'march_in_time_end'
]))
{
$where
[
'a.source'
]
=
10
;
$where
[
'a.create_time'
]
=
[
'between time'
,
[
$params
[
'march_in_time_start'
]
.
' 00:00:00'
,
$params
[
'march_in_time_end'
]
.
' 23:59:59'
]];
}
//搜索条件 end
$fields_evaluate
=
'user_nick,user_phone,evaluate_grade,evaluate_content,a.create_time,c.name,c.phone'
;
...
...
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