记得上下班打卡 | 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
1a05bc0b
Commit
1a05bc0b
authored
Jun 27, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add log
parent
55646894
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
KylinRefundsStatusServiceImpl.java
...ice/kylin/service/impl/KylinRefundsStatusServiceImpl.java
+6
-5
No files found.
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinRefundsStatusServiceImpl.java
View file @
1a05bc0b
...
...
@@ -6,6 +6,7 @@ import com.baomidou.mybatisplus.core.conditions.update.UpdateWrapper;
import
com.liquidnet.common.mq.constant.MQConst
;
import
com.liquidnet.commons.lang.util.*
;
import
com.liquidnet.service.base.SqlMapping
;
import
com.liquidnet.service.base.UserPathDto
;
import
com.liquidnet.service.kylin.constant.KylinTableStatusConst
;
import
com.liquidnet.service.kylin.dto.param.RefundCallbackParam
;
import
com.liquidnet.service.kylin.dto.vo.mongo.*
;
...
...
@@ -202,19 +203,19 @@ public class KylinRefundsStatusServiceImpl {
new
UpdateWrapper
<
KylinOrderRefunds
>().
in
(
"order_refunds_id"
,
refundInfo
.
getOrderRefundsId
())
);
log
.
info
(
"Info:RefundController refundCallback: 开始处理库存"
);
log
.
info
(
UserPathDto
.
setData
(
"开始处理库存"
,
"info"
,
"info"
)
);
if
(
refundInfo
.
getType
()
==
KylinTableStatusConst
.
ORDER_REFUND_TYPE_APPLY
)
{
log
.
info
(
"Info:RefundController refundCallback: 开始处理库存 1"
);
log
.
info
(
UserPathDto
.
setData
(
"开始处理库存 1"
,
"info"
,
"info"
)
);
// 退还库存
for
(
String
entitiesId
:
orderTicketEntitiesIdsArr
)
{
log
.
info
(
"Info:RefundController refundCallback: entitiesId{}"
,
entitiesId
);
log
.
info
(
UserPathDto
.
setData
(
"entitiesId"
,
"entitiesId="
+
entitiesId
,
"info"
)
);
KylinOrderTicketEntities
entitiesInfo
=
kylinOrderTicketEntitiesMapper
.
selectOne
(
new
QueryWrapper
<
KylinOrderTicketEntities
>().
eq
(
"order_ticket_entities_id"
,
entitiesId
)
);
log
.
info
(
"Info:RefundController refundCallback: IsPayment{}"
,
entitiesInfo
.
getIsPayment
(
));
log
.
info
(
UserPathDto
.
setData
(
"IsPayment"
,
"IsPayment="
+
entitiesInfo
.
getIsPayment
(),
"info"
));
if
(
entitiesInfo
.
getIsPayment
()
==
KylinTableStatusConst
.
ENTITIES_IS_PAYMENT3
)
{
dataUtils
.
changeSurplusGeneral
(
entitiesInfo
.
getTicketId
(),
1
);
log
.
info
(
"Info:RefundController refundCallback: UserId{}-PerformanceId{}-TicketId{}"
,
orderInfo
.
getUserId
(),
orderRelations
.
getPerformanceId
(),
entitiesInfo
.
getTicketId
(
));
log
.
info
(
UserPathDto
.
setData
(
"changeBuyInfo"
,
"UserId="
+
orderInfo
.
getUserId
()
+
" PerformanceId="
+
orderRelations
.
getPerformanceId
()
+
" TicketId="
+
entitiesInfo
.
getTicketId
(),
"info"
));
dataUtils
.
changeBuyInfo
(
orderInfo
.
getUserId
(),
""
,
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