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
43df5aa7
Commit
43df5aa7
authored
Nov 19, 2018
by
zw
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'test'
parents
47765ed6
c3c43fd3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
OrderLogService.php
application/api_broker/service/OrderLogService.php
+6
-7
No files found.
application/api_broker/service/OrderLogService.php
View file @
43df5aa7
...
...
@@ -505,8 +505,7 @@ class OrderLogService
$result
[
$sort
++
]
=
$v
;
}
}
$field_report
=
"a.id,a.create_time,a.predict_see_time,a.intro,b.id as order_id,b.house_title,c.id as agent_id,c.name,c.img,d.store_name"
;
$field_report
=
"a.id,a.create_time,a.predict_see_time,a.intro,b.id as order_id,b.house_id,b.house_title,c.id as agent_id,c.name,c.img,d.store_name"
;
$reportData
=
$oReportModel
->
selectReportByUserId
(
$field_report
,
[
"user_id"
=>
$user_id
]);
if
(
count
(
$result
)
<=
0
&&
count
(
$reportData
)
<=
0
)
{
...
...
@@ -518,7 +517,7 @@ class OrderLogService
foreach
(
$reportData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"report"
;
$house_title
=
mb_substr
(
$v
[
'house_title'
],
0
,
3
,
'utf-8'
)
.
"***"
;
$v
[
"step"
]
=
"报备【
"
.
$house_title
.
"】"
;
$v
[
"step"
]
=
"报备【
id:"
.
$v
[
'house_id'
]
.
" "
.
$house_title
.
"】"
;
$result
[
$sort
++
]
=
$v
;
$order_ids
.=
$v
[
"order_id"
]
.
","
;
...
...
@@ -540,7 +539,7 @@ class OrderLogService
foreach
(
$marchInData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"march_in"
;
$house_title
=
mb_substr
(
$v
[
'house_title'
],
0
,
3
,
'utf-8'
)
.
"***"
;
$v
[
"step"
]
=
"进场【
"
.
$house_title
.
"】"
;
$v
[
"step"
]
=
"进场【
id:"
.
$v
[
'house_id'
]
.
" "
.
$house_title
.
"】"
;
$result
[
$sort
++
]
=
$v
;
}
}
...
...
@@ -569,7 +568,7 @@ class OrderLogService
foreach
(
$payLogData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"pay_log"
;
$house_title
=
mb_substr
(
$v
[
'house_title'
],
0
,
3
,
'utf-8'
)
.
"***"
;
$v
[
"step"
]
=
"收款【
"
.
$house_title
.
"】"
;
$v
[
"step"
]
=
"收款【
id:"
.
$v
[
'house_id'
]
.
" "
.
$house_title
.
"】"
;
$result
[
$sort
++
]
=
$v
;
}
}
...
...
@@ -583,7 +582,7 @@ class OrderLogService
foreach
(
$refundData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"refund"
;
$house_title
=
mb_substr
(
$v
[
'house_title'
],
0
,
3
,
'utf-8'
)
.
"***"
;
$v
[
"step"
]
=
"退款【
"
.
$house_title
.
"】"
;
$v
[
"step"
]
=
"退款【
id:"
.
$v
[
'house_id'
]
.
" "
.
$house_title
.
"】"
;
$result
[
$sort
++
]
=
$v
;
}
}
...
...
@@ -595,7 +594,7 @@ class OrderLogService
foreach
(
$bargainData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"bargain"
;
$house_title
=
mb_substr
(
$v
[
'house_title'
],
0
,
3
,
'utf-8'
)
.
"***"
;
$v
[
"step"
]
=
"成交报告【
"
.
$house_title
.
"】"
;
$v
[
"step"
]
=
"成交报告【
id:"
.
$v
[
'house_id'
]
.
" "
.
$house_title
.
"】"
;
$result
[
$sort
++
]
=
$v
;
}
}
...
...
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