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
2f4848ee
Commit
2f4848ee
authored
Feb 03, 2021
by
张亚辉
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
私募基金
parent
1b960424
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
ProductServiceImpl.java
.../java/com/tanpu/fund/service/impl/ProductServiceImpl.java
+13
-9
No files found.
src/main/java/com/tanpu/fund/service/impl/ProductServiceImpl.java
View file @
2f4848ee
...
...
@@ -184,8 +184,9 @@ public class ProductServiceImpl implements ProductService, Constant {
private
FundCountExample
filterFundCountExample
(
ProductInfoReq
req
)
{
FundCountExample
example
=
new
FundCountExample
();
FundCountExample
.
Criteria
criteria
=
example
.
createCriteria
()
.
andStatusEqualTo
(
ONE_NUM
)
.
andDataSourcesEqualTo
(
TWO_NUM
).
andDeleteTagEqualTo
(
ZERO_NUM
);
// .andStatusEqualTo(ONE_NUM)
// .andDataSourcesEqualTo(TWO_NUM)
.
andDeleteTagEqualTo
(
ZERO_NUM
);
if
(!
CollectionUtils
.
isEmpty
(
req
.
getList
()))
{
criteria
.
andSubstrategyIn
(
req
.
getList
().
stream
().
map
(
Integer:
:
parseInt
).
collect
(
Collectors
.
toList
()));
...
...
@@ -241,8 +242,9 @@ public class ProductServiceImpl implements ProductService, Constant {
private
FundCountExample
filterFundCountExample
(
ProductListReq
req
)
{
FundCountExample
example
=
new
FundCountExample
();
FundCountExample
.
Criteria
criteria
=
example
.
createCriteria
()
.
andStatusEqualTo
(
ONE_NUM
)
.
andDataSourcesEqualTo
(
TWO_NUM
).
andDeleteTagEqualTo
(
ZERO_NUM
);
// .andStatusEqualTo(ONE_NUM)
// .andDataSourcesEqualTo(TWO_NUM)
.
andDeleteTagEqualTo
(
ZERO_NUM
);
if
(!
CollectionUtils
.
isEmpty
(
req
.
getFundIds
()))
{
criteria
.
andFundIdIn
(
req
.
getFundIds
());
...
...
@@ -453,8 +455,9 @@ public class ProductServiceImpl implements ProductService, Constant {
private
FundCountExample
getFundCountExample
(
NetReq
req
)
{
FundCountExample
example
=
new
FundCountExample
();
FundCountExample
.
Criteria
criteria
=
example
.
createCriteria
()
.
andStatusEqualTo
(
ONE_NUM
).
andDataSourcesEqualTo
(
ONE_NUM
)
.
andDeleteTagEqualTo
(
ZERO_NUM
).
andStrategyNotEqualTo
(
SEVEN_NUM
);
// .andStatusEqualTo(ONE_NUM).andDataSourcesEqualTo(ONE_NUM)
// .andDeleteTagEqualTo(ZERO_NUM)
.
andStrategyNotEqualTo
(
SEVEN_NUM
);
if
(
CollectionUtils
.
isNotEmpty
(
req
.
getList
()))
{
criteria
.
andSubstrategyIn
(
req
.
getList
().
stream
().
map
(
Integer:
:
parseInt
).
collect
(
Collectors
.
toList
()));
...
...
@@ -1118,8 +1121,9 @@ public class ProductServiceImpl implements ProductService, Constant {
FundCountExample
example
=
new
FundCountExample
();
FundCountExample
.
Criteria
criteria
=
example
.
createCriteria
().
andDataSourcesEqualTo
(
ONE_NUM
)
.
andStatusEqualTo
(
ONE_NUM
)
.
andStrategyNotEqualTo
(
7
).
andDeleteTagEqualTo
(
ZERO_NUM
);
// .andStatusEqualTo(ONE_NUM)
.
andStrategyNotEqualTo
(
7
)
.
andDeleteTagEqualTo
(
ZERO_NUM
);
if
(
CollectionUtils
.
isNotEmpty
(
req
.
getList
()))
{
criteria
.
andSubstrategyIn
(
req
.
getList
().
stream
().
map
(
Integer:
:
parseInt
).
collect
(
Collectors
.
toList
()));
...
...
@@ -1153,7 +1157,7 @@ public class ProductServiceImpl implements ProductService, Constant {
FundCountExample
example
=
new
FundCountExample
();
FundCountExample
.
Criteria
criteria
=
example
.
createCriteria
().
andDataSourcesEqualTo
(
ONE_NUM
)
.
andStatusEqualTo
(
ONE_NUM
)
//
.andStatusEqualTo(ONE_NUM)
.
andStrategyNotEqualTo
(
7
).
andDeleteTagEqualTo
(
ZERO_NUM
);
if
(!
CollectionUtils
.
isEmpty
(
req
.
getFundIds
()))
{
...
...
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