Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
scrm
/
rpc-scrm-shopmall
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d01a0d7a
authored
Mar 11, 2026
by
林永健
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(integral): 添加账户余额和批次总金额日志输出
- 在计算批次总金额后记录账户余额和批次总金额 - 便于排查账户余额不足的相关问题
1 parent
5328cffb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
rpc-scrm-shopmall/src/main/java/cn/com/glsx/scrm/shopmall/service/integral/IntegralTransferOutService.java
rpc-scrm-shopmall/src/main/java/cn/com/glsx/scrm/shopmall/service/integral/IntegralTransferOutService.java
View file @
d01a0d7
...
@@ -803,6 +803,7 @@ public class IntegralTransferOutService {
...
@@ -803,6 +803,7 @@ public class IntegralTransferOutService {
.
build
()
.
build
()
);
);
Long
allPayAmount
=
list
.
stream
().
mapToLong
(
IntegralTransferOut:
:
getPayAmount
).
sum
();
Long
allPayAmount
=
list
.
stream
().
mapToLong
(
IntegralTransferOut:
:
getPayAmount
).
sum
();
log
.
info
(
"账户余额:{}, 批次总金额:{}"
,
balance
,
allPayAmount
);
if
(
balance
<
allPayAmount
)
{
if
(
balance
<
allPayAmount
)
{
throw
new
RpcServiceException
(
"账户余额不足,请确认后重新操作"
);
throw
new
RpcServiceException
(
"账户余额不足,请确认后重新操作"
);
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment