...
|
...
|
@@ -204,13 +204,12 @@ public class OrdersPayService { |
|
|
|
|
|
|
|
|
public OrdersPay getOrderPayBySkup(Integer skup){
|
|
|
ArrayList<Integer> skupList = Lists.newArrayList(skup);
|
|
|
List<BuyerOrderGoods> bogs= buyerOrderGoodsMapper.selectBySkups(skupList);
|
|
|
List<BuyerOrderGoods> bogs= buyerOrderGoodsMapper.selectOrderBySkups(skup);
|
|
|
if(CollectionUtils.isEmpty(bogs)){
|
|
|
logger.warn("getOrderPayBySkup empty list ,skup {}",skup);
|
|
|
return null;
|
|
|
}
|
|
|
BuyerOrderGoods bog = bogs.get(0);
|
|
|
BuyerOrderGoods bog = bogs.get(bogs.size() - 1);
|
|
|
return ordersPayMapper.selectOrdersPay(bog.getOrderCode(), bog.getUid());
|
|
|
}
|
|
|
|
...
|
...
|
|