Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
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
youjj
cloud-platform
Commits
e8b463ad
Commit
e8b463ad
authored
Jul 21, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
123
parent
716a5455
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
MyWaterBiz.java
...ava/com/github/wxiaoqi/security/admin/biz/MyWaterBiz.java
+2
-1
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/MyWaterBiz.java
View file @
e8b463ad
...
@@ -113,7 +113,7 @@ public class MyWaterBiz extends BaseBiz<MyWalletMapper, MyWallet>{
...
@@ -113,7 +113,7 @@ public class MyWaterBiz extends BaseBiz<MyWalletMapper, MyWallet>{
//钱包未入账的处理type1-进;2-出
//钱包未入账的处理type1-进;2-出
public
void
updMyWalletUnbooked
(
Integer
userId
,
BigDecimal
amount
,
Integer
type
){
public
void
updMyWalletUnbooked
(
Integer
userId
,
BigDecimal
amount
,
Integer
type
){
log
.
info
(
"---钱包未入账的处理----userId==="
+
userId
+
"----type==="
+
type
);
log
.
info
(
"---钱包未入账的处理
updMyWalletUnbooked
----userId==="
+
userId
+
"----type==="
+
type
);
MyWallet
wallet
=
new
MyWallet
();
MyWallet
wallet
=
new
MyWallet
();
wallet
.
setUserId
(
userId
);
wallet
.
setUserId
(
userId
);
wallet
=
selectOne
(
wallet
);
wallet
=
selectOne
(
wallet
);
...
@@ -134,6 +134,7 @@ public class MyWaterBiz extends BaseBiz<MyWalletMapper, MyWallet>{
...
@@ -134,6 +134,7 @@ public class MyWaterBiz extends BaseBiz<MyWalletMapper, MyWallet>{
unbooked
=
wallet
.
getUnbooked
().
subtract
(
amount
);
unbooked
=
wallet
.
getUnbooked
().
subtract
(
amount
);
}
}
}
}
log
.
info
(
"---钱包未入账的处理updMyWalletUnbooked----userId==="
+
userId
+
"----unbooked==="
+
unbooked
);
wallet
.
setUnbooked
(
unbooked
);
wallet
.
setUnbooked
(
unbooked
);
mapper
.
updMyWater
(
wallet
);
mapper
.
updMyWater
(
wallet
);
}
}
...
...
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