...
|
...
|
@@ -397,11 +397,11 @@ public class StoreSellerServiceImpl implements IStoredSellerService { |
|
|
// 查询卖家正在上架中的商品 & 支付方式是11 & orderspay中没有记录
|
|
|
|
|
|
for (Integer uid : uids){
|
|
|
scriptLogger.info("{[]} start orderPay....", uid);
|
|
|
scriptLogger.info("[{}] start orderPay....", uid);
|
|
|
List<SellerOrderGoods> sellerOrderGoodsList = sellerOrderGoodsMapper.selectByUidAndStatus(uid, SkupStatus.CAN_SELL.getCode());
|
|
|
|
|
|
if (CollectionUtils.isEmpty(sellerOrderGoodsList)){
|
|
|
scriptLogger.info("{[]} no need orderPay....can sell goods not exist", uid);
|
|
|
scriptLogger.info("[{}] no need orderPay....can sell goods not exist", uid);
|
|
|
continue;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -410,7 +410,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService { |
|
|
List<SellerOrder> walletSellerOrders = sellerOrders.stream().filter(x->x.getPayment()==11).collect(Collectors.toList());
|
|
|
|
|
|
if (CollectionUtils.isEmpty(walletSellerOrders)){
|
|
|
scriptLogger.info("{[]} no need orderPay....can sell goods not wallet", uid);
|
|
|
scriptLogger.info("[{}] no need orderPay....can sell goods not wallet", uid);
|
|
|
continue;
|
|
|
}
|
|
|
|
...
|
...
|
@@ -420,7 +420,7 @@ public class StoreSellerServiceImpl implements IStoredSellerService { |
|
|
|
|
|
OrdersPay ordersPaydb = ordersPayMapper.selectOrdersPay(sellerOrder.getOrderCode(), uid);
|
|
|
if (ordersPaydb != null){
|
|
|
scriptLogger.info("{[]} no need orderPay {[]}", uid, sellerOrder.getOrderCode());
|
|
|
scriptLogger.info("[{}] no need orderPay [{}]", uid, sellerOrder.getOrderCode());
|
|
|
continue;
|
|
|
}
|
|
|
OrdersPay ordersPay = new OrdersPay();
|
...
|
...
|
@@ -432,9 +432,9 @@ public class StoreSellerServiceImpl implements IStoredSellerService { |
|
|
ordersPay.setCreateTime(now);
|
|
|
ordersPay.setSerialNo(String.valueOf(sellerOrder.getOrderCode()));
|
|
|
ordersPayMapper.insertSelective(ordersPay);
|
|
|
scriptLogger.info("{[]} do orderPay {[]}", uid, sellerOrder.getOrderCode());
|
|
|
scriptLogger.info("[{}] do orderPay [{}]", uid, sellerOrder.getOrderCode());
|
|
|
}
|
|
|
scriptLogger.info("{[]} end process orderPay....", uid);
|
|
|
scriptLogger.info("[{}] end process orderPay....", uid);
|
|
|
|
|
|
scriptLogger.info("==================================================");
|
|
|
|
...
|
...
|
|