|
@@ -117,7 +117,7 @@ public class OrderDetailsServiceImpl extends ServiceImpl<OrderDetailsMapper, Ord
|
|
updateBatchById(list);
|
|
updateBatchById(list);
|
|
|
|
|
|
// 修改订单状态
|
|
// 修改订单状态
|
|
- OrderInfo orderInfo = new OrderInfo();
|
|
|
|
|
|
+ OrderInfo orderInfo = orderInfoService.getById(orderId);
|
|
// 如果是退换货或者补发,出库一次算完成
|
|
// 如果是退换货或者补发,出库一次算完成
|
|
if (orderInfo.getType() == 5) {
|
|
if (orderInfo.getType() == 5) {
|
|
orderInfo.setIssueStatus(3);
|
|
orderInfo.setIssueStatus(3);
|