Merge remote-tracking branch 'origin/master'

pull/17/head
Jruome 2023-06-19 17:28:58 +08:00
commit 5ae6e3481c
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());