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
128175bb
Commit
128175bb
authored
Nov 20, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
适合业态
parent
7fa74268
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
Houses.php
application/index/controller/Houses.php
+6
-0
GHouses.php
application/model/GHouses.php
+5
-0
No files found.
application/index/controller/Houses.php
View file @
128175bb
...
...
@@ -299,6 +299,12 @@ class Houses extends Basic
$where
[
'is_exclusive_type'
]
=
$this
->
params
[
'is_exclusive_type'
];
}
//适合业态
if
(
$this
->
params
[
'fit_industry_type'
]
!=
-
1
)
{
$where
[
'fit_industry_type'
]
=
$this
->
params
[
'fit_industry_type'
];
}
/*开始时间*/
if
(
$this
->
params
[
'start_date'
]
!=
NULL
&&
$this
->
params
[
'end_date'
]
==
NULL
)
{
$where
[
'create_time'
]
=
[
'> time'
,
$this
->
params
[
'start_date'
]
.
' 00:00:00'
];
...
...
application/model/GHouses.php
View file @
128175bb
...
...
@@ -746,6 +746,11 @@ class GHouses extends BaseModel
$save_data
[
'is_show_image'
]
=
$data
[
'is_show_image'
];
}
//适合业态
if
(
isset
(
$data
[
'fit_industry_type'
]))
{
$save_data
[
'fit_industry_type'
]
=
$data
[
'fit_industry_type'
];
}
if
(
empty
(
$data
[
'id'
]))
{
$save_data
[
'upload_id'
]
=
$agent_id
;
//上传人
$save_data
[
'create_time'
]
=
date
(
'Y-m-d H:i:s'
);
...
...
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