Commit 98ac7b21 authored by hezhen's avatar hezhen

Merge branch 'base-modify' of http://113.105.137.151:22280/youjj/cloud-platform into base-modify

parents 5f0eb872 d282512b
...@@ -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;
/** /**
* 所获佣金 * 所获佣金
*/ */
......
...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment