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
3f690b4d
Commit
3f690b4d
authored
Jun 19, 2019
by
李尚科
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://t-git.51gjj.com/fangbin/51business
parents
34b40bd0
8f8aaa28
Pipeline
#9184
passed with stage
in 14 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
+13
-2
Export190619.js
app/controller/house/v2/Export190619.js
+0
-0
export.js
app/router/export.js
+12
-1
new_house.js
app/service/house/v2/new_house.js
+1
-1
No files found.
app/controller/house/v2/Export190619.js
0 → 100644
View file @
3f690b4d
This diff is collapsed.
Click to expand it.
app/router/export
20190425
.js
→
app/router/export.js
View file @
3f690b4d
'use strict'
;
module
.
exports
=
app
=>
{
const
router
=
app
.
router
.
namespace
(
app
.
config
.
projectRootPath
+
'/house/export
20190425
'
);
const
router
=
app
.
router
.
namespace
(
app
.
config
.
projectRootPath
+
'/house/export'
);
router
.
get
(
'add'
,
'/house_image'
,
'house.export20190425.exportHouseImages'
);
//用户浏览记录列表
router
.
get
(
'add'
,
'/residential'
,
'house.export20190425.exportResidential'
);
//用户浏览记录列表
...
...
@@ -10,4 +10,15 @@ module.exports = app => {
router
.
get
(
'/new_house'
,
'house.export20190425.moveNewHouse'
);
router
.
get
(
'/new_house_type'
,
'house.export20190425.moveNewHouseType'
);
//sqlserver迁移数据
router
.
get
(
'third'
,
'/new_house_related'
,
'house.v2.export190619.moveNewHouse'
);
router
.
get
(
'third'
,
'/collection'
,
'house.v2.export190619.moveCollection'
);
router
.
get
(
'third'
,
'/order'
,
'house.v2.export190619.moveOrder'
);
router
.
get
(
'third'
,
'/history'
,
'house.v2.export190619.moveHistory'
);
router
.
get
(
'third'
,
'/foot'
,
'house.v2.export190619.moveFoot'
);
};
app/service/house/v2/new_house.js
View file @
3f690b4d
...
...
@@ -342,7 +342,7 @@ class NewHouseService extends Service {
if
(
type
===
'home'
)
{
//为您推荐只展示50条在售楼盘的数据,根据排序序号取数,数字小的排在前面,数字一样的情况下根据时间逆序排列,时间也一样的情况下随机排列;
filter
.
limit
=
Number
(
condition
.
page_size
)
||
50
;
filter
.
order
.
push
([
'order_id'
,
'
de
sc'
],
[
'created_at'
,
'desc'
]);
filter
.
order
.
push
([
'order_id'
,
'
a
sc'
],
[
'created_at'
,
'desc'
]);
}
else
if
(
type
===
'all'
)
{
filter
.
order
.
push
([
'sale_type'
,
'desc'
]);
}
else
if
(
type
===
'sale'
)
{
...
...
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