Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
bailuntec-cost
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huluobin
bailuntec-cost
Commits
f3bd0d3d
Commit
f3bd0d3d
authored
Jan 13, 2021
by
huluobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
# 费用系统 测试单回调不处理
parent
d217e6e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
CostController.java
.../com/blt/other/module/cost/controller/CostController.java
+10
-4
No files found.
cost-service/src/main/java/com/blt/other/module/cost/controller/CostController.java
View file @
f3bd0d3d
...
@@ -334,17 +334,23 @@ public class CostController {
...
@@ -334,17 +334,23 @@ public class CostController {
@ApiOperation
(
"财务付款回调接口"
)
@ApiOperation
(
"财务付款回调接口"
)
@PostMapping
(
value
=
{
"check/CashierCallbackUrl"
,
"check/lend/CashierCallbackUrl"
})
@PostMapping
(
value
=
{
"check/CashierCallbackUrl"
,
"check/lend/CashierCallbackUrl"
})
public
Map
<
String
,
Object
>
cashierCallbackUrl
(
@RequestBody
CashierCallbackUrlVo
cashierCallbackUrlVo
)
{
public
Map
<
String
,
Object
>
cashierCallbackUrl
(
@RequestBody
CashierCallbackUrlVo
cashierCallbackUrlVo
)
{
Map
<
String
,
Object
>
result
=
new
HashMap
<>();
result
.
put
(
"success"
,
true
);
result
.
put
(
"msg"
,
"success"
);
result
.
put
(
"result"
,
true
);
String
costNo
=
cashierCallbackUrlVo
.
getId
().
toUpperCase
();
String
costNo
=
cashierCallbackUrlVo
.
getId
().
toUpperCase
();
if
(!
costNo
.
startsWith
(
"F"
))
{
return
result
;
}
if
(
costNo
.
contains
(
"-"
))
{
if
(
costNo
.
contains
(
"-"
))
{
costNo
=
costNo
.
split
(
"-"
)[
0
];
costNo
=
costNo
.
split
(
"-"
)[
0
];
}
}
costService
=
CostServiceFactory
.
getCostService
(
costNo
);
costService
=
CostServiceFactory
.
getCostService
(
costNo
);
costService
.
cashierCallback
(
cashierCallbackUrlVo
);
costService
.
cashierCallback
(
cashierCallbackUrlVo
);
Map
<
String
,
Object
>
result
=
new
HashMap
<>();
result
.
put
(
"success"
,
true
);
result
.
put
(
"msg"
,
"success"
);
result
.
put
(
"result"
,
true
);
return
result
;
return
result
;
}
}
...
...
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