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
38228b42
Commit
38228b42
authored
Jul 17, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
时间轴-成交报告
parent
f350f91a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
4 deletions
+15
-4
OrderLogService.php
application/api_broker/service/OrderLogService.php
+15
-4
No files found.
application/api_broker/service/OrderLogService.php
View file @
38228b42
...
...
@@ -565,11 +565,22 @@ class OrderLogService
a.estimated_receipt_date,a.submit_agent_name, a.price,a.commission,a.role,a.agent_id,a.scale,a.scale_fee,a.create_time,b.name,b.phone"
;
$bargainData
=
$oBargainModel
->
selectBargainListByOrderNo
(
$field_bargain
,
[
"order_id"
=>
$order_id
]);
if
(
count
(
$bargainData
)
>
0
)
{
foreach
(
$bargainData
as
$k
=>
$v
)
{
if
(
$v
[
'father_id'
]
==
0
)
{
$sort
++
;
$result
[
$sort
][
'step_name'
]
=
"bargain"
;
$result
[
$sort
][
'trade_type'
]
=
$v
[
'trade_type'
];
$result
[
$sort
][
'house_number'
]
=
$v
[
'house_number'
];
$result
[
$sort
][
'industry_type'
]
=
$v
[
'industry_type'
];
$result
[
$sort
][
'price'
]
=
$v
[
'price'
];
$result
[
$sort
][
'commission'
]
=
$v
[
'commission'
];
$result
[
$sort
][
'is_open'
]
=
$v
[
'is_open'
];
}
}
$bargain_data_arr
=
$this
->
arr2TreeBargain
(
$bargainData
);
foreach
(
$bargain_data_arr
as
$k
=>
$v
)
{
$sort
++
;
$result
[
$sort
][
'step_name'
]
=
"bargain"
;
$result
[
$sort
][
'list'
]
=
$v
;
foreach
(
$bargain_data_arr
as
$k2
=>
$v2
)
{
$result
[
$sort
][
'list'
]
=
$v2
;
}
}
...
...
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