记得上下班打卡 | 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
541aead8
Commit
541aead8
authored
Oct 14, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log
parent
53e99fa9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
KylinRefundsStatusServiceImpl.java
...latform/service/refund/KylinRefundsStatusServiceImpl.java
+3
-1
No files found.
liquidnet-bus-service/liquidnet-service-platform/liquidnet-service-platform-impl/src/main/java/com/liquidnet/service/platform/service/refund/KylinRefundsStatusServiceImpl.java
View file @
541aead8
...
...
@@ -228,6 +228,7 @@ public class KylinRefundsStatusServiceImpl {
dataUtils
.
delOrderRefundVo
(
refundInfo
.
getOrderRefundsId
());
dataUtils
.
delOrderRefundVoByOrderId
(
refundInfo
.
getOrderTicketsId
());
log
.
info
(
"refundCallback数据库更新res: [update1={},update2={},update3={}]"
,
update1
,
update2
,
update3
);
if
(
refundInfo
.
getType
()
!=
KylinTableStatusConst
.
ORDER_REFUND_TYPE_AUTO
&&
update3
>
0
)
{
// 退还库存
for
(
String
entitiesId
:
orderTicketEntitiesIdsArr
)
{
...
...
@@ -235,7 +236,8 @@ public class KylinRefundsStatusServiceImpl {
Wrappers
.
lambdaQuery
(
KylinOrderTicketEntities
.
class
).
eq
(
KylinOrderTicketEntities:
:
getOrderTicketEntitiesId
,
entitiesId
)
);
if
(
entitiesInfo
.
getIsPayment
()
==
KylinTableStatusConst
.
ENTITIES_IS_PAYMENT3
)
{
dataUtils
.
changeSurplusGeneral
(
entitiesInfo
.
getTicketId
(),
1
);
int
surplusGeneral
=
dataUtils
.
changeSurplusGeneral
(
entitiesInfo
.
getTicketId
(),
1
);
log
.
info
(
"refundCallback回滚库存res: [surplusGeneral={},ticketId={},orderRefundCode={}]"
,
surplusGeneral
,
entitiesInfo
.
getTicketId
(),
refundCallbackParam
.
getOrderRefundCode
());
log
.
info
(
UserPathDto
.
setData
(
"changeBuyInfo"
,
"UserId="
+
orderInfo
.
getUserId
()
+
"idCard="
+
entitiesInfo
.
getEnterIdCode
()
+
" PerformanceId="
+
orderRelations
.
getPerformanceId
()
+
" TicketId="
+
entitiesInfo
.
getTicketId
(),
"info"
));
dataUtils
.
changeBuyInfo
(
orderInfo
.
getUserId
(),
entitiesInfo
.
getEnterIdCode
(),
orderRelations
.
getPerformanceId
(),
entitiesInfo
.
getTicketId
(),
-
1
);
}
...
...
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