...
|
...
|
@@ -271,13 +271,16 @@ public class TradeBillsServiceImpl implements ITradeBillsService { |
|
|
}
|
|
|
|
|
|
private Map<Integer, String> getTransferOutTradeNoMap(List<TradeBills> tradeBillsList) {
|
|
|
List<Long> orderCodes = tradeBillsList.stream().filter(item-> {
|
|
|
List<Long> orderCodes = tradeBillsList.stream()
|
|
|
.filter(item-> {
|
|
|
MoneyTypeEnum moneyTypeEnum = MoneyTypeEnum.getMoneyTypeByUserTypeAndTradeType(item.getUserType(), item.getTradeType());
|
|
|
return moneyTypeEnum == MoneyTypeEnum.deposit_rebate
|
|
|
|| moneyTypeEnum == MoneyTypeEnum.buyer_compensatoryPayment
|
|
|
|| moneyTypeEnum == MoneyTypeEnum.seller_goodsPayment
|
|
|
|| moneyTypeEnum == MoneyTypeEnum.seller_compensatoryPayment ;
|
|
|
}).map(TradeBills::getOrderCode).collect(Collectors.toList());
|
|
|
})
|
|
|
.map(TradeBills::getOrderCode)
|
|
|
.collect(Collectors.toList());
|
|
|
if(CollectionUtils.isEmpty(orderCodes)){
|
|
|
return Maps.newHashMap();
|
|
|
}
|
...
|
...
|
|