Commit 744dd2ef authored by 332784038@qq.com's avatar 332784038@qq.com

Merge branch 'master-air-preload' into release

parents cea704de 2e5dfb41
......@@ -2417,6 +2417,10 @@ public class BoxPreloadGoodsServiceImpl extends AbstractService<BoxPreloadGoodsM
//修改为分拣中
boxDO.setPrStatus(StStatusEnum.SORTING.getStStatus());
boxService.updateById(boxDO);
for (Long oId : orderIdList) {
boxService.updateOrderStatus(oId, null, null,
BoxStatusEnum.PREINSTALLING.getStatus(), null, null, Boolean.FALSE);
}
boxService.addOrderLog(orderIdList, OrderShipmentLog.SORTING_ADD, "");
} else if (boxDO.getPrStatus() == StStatusEnum.SORTING_APPROVAL_SUCCESS.getStStatus()) {
//补单。修改订单状态
......@@ -2436,6 +2440,10 @@ public class BoxPreloadGoodsServiceImpl extends AbstractService<BoxPreloadGoodsM
boxService.addOrderLog(orderIdList, OrderShipmentLog.MERGE_PATCH, "");
} else {
for (Long oId : orderIdList) {
boxService.updateOrderStatus(oId, null, null,
BoxStatusEnum.PREINSTALLING.getStatus(), null, null, Boolean.FALSE);
}
boxService.addOrderLog(orderIdList, OrderShipmentLog.SORTING_ADD, "");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment