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
d8afdf11
Commit
d8afdf11
authored
Apr 11, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
获得调整类型
parent
a420e504
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
1 deletion
+38
-1
Finance.php
application/index/controller/Finance.php
+38
-1
No files found.
application/index/controller/Finance.php
View file @
d8afdf11
...
...
@@ -3950,7 +3950,7 @@ class Finance extends Basic
}
$excel_data
[
$k
][
'money'
]
=
$v
[
'money'
];
$excel_data
[
$k
][
'income_time'
]
=
$v
[
'income_time'
];
$excel_data
[
$k
][
'type
'
]
=
$v
[
'type'
]
;
$excel_data
[
$k
][
'type
_name'
]
=
$this
->
getAdjustmentType
(
$v
[
'type'
])
;
$excel_data
[
$k
][
'new_paylog_id'
]
=
$v
[
'new_paylog_id'
];
if
(
$v
[
'operation_id'
])
{
...
...
@@ -4836,4 +4836,41 @@ class Finance extends Basic
$data
[
'pay_log_refund'
]
=
$list_3
;
return
$this
->
response
(
200
,
''
,
$data
);
}
/**
* 获得调整类型
*
* @param $type
* @return string
*/
public
function
getAdjustmentType
(
$type
)
{
//意向金:1转中介费 2转案场费 3转意向金 7保管金 保管金:4转中介费 5转案场费 6转保管金'
switch
(
$type
)
{
case
1
:
$type_name
=
'意向金转中介费'
;
break
;
case
2
:
$type_name
=
'意向金转案场费'
;
break
;
case
3
:
$type_name
=
'意向金转意向金'
;
break
;
case
4
:
$type_name
=
'保管金转中介费'
;
break
;
case
5
:
$type_name
=
'保管金转案场费'
;
break
;
case
6
:
$type_name
=
'保管金转保管金'
;
break
;
case
7
:
$type_name
=
'意向金转保管金'
;
break
;
default
:
$type_name
=
'其它'
;
}
return
$type_name
;
}
}
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