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
1c740e30
Commit
1c740e30
authored
Dec 05, 2019
by
liwenbin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
9c9827c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
FundModuleController.java
...p/asset/distribution/controller/FundModuleController.java
+3
-5
No files found.
src/main/java/com/quantgroup/asset/distribution/controller/FundModuleController.java
View file @
1c740e30
...
@@ -30,8 +30,6 @@ public class FundModuleController {
...
@@ -30,8 +30,6 @@ public class FundModuleController {
@Autowired
@Autowired
private
IFundModuleService
fundModuleService
;
private
IFundModuleService
fundModuleService
;
@Autowired
private
IApprovalLogService
approvalLogService
;
@RequestMapping
(
"/get_all_funds"
)
@RequestMapping
(
"/get_all_funds"
)
public
GlobalResponse
getAllFunds
()
{
public
GlobalResponse
getAllFunds
()
{
...
@@ -52,7 +50,7 @@ public class FundModuleController {
...
@@ -52,7 +50,7 @@ public class FundModuleController {
@RequestMapping
(
"save_channel_funds_config"
)
@RequestMapping
(
"save_channel_funds_config"
)
public
GlobalResponse
saveChannelFundsConfig
(
Integer
type
,
Long
id
,
String
bizChannel
,
String
funds
,
String
remarks
,
public
GlobalResponse
saveChannelFundsConfig
(
Integer
type
,
Long
id
,
String
bizChannel
,
String
funds
,
String
remarks
,
String
auditor
,
String
proposer
)
{
String
auditor
,
String
proposer
)
{
log
.
info
(
"资方模块接口, 新增或修改资方配置开始, type : {}, id : {}, bizChannel : {}, funds : {}, remarks : {}
"
,
type
,
id
,
bizChannel
,
funds
,
remarks
);
log
.
info
(
"资方模块接口, 新增或修改资方配置开始, type : {}, id : {}, bizChannel : {}, funds : {}, remarks : {}
, auditor : {}, proposer : {}"
,
type
,
id
,
bizChannel
,
funds
,
remarks
,
auditor
,
proposer
);
// 参数校验
// 参数校验
if
(
type
==
null
)
{
if
(
type
==
null
)
{
return
GlobalResponse
.
create
(
FundModuleResponse
.
TYPE_IS_EMPTY
);
return
GlobalResponse
.
create
(
FundModuleResponse
.
TYPE_IS_EMPTY
);
...
@@ -77,8 +75,8 @@ public class FundModuleController {
...
@@ -77,8 +75,8 @@ public class FundModuleController {
}
}
Stopwatch
stopwatch
=
Stopwatch
.
createStarted
();
Stopwatch
stopwatch
=
Stopwatch
.
createStarted
();
GlobalResponse
response
=
fundModuleService
.
saveChannelFundConfig
(
type
,
id
,
bizChannel
,
funds
,
remarks
,
auditor
,
proposer
);
GlobalResponse
response
=
fundModuleService
.
saveChannelFundConfig
(
type
,
id
,
bizChannel
,
funds
,
remarks
,
auditor
,
proposer
);
log
.
info
(
"资方模块接口, 新增或修改资方配置结束, type : {}, id : {}, bizChannel : {}, funds : {}, remarks : {},
耗时 : {}, reponse : {}"
,
type
,
id
,
bizChannel
,
funds
,
remarks
,
stopwatch
.
stop
().
elapsed
(
TimeUnit
.
MILLISECONDS
),
JSON
.
toJSONString
(
response
));
log
.
info
(
"资方模块接口, 新增或修改资方配置结束, type : {}, id : {}, bizChannel : {}, funds : {}, remarks : {},
auditor : {}, proposer : {}, 耗时 : {}, reponse : {}"
,
type
,
id
,
bizChannel
,
funds
,
remarks
,
auditor
,
proposer
,
stopwatch
.
stop
().
elapsed
(
TimeUnit
.
MILLISECONDS
),
JSON
.
toJSONString
(
response
));
return
null
;
return
response
;
}
}
@RequestMapping
(
"/get_channel_fund_configs"
)
@RequestMapping
(
"/get_channel_fund_configs"
)
...
...
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