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
9a069bce
Commit
9a069bce
authored
Jun 19, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql修改
parent
6f138dd2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
Finance.php
application/index/controller/Finance.php
+1
-1
No files found.
application/index/controller/Finance.php
View file @
9a069bce
...
...
@@ -1041,7 +1041,7 @@ class Finance extends Basic
if
(
!
empty
(
$this
->
params
[
'bargain_start_date'
])
&&
!
empty
(
$this
->
params
[
'bargain_end_date'
]))
{
$where
[]
=
[
'EXP'
,
"(a.create_time > '
{
$this
->
params
[
'bargain_start_date'
]
}
00:00:00' and a.create_time < '
{
$this
->
params
[
'bargain_end_date'
]
}
23:59:59') or
(b.operation_date >
{
$this
->
params
[
'bargain_start_date'
]
}
or
b.operation_date <
{
$this
->
params
[
'bargain_end_date'
]
}
)"
];
(b.operation_date >
{
$this
->
params
[
'bargain_start_date'
]
}
and
b.operation_date <
{
$this
->
params
[
'bargain_end_date'
]
}
)"
];
$operation_date
=
date
(
'Y.m.d'
,
strtotime
(
$this
->
params
[
'bargain_start_date'
]))
.
'-'
.
date
(
'Y.m.d'
,
strtotime
(
$this
->
params
[
'bargain_end_date'
]));
}
...
...
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