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
cd378566
Commit
cd378566
authored
Nov 05, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
成交客户姓名和手机号
parent
ee465ee5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
Finance.php
application/index/controller/Finance.php
+3
-2
No files found.
application/index/controller/Finance.php
View file @
cd378566
...
@@ -78,8 +78,8 @@ class Finance extends Basic
...
@@ -78,8 +78,8 @@ class Finance extends Basic
$fields
=
'a.id,a.create_time,a.trade_type,d.internal_title,
$fields
=
'a.id,a.create_time,a.trade_type,d.internal_title,
d.internal_address,a.commission,a.practical_fee,a.scale_fee,a.order_no,
d.internal_address,a.commission,a.practical_fee,a.scale_fee,a.order_no,
a.order_id,content,house_number,a.is_open,a.agent_id,a.submit_agent_name,
a.order_id,content,house_number,a.is_open,a.agent_id,a.submit_agent_name,
a.price,a.audit_level,'
;
a.price,a.audit_level,
e.id as partial_commission_id,b.user_phone,b.user_name
'
;
$fields
.=
'e.id as partial_commission_id'
;
$where
[
'a.father_id'
]
=
0
;
$where
[
'a.father_id'
]
=
0
;
$where
[
'a.status'
]
=
11
;
$where
[
'a.status'
]
=
11
;
$order
=
'a.id desc'
;
$order
=
'a.id desc'
;
...
@@ -259,6 +259,7 @@ class Finance extends Basic
...
@@ -259,6 +259,7 @@ class Finance extends Basic
$m_real
=
new
ORealIncome
();
$m_real
=
new
ORealIncome
();
foreach
(
$list_data
as
$k
=>
$v
)
{
foreach
(
$list_data
as
$k
=>
$v
)
{
$list_data
[
$k
][
'income_money'
]
=
$m_real
->
sumField
(
'money'
,[
'bargain_id'
=>
$v
[
'id'
],
'is_del'
=>
0
]);
$list_data
[
$k
][
'income_money'
]
=
$m_real
->
sumField
(
'money'
,[
'bargain_id'
=>
$v
[
'id'
],
'is_del'
=>
0
]);
$list_data
[
$k
][
'user_phone'
]
=
substr_replace
(
$list_data
[
$k
][
'user_phone'
],
'****'
,
3
,
4
);
}
}
$data
[
'data'
][
'list'
]
=
$list_data
;
$data
[
'data'
][
'list'
]
=
$list_data
;
...
...
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