Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Sign in
Toggle navigation
T
tamp_fund
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周鹏
tamp_fund
Commits
91df7588
Commit
91df7588
authored
Mar 24, 2021
by
zp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排序
parent
1b95417f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
ProductServiceImpl.java
.../java/com/tanpu/fund/service/impl/ProductServiceImpl.java
+11
-11
No files found.
src/main/java/com/tanpu/fund/service/impl/ProductServiceImpl.java
View file @
91df7588
...
...
@@ -1889,7 +1889,7 @@ public class ProductServiceImpl implements ProductService, Constant {
case
"day"
:
sort
=
"ret_1day "
;
if
(
StringUtils
.
isNotEmpty
(
req
.
getRankSort
()))
{
sort
=
sort
+
req
.
getNetSort
();
sort
=
sort
+
req
.
getNetSort
()
+
","
;
}
else
{
sort
=
sort
+
"desc,"
;
}
...
...
@@ -1897,7 +1897,7 @@ public class ProductServiceImpl implements ProductService, Constant {
case
"week"
:
sort
=
"ret_1w "
;
if
(
StringUtils
.
isNotEmpty
(
req
.
getRankSort
()))
{
sort
=
sort
+
req
.
getNetSort
();
sort
=
sort
+
req
.
getNetSort
()
+
","
;
}
else
{
sort
=
sort
+
"desc,"
;
}
...
...
@@ -1905,7 +1905,7 @@ public class ProductServiceImpl implements ProductService, Constant {
case
"month"
:
sort
=
"ret_1m "
;
if
(
StringUtils
.
isNotEmpty
(
req
.
getRankSort
()))
{
sort
=
sort
+
req
.
getNetSort
();
sort
=
sort
+
req
.
getNetSort
()
+
","
;
}
else
{
sort
=
sort
+
"desc,"
;
}
...
...
@@ -1913,7 +1913,7 @@ public class ProductServiceImpl implements ProductService, Constant {
case
"season"
:
sort
=
"ret_3m "
;
if
(
StringUtils
.
isNotEmpty
(
req
.
getRankSort
()))
{
sort
=
sort
+
req
.
getNetSort
();
sort
=
sort
+
req
.
getNetSort
()
+
","
;
}
else
{
sort
=
sort
+
"desc,"
;
}
...
...
@@ -1921,7 +1921,7 @@ public class ProductServiceImpl implements ProductService, Constant {
case
"halfAYear"
:
sort
=
"ret_6m "
;
if
(
StringUtils
.
isNotEmpty
(
req
.
getRankSort
()))
{
sort
=
sort
+
req
.
getNetSort
();
sort
=
sort
+
req
.
getNetSort
()
+
","
;
}
else
{
sort
=
sort
+
"desc,"
;
}
...
...
@@ -1929,7 +1929,7 @@ public class ProductServiceImpl implements ProductService, Constant {
case
"year"
:
sort
=
"ret_1y "
;
if
(
StringUtils
.
isNotEmpty
(
req
.
getRankSort
()))
{
sort
=
sort
+
req
.
getNetSort
();
sort
=
sort
+
req
.
getNetSort
()
+
","
;
}
else
{
sort
=
sort
+
"desc,"
;
}
...
...
@@ -1937,7 +1937,7 @@ public class ProductServiceImpl implements ProductService, Constant {
case
"twoYear"
:
sort
=
"ret_2y "
;
if
(
StringUtils
.
isNotEmpty
(
req
.
getRankSort
()))
{
sort
=
sort
+
req
.
getNetSort
();
sort
=
sort
+
req
.
getNetSort
()
+
","
;
}
else
{
sort
=
sort
+
"desc,"
;
}
...
...
@@ -1945,7 +1945,7 @@ public class ProductServiceImpl implements ProductService, Constant {
case
"threeYear"
:
sort
=
"ret_3y "
;
if
(
StringUtils
.
isNotEmpty
(
req
.
getRankSort
()))
{
sort
=
sort
+
req
.
getNetSort
();
sort
=
sort
+
req
.
getNetSort
()
+
","
;
}
else
{
sort
=
sort
+
"desc,"
;
}
...
...
@@ -1953,7 +1953,7 @@ public class ProductServiceImpl implements ProductService, Constant {
case
"fiveYear"
:
sort
=
"ret_5y "
;
if
(
StringUtils
.
isNotEmpty
(
req
.
getRankSort
()))
{
sort
=
sort
+
req
.
getNetSort
();
sort
=
sort
+
req
.
getNetSort
()
+
","
;
}
else
{
sort
=
sort
+
"desc,"
;
}
...
...
@@ -1961,14 +1961,14 @@ public class ProductServiceImpl implements ProductService, Constant {
case
"retIncep"
:
sort
=
"ret_incep "
;
if
(
StringUtils
.
isNotEmpty
(
req
.
getRankSort
()))
{
sort
=
sort
+
req
.
getNetSort
();
sort
=
sort
+
req
.
getNetSort
()
+
","
;
}
else
{
sort
=
sort
+
"desc,"
;
}
break
;
}
sort
=
(
StringUtils
.
isEmpty
(
sort
)
?
sort
:
sort
+
", "
)
+
" net_nav "
;
sort
=
sort
+
" net_nav "
;
if
(
StringUtils
.
isNotEmpty
(
req
.
getNetSort
()))
{
sort
=
sort
+
req
.
getNetSort
();
}
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