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
cd782da3
Commit
cd782da3
authored
Jan 28, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
is_pay_log
parent
c4843a3b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
Finance.php
application/index/controller/Finance.php
+12
-1
No files found.
application/index/controller/Finance.php
View file @
cd782da3
...
@@ -95,7 +95,7 @@ class Finance extends Basic
...
@@ -95,7 +95,7 @@ class Finance extends Basic
$where
[
'a.status'
]
=
11
;
$where
[
'a.status'
]
=
11
;
$order
=
'a.id desc'
;
$order
=
'a.id desc'
;
$is_show
=
0
;
$is_show
=
0
;
// $where[] = ['EXP', 'f.id is NOT null'];
if
(
!
empty
(
$this
->
params
[
'create_time'
])
&&
empty
(
$this
->
params
[
'end_time'
]))
{
if
(
!
empty
(
$this
->
params
[
'create_time'
])
&&
empty
(
$this
->
params
[
'end_time'
]))
{
$where
[
'a.create_time'
]
=
[
'> time'
,
$this
->
params
[
'create_time'
]
.
' 00:00:00'
];
$where
[
'a.create_time'
]
=
[
'> time'
,
$this
->
params
[
'create_time'
]
.
' 00:00:00'
];
$is_show
=
1
;
$is_show
=
1
;
...
@@ -136,6 +136,17 @@ class Finance extends Basic
...
@@ -136,6 +136,17 @@ class Finance extends Basic
$where
[
'a.id'
]
=
$this
->
params
[
'bargain_id'
];
$where
[
'a.id'
]
=
$this
->
params
[
'bargain_id'
];
$is_show
=
1
;
$is_show
=
1
;
}
}
if
(
!
empty
(
$this
->
params
[
'is_pay_log'
]))
{
if
(
$this
->
params
[
'is_pay_log'
]
==
1
)
{
$where
[]
=
[
'EXP'
,
'f.id is not null'
];
}
else
{
$where
[]
=
[
'EXP'
,
'f.id is null'
];
}
$is_show
=
1
;
}
$excel_title
=
'成交报告'
;
$excel_title
=
'成交报告'
;
switch
(
$check_status
)
{
switch
(
$check_status
)
{
case
2
:
case
2
:
...
...
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