...
|
...
|
@@ -66,9 +66,9 @@ public class TradeBillsListBuilder { |
|
|
.map(Object::toString)
|
|
|
.switchIfEmpty(Mono.justOrEmpty(item.getId())
|
|
|
.map(transferMessageMap::get)
|
|
|
.map(TradeBillsTransferMessage::getOutTradeNo)
|
|
|
.defaultIfEmpty("-"))
|
|
|
.block();
|
|
|
.map(TradeBillsTransferMessage::getOutTradeNo))
|
|
|
.blockOptional()
|
|
|
.orElse("-");
|
|
|
}
|
|
|
|
|
|
private String buildTimeStr(Integer time) {
|
...
|
...
|
@@ -90,9 +90,9 @@ public class TradeBillsListBuilder { |
|
|
.map(TradeBillsTransferMessage::tradeResultMessage)
|
|
|
.switchIfEmpty(Mono.justOrEmpty(item.getPayErrorCode())
|
|
|
.map(AlipayBatchTransferErrorEnum::getByCode)
|
|
|
.map(AlipayBatchTransferErrorEnum::getDesc)
|
|
|
.defaultIfEmpty(e.getDesc()))
|
|
|
.block();
|
|
|
.map(AlipayBatchTransferErrorEnum::getDesc))
|
|
|
.blockOptional()
|
|
|
.orElse(e.getDesc());
|
|
|
desc.append(failReason);
|
|
|
});
|
|
|
return desc.toString();
|
...
|
...
|
|