|
@@ -2206,8 +2206,10 @@ public class StudentPaymentOrderServiceImpl extends BaseServiceImpl<Long, Studen
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
public void updateShippedStatus(List<OrderSkuSync> orderSkuSyncs) {
|
|
|
for (OrderSkuSync orderSkuSync : orderSkuSyncs) {
|
|
|
- //更新商品订单成本
|
|
|
- sellOrderDao.updateOrganGoodsCost(orderSkuSync);
|
|
|
+ orderSkuSync.getSkuSyncList().forEach(skuSync -> {
|
|
|
+ //更新商品订单发货状态
|
|
|
+ sellOrderDao.updateOrganGoodsCost(skuSync, orderSkuSync.getOrderNo());
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
|