Merge branch 'feature/mall_product' into test
commit
41c099eaf6
|
@ -124,6 +124,9 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
|
|||
@Override
|
||||
public PageResult<RechargeOrderRespVO> getRechargeOrderPage(RechargeOrderPageReqVO pageReqVO) {
|
||||
Page<RechargeOrderRespVO> page = new Page<>(pageReqVO.getPageNo(), pageReqVO.getPageSize());
|
||||
Long tenantId = TenantContextHolder.getTenantId();
|
||||
pageReqVO.setTenantId(tenantId);
|
||||
|
||||
rechargeOrderMapper.findListPage(page, pageReqVO);
|
||||
return new PageResult<>(page.getRecords(), page.getTotal());
|
||||
}
|
||||
|
@ -170,7 +173,7 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
|
|||
if (promoterDrawVO.getOrderCount() == null) {
|
||||
promoterDrawVO.setOrderCount(new BigDecimal(0));
|
||||
}
|
||||
promoterDrawVO.setDrawAmount(NumberUtil.mul(promoterDrawVO.getDealAmount(), NumberUtil.div(promoterDrawVO.getMemberCommission().toString(), "100"), 2));
|
||||
promoterDrawVO.setDrawAmount(NumberUtil.mul(promoterDrawVO.getDealAmount(), NumberUtil.div(promoterDrawVO.getMemberCommission().toString(), "100")));
|
||||
|
||||
// PromoterDrawVO promoterDrawNew = nameList.get(promoterDrawVO.getUserId());
|
||||
// if (promoterDrawNew != null) {
|
||||
|
|
Loading…
Reference in New Issue