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
2d361eec
Commit
2d361eec
authored
Jun 11, 2019
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
5e695691
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
OfficeRoomService.php
application/index/service/OfficeRoomService.php
+1
-1
OfficeGRoom.php
application/model/OfficeGRoom.php
+1
-0
No files found.
application/index/service/OfficeRoomService.php
View file @
2d361eec
...
@@ -756,7 +756,7 @@ class OfficeRoomService
...
@@ -756,7 +756,7 @@ class OfficeRoomService
//房源数
//房源数
public
function
getRoomNum
(
$building_id
,
$id
){
public
function
getRoomNum
(
$building_id
,
$id
){
$params
[
'building_id'
]
=
$building_id
;
$params
[
'building_id'
]
=
$building_id
;
$params
[
'id'
]
=
array
(
'neq'
,
$id
);
// $params['id']
= array('neq',$id);
$params
[
'is_rent'
]
=
0
;
$params
[
'is_rent'
]
=
0
;
$params
[
'status'
]
=
1
;
$params
[
'status'
]
=
1
;
$res
=
$this
->
m_office_room
->
getRoomNum
(
$params
);
$res
=
$this
->
m_office_room
->
getRoomNum
(
$params
);
...
...
application/model/OfficeGRoom.php
View file @
2d361eec
...
@@ -350,6 +350,7 @@ class OfficeGRoom extends BaseModel
...
@@ -350,6 +350,7 @@ class OfficeGRoom extends BaseModel
public
function
getRoomNum
(
$params
)
public
function
getRoomNum
(
$params
)
{
{
$result
=
$this
->
where
(
$params
)
->
count
();
$result
=
$this
->
where
(
$params
)
->
count
();
big_log
(
$this
->
getLastSql
());
return
$result
;
return
$result
;
}
}
...
...
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