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
861a30ba
Commit
861a30ba
authored
Jun 18, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
//
parent
6f2665ef
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
OfficeRoomService.php
application/index/service/OfficeRoomService.php
+4
-4
No files found.
application/index/service/OfficeRoomService.php
View file @
861a30ba
...
@@ -1154,10 +1154,10 @@ class OfficeRoomService
...
@@ -1154,10 +1154,10 @@ class OfficeRoomService
foreach
(
$res
as
$k
=>
$v
)
{
foreach
(
$res
as
$k
=>
$v
)
{
$tmp
[
'id'
]
=
$v
[
'id'
];
$tmp
[
'id'
]
=
$v
[
'id'
];
$tmp
[
'status'
]
=
$v
[
'status'
];
$tmp
[
'status'
]
=
$v
[
'status'
];
$tmp
[
'price'
]
=
$this
->
MinField
(
$v
[
'building_id'
],
'price'
);
//
$tmp['price'] = $this->MinField($v['building_id'], 'price');
$tmp
[
'price'
]
=
empty
(
$
tmp
[
'price'
])
?
0
:
$tmp
[
'price'
]
/
100
;
$tmp
[
'price'
]
=
empty
(
$
v
[
'price'
])
?
0
:
$v
[
'price'
]
/
100
;
$tmp
[
'price_total'
]
=
$this
->
MinField
(
$v
[
'building_id'
],
'price_total'
);
//
$tmp['price_total'] = $this->MinField($v['building_id'], 'price_total');
$tmp
[
'price_total'
]
=
empty
(
$
tmp
[
'price_total'
])
?
0
:
$tmp
[
'price_total'
]
/
100
;
$tmp
[
'price_total'
]
=
empty
(
$
v
[
'price_total'
])
?
0
:
$v
[
'price_total'
]
/
100
;
$tmp
[
'shop_sign'
]
=
$this
->
getBuildingSign
(
$v
[
'id'
]);
$tmp
[
'shop_sign'
]
=
$this
->
getBuildingSign
(
$v
[
'id'
]);
$area
=
$this
->
MinField
(
$v
[
'building_id'
],
'area'
);
$area
=
$this
->
MinField
(
$v
[
'building_id'
],
'area'
);
$tmp
[
'title'
]
=
$v
[
'disc'
]
.
' '
.
$v
[
'business_name'
]
.
' '
.
$v
[
'title'
]
.
' '
.
$area
.
'㎡'
;
$tmp
[
'title'
]
=
$v
[
'disc'
]
.
' '
.
$v
[
'business_name'
]
.
' '
.
$v
[
'title'
]
.
' '
.
$area
.
'㎡'
;
...
...
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