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
9e1025b9
Commit
9e1025b9
authored
Jun 05, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
114356d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
OfficeRoomService.php
application/index/service/OfficeRoomService.php
+2
-1
OfficeGRoom.php
application/model/OfficeGRoom.php
+2
-0
No files found.
application/index/service/OfficeRoomService.php
View file @
9e1025b9
...
@@ -1110,7 +1110,8 @@ class OfficeRoomService
...
@@ -1110,7 +1110,8 @@ class OfficeRoomService
* @return array
* @return array
*/
*/
public
function
getMyBuildingRoom
(
$status
,
$pageNo
,
$pageSize
,
$agentId
){
public
function
getMyBuildingRoom
(
$status
,
$pageNo
,
$pageSize
,
$agentId
){
$field
=
"a.id,a.area,a.price_total,a.price,a.station_start,a.station_end,a.decoration"
;
$field
=
"a.id,a.area,a.price_total,a.price,a.station_start,a.station_end,
a.decoration,b.disc,b.title,d.name as business_name"
;
$params
[
"a.status"
]
=
$status
;
$params
[
"a.status"
]
=
$status
;
$params
[
"c.agent_id"
]
=
$agentId
;
$params
[
"c.agent_id"
]
=
$agentId
;
$params
[
"c.type"
]
=
2
;
$params
[
"c.type"
]
=
2
;
...
...
application/model/OfficeGRoom.php
View file @
9e1025b9
...
@@ -277,6 +277,8 @@ class OfficeGRoom extends BaseModel
...
@@ -277,6 +277,8 @@ class OfficeGRoom extends BaseModel
->
alias
(
"a"
)
->
alias
(
"a"
)
->
join
(
'office_g_building b'
,
'a.building_id = b.id'
,
'left'
)
->
join
(
'office_g_building b'
,
'a.building_id = b.id'
,
'left'
)
->
join
(
'office_g_room_to_agent c'
,
'a.id = c.house_id'
,
'left'
)
->
join
(
'office_g_room_to_agent c'
,
'a.id = c.house_id'
,
'left'
)
->
join
(
'g_business_district d'
,
'b.business_district_id = d.id'
,
'left'
)
->
where
(
$params
)
->
where
(
$params
)
->
order
(
$order_
)
->
order
(
$order_
)
->
limit
(
$pageSize
)
->
limit
(
$pageSize
)
...
...
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