Compare commits

...

3 Commits

Author SHA1 Message Date
tangqian 322d5aae1a Merge branch 'master' into feature/mall_product 2023-06-18 13:14:30 +08:00
tangqian 676b7c73a1 fix:app推广员只查询付款订单 2023-06-18 13:06:07 +08:00
tangqian 9c88d5c6e1 fix:推广员导出 2023-06-17 16:42:59 +08:00
1 changed files with 6 additions and 0 deletions

View File

@ -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());
}
@ -200,6 +203,8 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
@Override
public List<RechargeOrderExcelVO> findListExcel(RechargeOrderExportReqVO data) {
Long tenantId = TenantContextHolder.getTenantId();
data.setTenantId(tenantId);
return rechargeOrderMapper.findListExcel(data);
}
@ -241,6 +246,7 @@ public class RechargeOrderServiceImpl implements RechargeOrderService {
@Override
public PageResult<RechargeOrderRespVO> promoterOrderInfo(RechargeOrderPageReqVO pageReqVO) {
Page<RechargeOrderRespVO> page = new Page<>(pageReqVO.getPageNo(), pageReqVO.getPageSize());
pageReqVO.setPaid("1");
rechargeOrderMapper.findListPage(page, pageReqVO);
if (!CollectionUtils.isEmpty(page.getRecords())) {
List<String> collect1 = page.getRecords().stream().map(RechargeOrderBaseVO::getOrderId).collect(Collectors.toList());