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
f28452be
Commit
f28452be
authored
Jun 12, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
盘方信息
parent
7cc7c0c3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
OfficeRoomService.php
application/index/service/OfficeRoomService.php
+5
-3
No files found.
application/index/service/OfficeRoomService.php
View file @
f28452be
...
...
@@ -650,7 +650,9 @@ class OfficeRoomService
//上传人
$result
[
'upload_info'
]
=
$this
->
getUploadInfo
(
$result
[
'operation_id'
]);
//独家方
$result
[
'exclusive_info'
]
=
$this
->
getExclusiveInfo
(
$result
[
'id'
]);
$result
[
'exclusive_info'
]
=
$this
->
getExclusiveInfo
(
$result
[
'id'
],
3
);
//盘方
$result
[
'room_relegation_info'
]
=
$this
->
getExclusiveInfo
(
$result
[
'id'
],
2
);
//房东
$result
[
'landlord_info'
]
=
$this
->
getLandlordInfo
(
$result
[
'id'
]);
//房源数
...
...
@@ -778,10 +780,10 @@ class OfficeRoomService
}
//获取独家方
public
function
getExclusiveInfo
(
$house_id
){
public
function
getExclusiveInfo
(
$house_id
,
$type
=
3
){
$exclusive_info
=
[];
$params
[
'house_id'
]
=
$house_id
;
$params
[
'type'
]
=
3
;
$params
[
'type'
]
=
$type
;
$params
[
'is_del'
]
=
0
;
$res
=
$this
->
agent_room
->
getAgentsByRoomId
(
'b.id,name,a.type,b.phone'
,
$params
);
if
(
$res
){
...
...
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