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
7bd81b90
Commit
7bd81b90
authored
Mar 31, 2020
by
zhengjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
量子魔方6.6-2
parent
d9b8c6d5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
FundModuleController.java
...p/asset/distribution/controller/FundModuleController.java
+4
-3
No files found.
src/main/java/com/quantgroup/asset/distribution/controller/FundModuleController.java
View file @
7bd81b90
package
com
.
quantgroup
.
asset
.
distribution
.
controller
;
package
com
.
quantgroup
.
asset
.
distribution
.
controller
;
import
java.util.ArrayList
;
import
java.util.List
;
import
java.util.List
;
import
java.util.concurrent.TimeUnit
;
import
java.util.concurrent.TimeUnit
;
...
@@ -118,8 +119,8 @@ public class FundModuleController {
...
@@ -118,8 +119,8 @@ public class FundModuleController {
}
}
@RequestMapping
(
"/simulation/result"
)
@RequestMapping
(
"/simulation/result"
)
public
GlobalResponse
simulationResult
(
List
<
FundConfigCondition
>
configConditions
,
Long
configId
){
public
GlobalResponse
simulationResult
(
String
configConditions
,
Long
configId
){
return
simulation
(
configConditions
,
configId
);
return
simulation
(
JSON
.
parseArray
(
configConditions
,
FundConfigCondition
.
class
)
,
configId
);
}
}
private
GlobalResponse
saveChannelFundsConfigCommon
(
Integer
type
,
Long
id
,
String
bizChannel
,
String
funds
,
String
remarks
,
private
GlobalResponse
saveChannelFundsConfigCommon
(
Integer
type
,
Long
id
,
String
bizChannel
,
String
funds
,
String
remarks
,
...
@@ -207,7 +208,7 @@ public class FundModuleController {
...
@@ -207,7 +208,7 @@ public class FundModuleController {
}
}
private
GlobalResponse
simulation
(
List
<
FundConfigCondition
>
configConditions
,
Long
configId
){
private
GlobalResponse
simulation
(
List
<
FundConfigCondition
>
configConditions
,
Long
configId
){
log
.
info
(
"资方模块接口,根据案例进行空
泡
, configConditions : {}"
,
configConditions
);
log
.
info
(
"资方模块接口,根据案例进行空
跑
, configConditions : {}"
,
configConditions
);
if
(
CollectionUtils
.
isEmpty
(
configConditions
))
{
if
(
CollectionUtils
.
isEmpty
(
configConditions
))
{
return
GlobalResponse
.
create
(
FundModuleResponse
.
ID_IS_EMPTY
);
return
GlobalResponse
.
create
(
FundModuleResponse
.
ID_IS_EMPTY
);
}
}
...
...
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