记得上下班打卡 | 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
5076a932
Commit
5076a932
authored
Jul 09, 2025
by
姜秀龙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
离线支付-迈之 老数据导致的 null
parent
2e6f3f1d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
18 deletions
+19
-18
GoblinRechargeWristbandServiceImpl.java
...blin/service/impl/GoblinRechargeWristbandServiceImpl.java
+19
-18
No files found.
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/GoblinRechargeWristbandServiceImpl.java
View file @
5076a932
...
...
@@ -180,25 +180,26 @@ public class GoblinRechargeWristbandServiceImpl extends ServiceImpl<GoblinRechar
if
(
null
!=
res
&&
res
.
getErrcode
()
==
200
)
{
for
(
DeviceNumberResponse
.
NumberList
info
:
res
.
getList
())
{
String
orderId
=
goblinRedisUtils
.
getOrderIdByFoutTradeNo
(
info
.
getFout_trade_no
());
GoblinBraceletOrderVo
orderVo
=
goblinRedisUtils
.
getBraceletOrderVo
(
orderId
);
if
(
null
!=
orderVo
)
{
orderVo
.
setCardno
(
info
.
getCardno
());
goblinRedisUtils
.
setBraceletOrderVo
(
orderVo
);
LinkedList
<
String
>
sqls
=
CollectionUtil
.
linkedListString
();
sqls
.
add
(
SqlMapping
.
get
(
"goblin_bracelet_order_update_cardno"
));
LinkedList
<
Object
[]>
sqlDataOrder
=
CollectionUtil
.
linkedListObjectArr
();
sqlDataOrder
.
add
(
new
Object
[]{
info
.
getCardno
(),
LocalDateTime
.
now
(),
orderId
});
queueUtils
.
sendMsgByRedis
(
MQConst
.
GoblinQueue
.
GOBLIN_NFT_ORDER
.
getKey
(),
SqlMapping
.
gets
(
sqls
,
sqlDataOrder
)
);
if
(
null
!=
orderId
)
{
GoblinBraceletOrderVo
orderVo
=
goblinRedisUtils
.
getBraceletOrderVo
(
orderId
);
if
(
null
!=
orderVo
)
{
orderVo
.
setCardno
(
info
.
getCardno
());
goblinRedisUtils
.
setBraceletOrderVo
(
orderVo
);
LinkedList
<
String
>
sqls
=
CollectionUtil
.
linkedListString
();
sqls
.
add
(
SqlMapping
.
get
(
"goblin_bracelet_order_update_cardno"
));
LinkedList
<
Object
[]>
sqlDataOrder
=
CollectionUtil
.
linkedListObjectArr
();
sqlDataOrder
.
add
(
new
Object
[]{
info
.
getCardno
(),
LocalDateTime
.
now
(),
orderId
});
queueUtils
.
sendMsgByRedis
(
MQConst
.
GoblinQueue
.
GOBLIN_NFT_ORDER
.
getKey
(),
SqlMapping
.
gets
(
sqls
,
sqlDataOrder
)
);
}
}
}
goblinRedisUtils
.
setDeviceNumberEndTime
(
operationNo
,
String
.
valueOf
(
timestamp
));
return
true
;
...
...
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