记得上下班打卡 | 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
938f06c2
Commit
938f06c2
authored
Jan 05, 2022
by
jiangxiulong
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/jxl_1214_refund' into dev_merchant
parents
dfbfb1c2
12e0bd88
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
35 deletions
+34
-35
KylinOrderTicketsRefundServiceImpl.java
...ylin/service/impl/KylinOrderTicketsRefundServiceImpl.java
+34
-35
No files found.
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinOrderTicketsRefundServiceImpl.java
View file @
938f06c2
...
...
@@ -372,9 +372,17 @@ public class KylinOrderTicketsRefundServiceImpl {
}
catch
(
Exception
e
)
{
log
.
error
(
"expressPlaceFromJsonException e:[{}]"
,
e
);
}
// 生成快递单 失败也生成记录备用
if
(
null
==
hashMap
.
get
(
"succ"
)
||
hashMap
.
get
(
"succ"
).
equals
(
"fail"
))
{
String
msg
=
""
;
if
(
null
==
hashMap
.
get
(
"succ"
))
{
msg
=
result
;
}
else
{
msg
=
(
String
)
hashMap
.
get
(
"msg"
);
}
}
else
{
// 成功下单记录缓存
// 生成快递单
HashMap
hashMapResult
=
(
HashMap
)
hashMap
.
get
(
"result"
);
// 生成预快递单 REDIS 队列入数据库
LocalDateTime
now
=
LocalDateTime
.
now
();
LinkedList
<
String
>
sqls
=
CollectionUtil
.
linkedListString
();
sqls
.
add
(
SqlMapping
.
get
(
"kylin_order_refund.refundOrderExpress"
));
...
...
@@ -407,15 +415,6 @@ public class KylinOrderTicketsRefundServiceImpl {
queueUtils
.
sendMsgByRedis
(
MQConst
.
KylinQueue
.
SQL_ORDER_REFUND_EXPRESS
.
getKey
(),
SqlMapping
.
gets
(
sqls
,
sqlsDataA
));
if
(
null
==
hashMap
.
get
(
"succ"
)
||
hashMap
.
get
(
"succ"
).
equals
(
"fail"
))
{
String
msg
=
""
;
if
(
null
==
hashMap
.
get
(
"succ"
))
{
msg
=
result
;
}
else
{
msg
=
(
String
)
hashMap
.
get
(
"msg"
);
}
}
else
{
// 成功下单记录缓存
KylinOrderExpressVo
kylinOrderExpressVo
=
KylinOrderExpressVo
.
getNew
();
kylinOrderExpressVo
.
setOrderExpressId
(
orderExpressId
);
kylinOrderExpressVo
.
setOrderTicketsId
(
orderTicketVo
.
getOrderTicketsId
());
...
...
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