记得上下班打卡 | 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
00845b70
Commit
00845b70
authored
Sep 15, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refundPriceCharges
parent
67a654ce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
KylinRefundsStatusServiceImpl.java
...zai/kylin/service/impl/KylinRefundsStatusServiceImpl.java
+3
-1
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-zhengzai/src/main/java/com/liquidnet/client/admin/zhengzai/kylin/service/impl/KylinRefundsStatusServiceImpl.java
View file @
00845b70
...
...
@@ -516,7 +516,7 @@ public class KylinRefundsStatusServiceImpl {
);
KylinOrderTicketStatus
orderStatusTable
=
new
KylinOrderTicketStatus
();
int
newStatus
=
0
;
if
(
refundCallbackParam
.
getRefundPrice
().
add
(
orderInfo
.
getPriceRefund
()).
compareTo
(
orderInfo
.
getPriceActual
())
==
0
)
{
if
(
refundCallbackParam
.
getRefundPrice
().
add
(
refundInfo
.
getPriceCharges
()).
add
(
orderInfo
.
getPriceRefund
()).
add
(
orderInfo
.
getRefundPriceCharges
()).
compareTo
(
orderInfo
.
getPriceActual
())
==
0
)
{
newStatus
=
KylinTableStatusConst
.
ORDER_STATUS4
;
}
else
{
newStatus
=
KylinTableStatusConst
.
ORDER_STATUS6
;
...
...
@@ -588,6 +588,7 @@ public class KylinRefundsStatusServiceImpl {
KylinOrderTickets
update
=
new
KylinOrderTickets
();
update
.
setRefundNumber
(
num
);
update
.
setPriceRefund
(
price
);
update
.
setRefundPriceCharges
(
orderInfo
.
getRefundPriceCharges
().
add
(
refundInfo
.
getPriceCharges
()));
update
.
setUpdatedAt
(
LocalDateTime
.
now
());
kylinOrderTicketsMapper
.
update
(
update
,
new
UpdateWrapper
<
KylinOrderTickets
>()
...
...
@@ -597,6 +598,7 @@ public class KylinRefundsStatusServiceImpl {
HashMap
<
String
,
Object
>
orderVo
=
new
HashMap
<>();
orderVo
.
put
(
"updatedAt"
,
DateUtil
.
getNowTime
());
orderVo
.
put
(
"priceRefund"
,
price
);
orderVo
.
put
(
"refundPriceCharges"
,
orderInfo
.
getRefundPriceCharges
().
add
(
refundInfo
.
getPriceCharges
()));
orderVo
.
put
(
"status"
,
newStatus
);
orderVo
.
put
(
"refundNumber"
,
num
);
BasicDBObject
orderVov
=
new
BasicDBObject
(
"$set"
,
mongoConverter
.
convertToMongoType
(
orderVo
));
...
...
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