上报处方平台去除失败后退款

This commit is contained in:
wucongxing 2023-09-14 09:49:00 +08:00
parent 21f2cf12da
commit 094696df2c

View File

@ -84,12 +84,12 @@ class ReportPreProductOrderCommand extends HyperfCommand
// 修改药品订单表上报处方平台状态 // 修改药品订单表上报处方平台状态
$this->saveOrderProductPeportPreStatus($item['order_product_id'],2,"超出最大上报次数"); $this->saveOrderProductPeportPreStatus($item['order_product_id'],2,"超出最大上报次数");
// 修改失败时药品订单数据 // // 修改失败时药品订单数据
$this->savePreFailedOrderStatus($item['order_product_id'],"药房处方复核失败平台会在24小时内进行退款处理"); // $this->savePreFailedOrderStatus($item['order_product_id'],"药房处方复核失败平台会在24小时内进行退款处理");
//
// 退款 // // 退款
$OrderProductService = new OrderProductService(); // $OrderProductService = new OrderProductService();
$OrderProductService->OrderProductRefund($item['order_product_id'],"药品订单退款"); // $OrderProductService->OrderProductRefund($item['order_product_id'],"药品订单退款");
Db::commit(); Db::commit();
continue; continue;