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
cb7728cb
Commit
cb7728cb
authored
Aug 27, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
status
parent
3167d137
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
Houses.php
application/index/controller/Houses.php
+6
-5
No files found.
application/index/controller/Houses.php
View file @
cb7728cb
...
@@ -185,11 +185,6 @@ class Houses extends Basic
...
@@ -185,11 +185,6 @@ class Houses extends Basic
$where
[
'disc'
]
=
$this
->
params
[
'disc'
];
$where
[
'disc'
]
=
$this
->
params
[
'disc'
];
}
}
/*状态 0待审批 1上架 2下架 3回收*/
if
(
!
empty
(
$this
->
params
[
'status'
]))
{
$where
[
'status'
]
=
$this
->
params
[
'status'
];
}
// /*价格 -1表示营业额扣点 存分*/
// /*价格 -1表示营业额扣点 存分*/
// if ($this->params['rent_price'] != NULL && $this->params['rent_price'] != -1) {
// if ($this->params['rent_price'] != NULL && $this->params['rent_price'] != -1) {
// $where['rent_type'] = 1;
// $where['rent_type'] = 1;
...
@@ -284,7 +279,13 @@ class Houses extends Basic
...
@@ -284,7 +279,13 @@ class Houses extends Basic
if
(
$this
->
params
[
'id'
]
!=
NULL
)
{
if
(
$this
->
params
[
'id'
]
!=
NULL
)
{
$where
[
'id'
]
=
$this
->
params
[
'id'
];
$where
[
'id'
]
=
$this
->
params
[
'id'
];
}
else
{
}
else
{
/*状态 0待审批 1上架 2下架 3回收*/
if
(
empty
(
$this
->
params
[
'status'
]))
{
$where
[
'status'
]
=
[
'<>'
,
3
];
$where
[
'status'
]
=
[
'<>'
,
3
];
}
else
{
$where
[
'status'
]
=
$this
->
params
[
'status'
];
}
if
(
empty
(
$this
->
params
[
'city'
]))
{
if
(
empty
(
$this
->
params
[
'city'
]))
{
$where
[
'city'
]
=
$this
->
city
;
$where
[
'city'
]
=
$this
->
city
;
}
else
{
}
else
{
...
...
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