记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
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
董敬伟
liquidnet-bus-v1
Commits
2b3cc7ae
Commit
2b3cc7ae
authored
Jun 04, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refundBatch
parent
1b952d30
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
3 deletions
+8
-3
KylinRefundPerformancesAdminServiceImpl.java
...service/impl/KylinRefundPerformancesAdminServiceImpl.java
+8
-3
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/kylin/service/impl/KylinRefundPerformancesAdminServiceImpl.java
View file @
2b3cc7ae
...
@@ -51,9 +51,14 @@ public class KylinRefundPerformancesAdminServiceImpl {
...
@@ -51,9 +51,14 @@ public class KylinRefundPerformancesAdminServiceImpl {
public
Boolean
refundBatchApply
(
RefundBatchApplyParam
refundBatchApplyParam
)
throws
Exception
{
public
Boolean
refundBatchApply
(
RefundBatchApplyParam
refundBatchApplyParam
)
throws
Exception
{
String
targetId
=
refundBatchApplyParam
.
getTargetId
();
String
targetId
=
refundBatchApplyParam
.
getTargetId
();
HashMap
<
String
,
Object
>
priceNum
=
kylinOrderTicketsMapper
.
getPriceNum
(
targetId
);
HashMap
<
String
,
Object
>
priceNum
=
kylinOrderTicketsMapper
.
getPriceNum
(
targetId
);
if
(
priceNum
!=
null
)
{
Double
totalPrice
=
(
Double
)
priceNum
.
get
(
"total_price"
);
Double
totalPrice
=
(
Double
)
priceNum
.
get
(
"total_price"
);
Integer
totalNum
=
(
Integer
)
priceNum
.
get
(
"total_num"
);
Integer
totalNum
=
(
Integer
)
priceNum
.
get
(
"total_num"
);
if
(
totalPrice
<
0
||
totalNum
<
0
)
throw
new
Exception
(
"当前演出暂无需要退款的订单,请确认后重试!"
);
if
(
totalPrice
<
0
||
totalNum
<
0
)
throw
new
Exception
(
"当前演出暂无需要退款的订单,请确认后重试!"
);
}
else
{
throw
new
Exception
(
"当前演出暂无需要退款的订单,请确认后重试!"
);
}
// 汇总退款
// 汇总退款
/*String[] paymentTypeAlipayArray = {"APPALIPAY", "WAPALIPAY", "alipay"};
/*String[] paymentTypeAlipayArray = {"APPALIPAY", "WAPALIPAY", "alipay"};
...
...
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