商家手动点击确认后修改状态

This commit is contained in:
liyj 2025-10-23 14:27:53 +08:00
parent e341d619e5
commit 3ce2b7cbd6

View File

@ -1291,10 +1291,11 @@ public class SFExpressApiServiceImpl implements SFExpressApiService {
return CommonResult.failed("该状态不允许完成订单操作");
}
// 送达后发出催促微信用户确认收货通知 (同城配送不能调用微信的确认收货)
wxOrderShippingService.notifyConfirmReceive(shopOrderBase.getOrder_id());
shopOrderInfoService.changeOrderStatus(shopOrderId, orderStatus, 0, 0);
//完成订单后修改订单异常操作流程
shopOrderBase.setOperate_flag("2");
ShopOrderBase updateShopOrderBase=new ShopOrderBase();
updateShopOrderBase.setOrder_id(shopOrderId);
updateShopOrderBase.setOperate_flag("2");
shopOrderBaseService.updateById(shopOrderBase);
return CommonResult.success("操作成功");
}