Compare commits
3 Commits
66e4a6c6fc
...
322d5aae1a
Author | SHA1 | Date |
---|---|---|
tangqian | 322d5aae1a | |
tangqian | 676b7c73a1 | |
tangqian | 9c88d5c6e1 |
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue