Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
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
方斌
51business
Commits
b6f746d6
Commit
b6f746d6
authored
Feb 10, 2020
by
任国军
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://t-git.51gjj.com/fangbin/51business
parents
82cbffbb
33ce6f01
Pipeline
#19275
passed with stage
in 57 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
new_house.js
app/model/realestate/new_house.js
+1
-1
new_house.js
app/service/house/v2/new_house.js
+1
-0
No files found.
app/model/realestate/new_house.js
View file @
b6f746d6
...
...
@@ -69,7 +69,7 @@ module.exports = app => {
allowNull
:
true
},
house_type
:
{
type
:
INTEGER
,
type
:
STRING
,
allowNull
:
true
},
reference_avg_price
:
{
...
...
app/service/house/v2/new_house.js
View file @
b6f746d6
...
...
@@ -460,6 +460,7 @@ class NewHouseService extends Service {
price
:
Number
(
newHouseInfo
.
reference_avg_price
)
===
0
?
'--'
:
Number
(
newHouseInfo
.
reference_avg_price
),
corner
:
newHouseInfo
.
corner
||
''
,
sale_type
:
SaleType
[
newHouseInfo
.
sale_type
]
||
SaleType
[
3
],
//销售状态 0未开售,1售罄,2预售,3在售
property_type
:
newHouseInfo
.
house_type
.
split
(
','
).
slice
(
0
,
2
),
//物业类型
}
return
ret
;
}
...
...
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