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
e3206259
Commit
e3206259
authored
Mar 24, 2021
by
zp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
排序
parent
60cfec93
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 @
e3206259
...
...
@@ -1859,7 +1859,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,"
;
}
...
...
@@ -1867,7 +1867,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,"
;
}
...
...
@@ -1875,7 +1875,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,"
;
}
...
...
@@ -1883,7 +1883,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,"
;
}
...
...
@@ -1891,7 +1891,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,"
;
}
...
...
@@ -1899,7 +1899,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,"
;
}
...
...
@@ -1907,7 +1907,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,"
;
}
...
...
@@ -1915,7 +1915,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,"
;
}
...
...
@@ -1923,7 +1923,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,"
;
}
...
...
@@ -1931,14 +1931,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