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
4d0b9d32
Commit
4d0b9d32
authored
Jun 28, 2019
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9263102a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
OfficeRoomService.php
application/index/service/OfficeRoomService.php
+1
-2
No files found.
application/index/service/OfficeRoomService.php
View file @
4d0b9d32
...
@@ -1308,8 +1308,7 @@ class OfficeRoomService
...
@@ -1308,8 +1308,7 @@ class OfficeRoomService
if
(
isset
(
$params
[
'start_time'
])
&&
$params
[
'end_time'
])
{
if
(
isset
(
$params
[
'start_time'
])
&&
$params
[
'end_time'
])
{
$start_time
=
date
(
'Y-m-d H:i:s'
,
$params
[
'start_time'
]);
$start_time
=
date
(
'Y-m-d H:i:s'
,
$params
[
'start_time'
]);
$end_time
=
date
(
'Y-m-d H:i:s'
,
$params
[
'end_time'
]);
$end_time
=
date
(
'Y-m-d H:i:s'
,
$params
[
'end_time'
]);
$where
[
'a.create_time'
]
=
[
'>'
,
$start_time
];
//创建开始时间
$where
[
'a.create_time'
]
=
array
(
'between'
,
array
(
$start_time
,
$end_time
));
//创建开始时间
$where
[
'a.create_time'
]
=
[
'<'
,
$end_time
];
//创建结束时间
}
}
if
(
isset
(
$params
[
'is_rent'
]))
{
if
(
isset
(
$params
[
'is_rent'
]))
{
...
...
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