|
|
@@ -414,18 +414,8 @@ public class KwpBizWalletService {
|
|
|
PageDataResult<KwpBizWalletPrepayPageResponse> walletPrepayPageResult = walletPrepayDetail(request);
|
|
|
return walletPrepayPageResult.getList().stream().map(vo -> {
|
|
|
KwpBizWalletPrepayExcelVO excelVO = KwpBizWalletPrepayExcelVO.toPageResp(vo);
|
|
|
-
|
|
|
- //查询钱包信息
|
|
|
- KwpBizWallet wallet = kwpBizWalletRepository.getById(vo.getId());
|
|
|
- if (wallet == null) {
|
|
|
- throw new RuntimeException("钱包id:" + request.getWalletId() + ", 钱包信息不存在!");
|
|
|
- }
|
|
|
- excelVO.setAmount(wallet.getAmount());
|
|
|
- excelVO.setPrepayAmount(wallet.getPrepayAmount());
|
|
|
-
|
|
|
//变动类型
|
|
|
- Integer type = vo.getType();
|
|
|
- String descByCode = PrepayTypEnum.getDescByCode(type);
|
|
|
+ String descByCode = PrepayTypEnum.getDescByCode(vo.getType());
|
|
|
excelVO.setType(descByCode);
|
|
|
|
|
|
return excelVO;
|