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
eeba2787
Commit
eeba2787
authored
Dec 24, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
is_del=0
parent
f76cadb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
Finance.php
application/index/controller/Finance.php
+5
-6
No files found.
application/index/controller/Finance.php
View file @
eeba2787
...
@@ -1341,8 +1341,7 @@ class Finance extends Basic
...
@@ -1341,8 +1341,7 @@ class Finance extends Basic
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageNo
=
empty
(
$this
->
params
[
'pageNo'
])
?
1
:
$this
->
params
[
'pageNo'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
15
:
$this
->
params
[
'pageSize'
];
$pageSize
=
empty
(
$this
->
params
[
'pageSize'
])
?
15
:
$this
->
params
[
'pageSize'
];
$where
[
'c.is_del'
]
=
0
;
$where
[
'a.is_del'
]
=
0
;
// $where['b.status'] = [ 'in', [ 10, 11, 13 ] ]; //10已提交 11审核成功
$where
[
'a.father_id'
]
=
[
'neq'
,
0
];
$where
[
'a.father_id'
]
=
[
'neq'
,
0
];
if
(
!
empty
(
$this
->
params
[
'create_time'
])
&&
empty
(
$this
->
params
[
'end_time'
]))
{
if
(
!
empty
(
$this
->
params
[
'create_time'
])
&&
empty
(
$this
->
params
[
'end_time'
]))
{
$where
[
'a.operation_date'
]
=
[
'> time'
,
$this
->
params
[
'create_time'
]
.
' 00:00:00'
];
$where
[
'a.operation_date'
]
=
[
'> time'
,
$this
->
params
[
'create_time'
]
.
' 00:00:00'
];
...
@@ -1457,14 +1456,14 @@ class Finance extends Basic
...
@@ -1457,14 +1456,14 @@ class Finance extends Basic
$where
[
1
]
=
[
'EXP'
,
"e.create_time > '
{
$this
->
params
[
'bargain_start_date'
]
}
00:00:00' OR c.operation_date > '
{
$this
->
params
[
'bargain_start_date'
]
}
'"
];
$where
[
1
]
=
[
'EXP'
,
"e.create_time > '
{
$this
->
params
[
'bargain_start_date'
]
}
00:00:00' OR c.operation_date > '
{
$this
->
params
[
'bargain_start_date'
]
}
'"
];
$operation_date
=
date
(
'Y.m.d'
,
strtotime
(
$this
->
params
[
'bargain_start_date'
]));
$operation_date
=
date
(
'Y.m.d'
,
strtotime
(
$this
->
params
[
'bargain_start_date'
]));
$operation_start_data
=
$this
->
params
[
'bargain_start_date'
]
.
' 00:00:00'
;
$operation_start_data
=
$this
->
params
[
'bargain_start_date'
];
}
}
if
(
!
empty
(
$this
->
params
[
'bargain_end_date'
])
&&
empty
(
$this
->
params
[
'bargain_start_date'
]))
{
if
(
!
empty
(
$this
->
params
[
'bargain_end_date'
])
&&
empty
(
$this
->
params
[
'bargain_start_date'
]))
{
$where
[
1
]
=
[
'EXP'
,
"e.create_time < '
{
$this
->
params
[
'bargain_end_date'
]
}
23:59:59' OR c.operation_date < '
{
$this
->
params
[
'bargain_end_date'
]
}
'"
];
$where
[
1
]
=
[
'EXP'
,
"e.create_time < '
{
$this
->
params
[
'bargain_end_date'
]
}
23:59:59' OR c.operation_date < '
{
$this
->
params
[
'bargain_end_date'
]
}
'"
];
$operation_date
=
date
(
'Y.m.d'
,
strtotime
(
$this
->
params
[
'bargain_end_date'
]));
$operation_date
=
date
(
'Y.m.d'
,
strtotime
(
$this
->
params
[
'bargain_end_date'
]));
$operation_end_data
=
$this
->
params
[
'bargain_end_date'
]
.
' 23:59:59'
;
$operation_end_data
=
$this
->
params
[
'bargain_end_date'
];
}
}
if
(
!
empty
(
$this
->
params
[
'bargain_start_date'
])
&&
!
empty
(
$this
->
params
[
'bargain_end_date'
]))
{
if
(
!
empty
(
$this
->
params
[
'bargain_start_date'
])
&&
!
empty
(
$this
->
params
[
'bargain_end_date'
]))
{
...
@@ -1473,8 +1472,8 @@ class Finance extends Basic
...
@@ -1473,8 +1472,8 @@ class Finance extends Basic
$operation_date
=
date
(
'Y.m.d'
,
strtotime
(
$this
->
params
[
'bargain_start_date'
]))
.
'-'
.
date
(
'Y.m.d'
,
strtotime
(
$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'
]));
$operation_start_data
=
$this
->
params
[
'bargain_start_date'
]
.
' 00:00:00'
;
$operation_start_data
=
$this
->
params
[
'bargain_start_date'
];
$operation_end_data
=
$this
->
params
[
'bargain_end_date'
]
.
' 23:59:59'
;
$operation_end_data
=
$this
->
params
[
'bargain_end_date'
];
}
}
/**部门id**/
/**部门id**/
...
...
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