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
d43e22b2
Commit
d43e22b2
authored
Nov 14, 2018
by
zw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户动态商铺标题显示前三个
parent
b5a788e2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
OrderLogService.php
application/api_broker/service/OrderLogService.php
+9
-7
No files found.
application/api_broker/service/OrderLogService.php
View file @
d43e22b2
...
@@ -517,8 +517,8 @@ class OrderLogService
...
@@ -517,8 +517,8 @@ class OrderLogService
//报备
//报备
foreach
(
$reportData
as
$k
=>
$v
)
{
foreach
(
$reportData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"report"
;
$v
[
"step_name"
]
=
"report"
;
$house_title
=
substr
(
$v
[
'house_title'
],
0
,
2
)
.
"***"
;
$house_title
=
mb_substr
(
$v
[
'house_title'
],
0
,
3
,
'utf-8'
)
.
"***"
;
$v
[
"step"
]
=
"报备【"
.
$house_title
.
"】"
;
$v
[
"step"
]
=
"报备【"
.
$house_title
.
"】"
;
$result
[
$sort
++
]
=
$v
;
$result
[
$sort
++
]
=
$v
;
$order_ids
.=
$v
[
"order_id"
]
.
","
;
$order_ids
.=
$v
[
"order_id"
]
.
","
;
...
@@ -539,11 +539,12 @@ class OrderLogService
...
@@ -539,11 +539,12 @@ class OrderLogService
if
(
count
(
$marchInData
)
>
0
)
{
if
(
count
(
$marchInData
)
>
0
)
{
foreach
(
$marchInData
as
$k
=>
$v
)
{
foreach
(
$marchInData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"march_in"
;
$v
[
"step_name"
]
=
"march_in"
;
$house_title
=
substr
(
$v
[
'house_title'
],
0
,
2
)
.
"***"
;
$house_title
=
mb_substr
(
$v
[
'house_title'
],
0
,
3
,
'utf-8'
)
.
"***"
;
$v
[
"step"
]
=
"进场【"
.
$house_title
.
"】"
;
$v
[
"step"
]
=
"进场【"
.
$house_title
.
"】"
;
$result
[
$sort
++
]
=
$v
;
$result
[
$sort
++
]
=
$v
;
}
}
}
}
//跟进
//跟进
$field_follow_up
=
"a.id,a.agent_id,a.agent_name,a.user_type,a.decision_maker,a.industry_type,a.area_requirement,a.price_requirement,a.province,a.city,
$field_follow_up
=
"a.id,a.agent_id,a.agent_name,a.user_type,a.decision_maker,a.industry_type,a.area_requirement,a.price_requirement,a.province,a.city,
a.district,a.business_area,a.explain,a.explain_img,a.create_time,b.name,b.img,c.store_name"
;
a.district,a.business_area,a.explain,a.explain_img,a.create_time,b.name,b.img,c.store_name"
;
...
@@ -567,7 +568,7 @@ class OrderLogService
...
@@ -567,7 +568,7 @@ class OrderLogService
if
(
count
(
$payLogData
)
>
0
)
{
if
(
count
(
$payLogData
)
>
0
)
{
foreach
(
$payLogData
as
$k
=>
$v
)
{
foreach
(
$payLogData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"pay_log"
;
$v
[
"step_name"
]
=
"pay_log"
;
$house_title
=
substr
(
$v
[
'house_title'
],
0
,
2
)
.
"***"
;
$house_title
=
mb_substr
(
$v
[
'house_title'
],
0
,
3
,
'utf-8'
)
.
"***"
;
$v
[
"step"
]
=
"收款【"
.
$house_title
.
"】"
;
$v
[
"step"
]
=
"收款【"
.
$house_title
.
"】"
;
$result
[
$sort
++
]
=
$v
;
$result
[
$sort
++
]
=
$v
;
}
}
...
@@ -581,7 +582,7 @@ class OrderLogService
...
@@ -581,7 +582,7 @@ class OrderLogService
if
(
count
(
$refundData
)
>
0
)
{
if
(
count
(
$refundData
)
>
0
)
{
foreach
(
$refundData
as
$k
=>
$v
)
{
foreach
(
$refundData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"refund"
;
$v
[
"step_name"
]
=
"refund"
;
$house_title
=
substr
(
$v
[
'house_title'
],
0
,
2
)
.
"***"
;
$house_title
=
mb_substr
(
$v
[
'house_title'
],
0
,
3
,
'utf-8'
)
.
"***"
;
$v
[
"step"
]
=
"退款【"
.
$house_title
.
"】"
;
$v
[
"step"
]
=
"退款【"
.
$house_title
.
"】"
;
$result
[
$sort
++
]
=
$v
;
$result
[
$sort
++
]
=
$v
;
}
}
...
@@ -593,12 +594,13 @@ class OrderLogService
...
@@ -593,12 +594,13 @@ class OrderLogService
if
(
count
(
$bargainData
)
>
0
)
{
if
(
count
(
$bargainData
)
>
0
)
{
foreach
(
$bargainData
as
$k
=>
$v
)
{
foreach
(
$bargainData
as
$k
=>
$v
)
{
$v
[
"step_name"
]
=
"bargain"
;
$v
[
"step_name"
]
=
"bargain"
;
$house_title
=
substr
(
$v
[
'house_title'
],
0
,
2
)
.
"***"
;
$house_title
=
mb_substr
(
$v
[
'house_title'
],
0
,
3
,
'utf-8'
)
.
"***"
;
$v
[
"step"
]
=
"成交报告【"
.
$house_title
.
"】"
;
$v
[
"step"
]
=
"成交报告【"
.
$house_title
.
"】"
;
$result
[
$sort
++
]
=
$v
;
$result
[
$sort
++
]
=
$v
;
}
}
}
}
dump
(
$result
);
exit
;
return
$this
->
sortByTime
(
$result
);
return
$this
->
sortByTime
(
$result
);
}
}
...
...
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