|
@@ -271,13 +271,16 @@ public class TradeBillsServiceImpl implements ITradeBillsService { |
|
@@ -271,13 +271,16 @@ public class TradeBillsServiceImpl implements ITradeBillsService { |
271
|
}
|
271
|
}
|
272
|
|
272
|
|
273
|
private Map<Integer, String> getTransferOutTradeNoMap(List<TradeBills> tradeBillsList) {
|
273
|
private Map<Integer, String> getTransferOutTradeNoMap(List<TradeBills> tradeBillsList) {
|
274
|
- List<Long> orderCodes = tradeBillsList.stream().filter(item-> {
|
274
|
+ List<Long> orderCodes = tradeBillsList.stream()
|
|
|
275
|
+ .filter(item-> {
|
275
|
MoneyTypeEnum moneyTypeEnum = MoneyTypeEnum.getMoneyTypeByUserTypeAndTradeType(item.getUserType(), item.getTradeType());
|
276
|
MoneyTypeEnum moneyTypeEnum = MoneyTypeEnum.getMoneyTypeByUserTypeAndTradeType(item.getUserType(), item.getTradeType());
|
276
|
return moneyTypeEnum == MoneyTypeEnum.deposit_rebate
|
277
|
return moneyTypeEnum == MoneyTypeEnum.deposit_rebate
|
277
|
|| moneyTypeEnum == MoneyTypeEnum.buyer_compensatoryPayment
|
278
|
|| moneyTypeEnum == MoneyTypeEnum.buyer_compensatoryPayment
|
278
|
|| moneyTypeEnum == MoneyTypeEnum.seller_goodsPayment
|
279
|
|| moneyTypeEnum == MoneyTypeEnum.seller_goodsPayment
|
279
|
|| moneyTypeEnum == MoneyTypeEnum.seller_compensatoryPayment ;
|
280
|
|| moneyTypeEnum == MoneyTypeEnum.seller_compensatoryPayment ;
|
280
|
- }).map(TradeBills::getOrderCode).collect(Collectors.toList());
|
281
|
+ })
|
|
|
282
|
+ .map(TradeBills::getOrderCode)
|
|
|
283
|
+ .collect(Collectors.toList());
|
281
|
if(CollectionUtils.isEmpty(orderCodes)){
|
284
|
if(CollectionUtils.isEmpty(orderCodes)){
|
282
|
return Maps.newHashMap();
|
285
|
return Maps.newHashMap();
|
283
|
}
|
286
|
}
|