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
10d194ea
Commit
10d194ea
authored
Apr 13, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
997756ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
OrderLogService.php
application/api_broker/service/OrderLogService.php
+11
-10
No files found.
application/api_broker/service/OrderLogService.php
View file @
10d194ea
...
@@ -373,12 +373,12 @@ class OrderLogService
...
@@ -373,12 +373,12 @@ class OrderLogService
$v
[
"step"
]
=
"报备【"
.
$v
[
'house_title'
]
.
"】"
;
$v
[
"step"
]
=
"报备【"
.
$v
[
'house_title'
]
.
"】"
;
$result
[
$sort
++
]
=
$v
;
$result
[
$sort
++
]
=
$v
;
$order_ids
.=
$v
[
"order_id"
]
.
","
;
$order_ids
.=
$v
[
"order_id"
]
.
","
;
$order_ids
=
rtrim
(
$order_ids
,
","
);
$order_ids
=
rtrim
(
$order_ids
,
","
);
$report_ids
.=
$v
[
"id"
]
.
","
;
$report_ids
.=
$v
[
"id"
]
.
","
;
}
}
$report_ids
=
rtrim
(
$report_ids
,
","
);
$report_ids
=
rtrim
(
$report_ids
,
","
);
$orderParams
[
"order_id"
]
=
array
(
"in"
,
$order_ids
);
$orderParams
[
"order_id"
]
=
array
(
"in"
,
$order_ids
);
$orderParams
[
"house_title"
]
=
array
(
"like"
,
"%"
.
trim
(
$search
)
.
"%"
);
$orderParams
[
"house_title"
]
=
array
(
"like"
,
"%"
.
trim
(
$search
)
.
"%"
);
...
@@ -405,7 +405,8 @@ class OrderLogService
...
@@ -405,7 +405,8 @@ class OrderLogService
$v
[
"step_name"
]
=
"follow_up_log"
;
$v
[
"step_name"
]
=
"follow_up_log"
;
$v
[
"step"
]
=
"跟进"
;
$v
[
"step"
]
=
"跟进"
;
$v
=
$this
->
convertFollowUp
(
$v
);
$v
=
$this
->
convertFollowUp
(
$v
);
$v
[
"explain_img"
]
=
CHAT_IMG_URL
.
$v
[
"explain_img"
];
$v
[
"img_path"
]
=
CHAT_IMG_URL
;
$v
[
"explain_img"
]
=
$v
[
"explain_img"
];
$result
[
$sort
++
]
=
$v
;
$result
[
$sort
++
]
=
$v
;
}
}
}
}
...
@@ -717,9 +718,9 @@ class OrderLogService
...
@@ -717,9 +718,9 @@ class OrderLogService
switch
(
$type
)
{
//1盘方,2客方,3反签,4独家,5合作方
switch
(
$type
)
{
//1盘方,2客方,3反签,4独家,5合作方
case
1
:
case
1
:
$params
[
"a.houses_id"
]
=
$result
[
0
][
"house_id"
];
$params
[
"a.houses_id"
]
=
$result
[
0
][
"house_id"
];
$params
[
"a.type"
]
=
2
;
$params
[
"a.type"
]
=
2
;
$params
[
"b.status"
]
=
0
;
$params
[
"b.status"
]
=
0
;
$list
=
$houseAgents
->
getAgentsByHouseId
(
$field
,
$params
);
$list
=
$houseAgents
->
getAgentsByHouseId
(
$field
,
$params
);
break
;
break
;
case
2
:
case
2
:
$userModel
=
new
Users
();
$userModel
=
new
Users
();
...
@@ -735,9 +736,9 @@ class OrderLogService
...
@@ -735,9 +736,9 @@ class OrderLogService
break
;
break
;
case
4
:
case
4
:
$params
[
"a.houses_id"
]
=
$result
[
0
][
"house_id"
];
$params
[
"a.houses_id"
]
=
$result
[
0
][
"house_id"
];
$params
[
"a.type"
]
=
3
;
$params
[
"a.type"
]
=
3
;
$params
[
"b.status"
]
=
0
;
$params
[
"b.status"
]
=
0
;
$list
=
$houseAgents
->
getAgentsByHouseId
(
$field
,
$params
);
$list
=
$houseAgents
->
getAgentsByHouseId
(
$field
,
$params
);
break
;
break
;
case
5
:
case
5
:
return
null
;
return
null
;
...
...
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