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
168cbe75
Commit
168cbe75
authored
Jun 12, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
''
parent
a78bc87b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
OfficePayLog.php
application/index/controller/OfficePayLog.php
+2
-0
OfficeRoomService.php
application/index/service/OfficeRoomService.php
+2
-1
No files found.
application/index/controller/OfficePayLog.php
View file @
168cbe75
...
...
@@ -903,6 +903,8 @@ class OfficePayLog extends Basic
$pay_data
[
'bargain_id'
]
=
""
;
$pay_data
[
'is_open'
]
=
0
;
$pay_data
[
'price'
]
=
0
;
$pay_data
[
'house_id'
]
=
''
;
$pay_data
[
'address'
]
=
''
;
}
else
{
$bargain_where
[
'father_id'
]
=
0
;
$bargain_where
[
'id'
]
=
$pay_data
[
'bargain_id'
];
...
...
application/index/service/OfficeRoomService.php
View file @
168cbe75
...
...
@@ -1140,7 +1140,7 @@ class OfficeRoomService
*/
public
function
getMyBuildingRoom
(
$status
,
$pageNo
,
$pageSize
,
$agentId
){
$field
=
"a.id,a.building_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"
;
a.decoration,b.disc,b.title,d.name as business_name
,a.status
"
;
$params
[
"a.status"
]
=
$status
;
$params
[
"c.agent_id"
]
=
$agentId
;
$params
[
"c.type"
]
=
2
;
...
...
@@ -1152,6 +1152,7 @@ class OfficeRoomService
foreach
(
$res
as
$k
=>
$v
)
{
$tmp
[
'id'
]
=
$v
[
'id'
];
$tmp
[
'status'
]
=
$v
[
'status'
];
$tmp
[
'price'
]
=
$this
->
MinField
(
$v
[
'building_id'
],
'price'
);
$tmp
[
'price'
]
=
empty
(
$tmp
[
'price'
])
?
0
:
$tmp
[
'price'
]
/
100
;
$tmp
[
'price_total'
]
=
$this
->
MinField
(
$v
[
'building_id'
],
'price_total'
);
...
...
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