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
2d917d1b
Commit
2d917d1b
authored
Jul 24, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
create_time
parent
f5e9991f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Cost.php
application/index/controller/Cost.php
+5
-5
No files found.
application/index/controller/Cost.php
View file @
2d917d1b
...
...
@@ -115,17 +115,17 @@ class Cost extends Basic
//申请提交时间
if
(
isset
(
$param
[
'create_time_start'
]))
{
$where
[
'
a.
create_time'
]
=
[
'>='
,
$param
[
'create_time_start'
]];
$where
[
'create_time'
]
=
[
'>='
,
$param
[
'create_time_start'
]];
}
//申请提交时间
if
(
isset
(
$param
[
'create_time_end'
]))
{
$where
[
'
a.
create_time'
]
=
[
'<='
,
$param
[
'create_time_end'
]];
$where
[
'create_time'
]
=
[
'<='
,
$param
[
'create_time_end'
]];
}
//申请提交时间
if
(
isset
(
$param
[
'create_time_start'
])
&&
isset
(
$param
[
'create_time_end'
]))
{
$where
[
'
a.
create_time'
]
=
[
'between'
,
[
$param
[
'create_time_start'
]
.
' 00:00:00'
,
$param
[
'create_time_end'
]
.
' 23:59:59'
]];
$where
[
'create_time'
]
=
[
'between'
,
[
$param
[
'create_time_start'
]
.
' 00:00:00'
,
$param
[
'create_time_end'
]
.
' 23:59:59'
]];
}
//财务三审通过时间
...
...
@@ -135,12 +135,12 @@ class Cost extends Basic
//财务三审通过时间
if
(
isset
(
$param
[
'pass_time_end'
]))
{
$check_where
[
'
a.
create_time'
]
=
[
'<='
,
$param
[
'pass_time_end'
]];
$check_where
[
'create_time'
]
=
[
'<='
,
$param
[
'pass_time_end'
]];
}
//财务三审通过时间
if
(
isset
(
$param
[
'pass_time_start'
])
&&
isset
(
$param
[
'pass_time_end'
]))
{
$check_where
[
'
a.
create_time'
]
=
[
'between'
,
[
$param
[
'pass_time_end'
]
.
' 00:00:00'
,
$param
[
'pass_time_end'
]
.
' 23:59:59'
]];
$check_where
[
'create_time'
]
=
[
'between'
,
[
$param
[
'pass_time_end'
]
.
' 00:00:00'
,
$param
[
'pass_time_end'
]
.
' 23:59:59'
]];
}
if
(
isset
(
$check_where
))
{
...
...
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