fix:app推广员只查询付款订单

feature/mall_product
tangqian 2023-06-18 13:06:07 +08:00
parent 9c88d5c6e1
commit 676b7c73a1
1 changed files with 3 additions and 0 deletions

View File

@ -203,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);
}
@ -244,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());