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
51466f21
Commit
51466f21
authored
Jul 20, 2019
by
libin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员
parent
25f5b42e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
MyWalletDetail.java
.../github/wxiaoqi/security/admin/entity/MyWalletDetail.java
+0
-1
AppletWalletVo.java
.../com/github/wxiaoqi/security/admin/vo/AppletWalletVo.java
+4
-0
MyWalletBiz.java
...va/com/github/wxiaoqi/security/admin/biz/MyWalletBiz.java
+5
-1
No files found.
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/entity/MyWalletDetail.java
View file @
51466f21
...
...
@@ -104,5 +104,4 @@ public class MyWalletDetail implements Serializable {
@ApiModelProperty
(
value
=
"操作时间"
,
hidden
=
true
)
private
Long
crtTime
;
}
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/vo/AppletWalletVo.java
View file @
51466f21
...
...
@@ -36,4 +36,8 @@ public class AppletWalletVo {
*/
@ApiModelProperty
(
value
=
"今日收益(元)"
)
private
BigDecimal
todayAmount
;
@ApiModelProperty
(
value
=
"未入账金额"
)
private
BigDecimal
unbooked
;
}
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/MyWalletBiz.java
View file @
51466f21
...
...
@@ -46,7 +46,11 @@ public class MyWalletBiz extends BaseBiz<MyWalletMapper, MyWallet> {
List
<
MyWallet
>
wallets
=
mapper
.
selectByExample
(
example
);
MyWallet
myWallet
=
wallets
.
get
(
0
);
BeanUtils
.
copyProperties
(
myWallet
,
appletWalletVo
);
appletWalletVo
.
setBalance
(
myWallet
.
getBalance
()==
null
?
new
BigDecimal
(
0
):
myWallet
.
getBalance
());
appletWalletVo
.
setTodayAmount
(
myWallet
.
getTodayAmount
()==
null
?
new
BigDecimal
(
0
):
myWallet
.
getTodayAmount
());
appletWalletVo
.
setTotalAmount
(
myWallet
.
getTotalAmount
()==
null
?
new
BigDecimal
(
0
):
myWallet
.
getTotalAmount
());
appletWalletVo
.
setUnbooked
(
myWallet
.
getUnbooked
()==
null
?
new
BigDecimal
(
0
):
myWallet
.
getUnbooked
());
appletWalletVo
.
setUserId
(
myWallet
.
getUserId
());
return
appletWalletVo
;
}
...
...
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