Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
asset-distribution
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
data-spider
asset-distribution
Commits
f94cd055
Commit
f94cd055
authored
Apr 07, 2020
by
郑建
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
6.6-2
parent
b437b517
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
FundModuleChannelFundConfigNewServiceImpl.java
...nding/impl/FundModuleChannelFundConfigNewServiceImpl.java
+3
-2
FundModuleServiceImpl.java
...tribution/service/funding/impl/FundModuleServiceImpl.java
+1
-1
IFundModuleChannelFundConfigNewRepository.java
...repository/IFundModuleChannelFundConfigNewRepository.java
+2
-0
No files found.
src/main/java/com/quantgroup/asset/distribution/service/funding/impl/FundModuleChannelFundConfigNewServiceImpl.java
View file @
f94cd055
...
...
@@ -162,8 +162,9 @@ public class FundModuleChannelFundConfigNewServiceImpl implements IFundModuleCha
Map
<
String
,
Object
>
map
=
approvalLogService
.
getApprovalLogs
(
bizChannel
,
null
,
null
,
1
,
null
,
null
,
null
,
pageNum
,
pageSize
,
1
);
List
<
ApprovalLog
>
logs
=
(
List
<
ApprovalLog
>)
map
.
get
(
"list"
);
List
<
Long
>
configIds
=
logs
.
stream
().
collect
(
ArrayList:
:
new
,(
l
,
i
)->
l
.
add
(
i
.
getAuditConfigId
()),
ArrayList:
:
addAll
);
return
null
;
List
<
FundModuleChannelFundConfigNew
>
channelFundConfigs
=
fundModuleChannelFundConfigNewRepository
.
getByIds
(
configIds
);
map
.
replace
(
"list"
,
channelFundConfigs
);
return
map
;
}
@Override
...
...
src/main/java/com/quantgroup/asset/distribution/service/funding/impl/FundModuleServiceImpl.java
View file @
f94cd055
...
...
@@ -141,7 +141,7 @@ public class FundModuleServiceImpl implements IFundModuleService{
@Override
public
GlobalResponse
getChannelFundConfigsNew
(
String
bizChannel
,
Long
fundId
,
Integer
pageNum
,
Integer
pageSize
,
Integer
sortMode
)
{
Map
<
String
,
Object
>
result
;
if
(
sortMode
==
2
){
if
(
sortMode
!=
null
&&
sortMode
==
2
){
result
=
fundModuleChannelFundConfigNewService
.
getChannelFundConfigsByChannelOrFundIdOrdered
(
bizChannel
,
fundId
,
pageNum
,
pageSize
);
}
else
{
result
=
fundModuleChannelFundConfigNewService
.
getChannelFundConfigsByChannelOrFundId
(
bizChannel
,
fundId
,
pageNum
,
pageSize
);
...
...
src/main/java/com/quantgroup/asset/distribution/service/jpa/repository/IFundModuleChannelFundConfigNewRepository.java
View file @
f94cd055
...
...
@@ -38,4 +38,6 @@ public interface IFundModuleChannelFundConfigNewRepository extends JpaRepository
@Query
(
value
=
"select biz_channel from fund_module_channel_fund_config_new where enable = 1"
,
nativeQuery
=
true
)
public
List
<
String
>
getAllBizChannel
();
@Query
(
value
=
"SELECT * FROM fund_module_channel_fund_config_new where id in ?1 order by field(?1)"
,
nativeQuery
=
true
)
List
<
FundModuleChannelFundConfigNew
>
getByIds
(
List
<
Long
>
ids
);
}
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