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
98ac7b21
Commit
98ac7b21
authored
Jul 12, 2019
by
hezhen
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'base-modify' of
http://113.105.137.151:22280/youjj/cloud-platform
into base-modify
parents
5f0eb872
d282512b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
SellingWaterVo.java
.../com/github/wxiaoqi/security/admin/vo/SellingWaterVo.java
+4
-2
AppUserSellingWaterBiz.java
...ub/wxiaoqi/security/admin/biz/AppUserSellingWaterBiz.java
+3
-3
No files found.
ace-modules/ace-admin-api/src/main/java/com/github/wxiaoqi/security/admin/vo/SellingWaterVo.java
View file @
98ac7b21
...
@@ -43,10 +43,12 @@ public class SellingWaterVo {
...
@@ -43,10 +43,12 @@ public class SellingWaterVo {
private
BigDecimal
price
;
private
BigDecimal
price
;
@ApiModelProperty
(
value
=
"创建时间"
,
hidden
=
true
)
@ApiModelProperty
(
value
=
"创建时间"
,
hidden
=
true
)
private
Integer
crtTime
;
private
Long
crtTime
;
@ApiModelProperty
(
value
=
"更新时间"
,
hidden
=
true
)
@ApiModelProperty
(
value
=
"更新时间"
,
hidden
=
true
)
private
Integer
updTime
;
private
Long
updTime
;
private
Integer
waiting
;
/**
/**
* 所获佣金
* 所获佣金
*/
*/
...
...
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/AppUserSellingWaterBiz.java
View file @
98ac7b21
...
@@ -231,7 +231,7 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper,Ap
...
@@ -231,7 +231,7 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper,Ap
Map
<
Integer
,
BigDecimal
>
memberIdAndIncomeMap
=
new
HashMap
<>();
Map
<
Integer
,
BigDecimal
>
memberIdAndIncomeMap
=
new
HashMap
<>();
List
<
UserIncomeBo
>
userIncomeBos
=
mapper
.
accquireIncomeByMemberIds
(
memberIds
);
List
<
UserIncomeBo
>
userIncomeBos
=
mapper
.
accquireIncomeByMemberIds
(
memberIds
);
if
(
CollectionUtils
.
isNotEmpty
(
userIncomeBos
)){
if
(
CollectionUtils
.
isNotEmpty
(
userIncomeBos
)){
memberIdAndIncomeMap
=
userIncomeBos
.
stream
().
collect
(
Collectors
.
toMap
(
UserIncomeBo:
:
getUserId
,
UserIncomeBo:
:
getIncome
));
memberIdAndIncomeMap
=
userIncomeBos
.
stream
().
collect
(
Collectors
.
toMap
(
UserIncomeBo:
:
getUserId
,
userIncomeBo
->
userIncomeBo
.
getIncome
()==
null
?
new
BigDecimal
(
0
):
userIncomeBo
.
getIncome
()
));
}
}
return
memberIdAndIncomeMap
;
return
memberIdAndIncomeMap
;
}
}
...
@@ -279,8 +279,8 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper,Ap
...
@@ -279,8 +279,8 @@ public class AppUserSellingWaterBiz extends BaseBiz<AppUserSellingWaterMapper,Ap
totalIncome
=
total
.
subtract
(
refund
);
totalIncome
=
total
.
subtract
(
refund
);
}
}
sellingWaterPagVo
.
setPageNum
(
appUserSellingWaterPageDataVO
.
getPageNum
()
);
sellingWaterPagVo
.
setPageNum
(
pageNo
);
sellingWaterPagVo
.
setPageSize
(
appUserSellingWaterPageDataVO
.
getPageSize
()
);
sellingWaterPagVo
.
setPageSize
(
pageSize
);
sellingWaterPagVo
.
setTotalCount
(
appUserSellingWaterPageDataVO
.
getTotalCount
().
intValue
());
sellingWaterPagVo
.
setTotalCount
(
appUserSellingWaterPageDataVO
.
getTotalCount
().
intValue
());
sellingWaterPagVo
.
setTotalPage
(
appUserSellingWaterPageDataVO
.
getTotalPage
());
sellingWaterPagVo
.
setTotalPage
(
appUserSellingWaterPageDataVO
.
getTotalPage
());
sellingWaterPagVo
.
setTotalIncome
(
totalIncome
);
sellingWaterPagVo
.
setTotalIncome
(
totalIncome
);
...
...
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