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
58b67064
Commit
58b67064
authored
Jun 12, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
is_rent
parent
399e0b98
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
OfficeRoomService.php
application/index/service/OfficeRoomService.php
+2
-1
No files found.
application/index/service/OfficeRoomService.php
View file @
58b67064
...
...
@@ -1252,7 +1252,7 @@ class OfficeRoomService
$order
=
'a.home_page_sort desc'
;
}
$field
=
'a.id,b.disc,b.title,b.address,c.name as business_name,a.building_id,a.price,a.price_total,b.status'
;
$field
=
'a.id,b.disc,b.title,b.address,c.name as business_name,a.building_id,a.price,a.price_total,b.status
,a.is_rent
'
;
try
{
$data
=
$this
->
m_office_room
->
getRoomBuilding
(
$page_no
,
$page_size
,
$order
,
$field
,
$where
);
}
catch
(
\Exception
$e
)
{
...
...
@@ -1268,6 +1268,7 @@ class OfficeRoomService
$tmp
[
'price_total'
]
=
empty
(
$v
[
'price_total'
])
?
0
:
$v
[
'price_total'
]
/
100
;
$tmp
[
'shop_sign'
]
=
$this
->
getBuildingSign
(
$v
[
'building_id'
]);
$tmp
[
'status'
]
=
$v
[
'status'
];
$tmp
[
'is_rent'
]
=
$v
[
'is_rent'
];
$area
=
$this
->
MinField
(
$v
[
'building_id'
],
'area'
);
$tmp
[
'title'
]
=
$v
[
'disc'
]
.
' '
.
$v
[
'business_name'
]
.
' '
.
$v
[
'title'
]
.
' '
.
$area
.
'㎡'
;
$result_data
[]
=
$tmp
;
...
...
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