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
cb975061
Commit
cb975061
authored
Oct 23, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
业绩明细修改
parent
819fb1ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
PerformanceInfo.php
application/index/controller/PerformanceInfo.php
+4
-2
No files found.
application/index/controller/PerformanceInfo.php
View file @
cb975061
...
...
@@ -100,14 +100,16 @@ class PerformanceInfo extends Basic
$field
.=
'Store.store_name,'
;
$field
.=
'District.district_name,'
;
$field
.=
'Houses.internal_address,'
;
$field
.=
'PartialCommission.id as partial_commission_id,'
;
$field
.=
'PartialCommission.practical_fee,'
;
$field
.=
'Oorder.house_id'
;
$return
=
$this
->
oBargainModel
->
performancelInfo
(
$where
,
$field
,
$pageSize
,
$pageNo
);
foreach
(
$return
as
$key
=>
$val
)
{
//成交报告ID
$return
[
$key
][
'bargain_id'
]
=
$val
[
"practical_fee"
]
==
0
?
$val
[
"id"
]
:
$val
[
"father_id"
];
//分佣ID
$return
[
$key
][
'commission_id'
]
=
$val
[
"id"
]
;
$return
[
$key
][
'practical_fee'
]
=
$val
[
"practical_fee"
]
?
$val
[
"practical_fee"
]
:
0
;
//商铺地址只显示前3位,后面*替代
$return
[
$key
][
'landmark'
]
=
$val
[
"internal_address"
]
?
mb_substr
(
$val
[
"internal_address"
],
0
,
3
,
'utf-8'
)
.
'****'
:
''
;
}
...
...
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