4
This commit is contained in:
parent
12e5a95a35
commit
7ee7991663
@ -402,7 +402,7 @@ class OrderService extends BaseService
|
|||||||
$data['order_service_no'] = $order_service_package['order_service_no'];
|
$data['order_service_no'] = $order_service_package['order_service_no'];
|
||||||
$data['service_refund_no'] = $refund_no;
|
$data['service_refund_no'] = $refund_no;
|
||||||
$data['refund_id'] = $refund_id;
|
$data['refund_id'] = $refund_id;
|
||||||
$data['detection_refund_status'] = $refund_status;
|
$data['refund_status'] = $refund_status;
|
||||||
$data['refund_total'] = $order_service_package['payment_amount_total'];
|
$data['refund_total'] = $order_service_package['payment_amount_total'];
|
||||||
$data['refund_reason'] = $refund_reason;
|
$data['refund_reason'] = $refund_reason;
|
||||||
if ($refund_status == 3 && !empty($success_time)) {
|
if ($refund_status == 3 && !empty($success_time)) {
|
||||||
@ -413,7 +413,7 @@ class OrderService extends BaseService
|
|||||||
throw new BusinessException("添加退款表失败");
|
throw new BusinessException("添加退款表失败");
|
||||||
}
|
}
|
||||||
|
|
||||||
// 修改问诊订单表状态
|
// 修改订单表状态
|
||||||
$data = array();
|
$data = array();
|
||||||
$data['refund_status'] = $refund_status;
|
$data['refund_status'] = $refund_status;
|
||||||
|
|
||||||
@ -716,7 +716,7 @@ class OrderService extends BaseService
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 检测问诊订单状态
|
// 检测问诊订单状态
|
||||||
if (!in_array($order_service_package['order_service_status'], [2, 3])) {
|
if (!in_array($order_service_package['order_service_status'], [2, 3, 5])) {
|
||||||
// 订单状态(1:待支付 2:未开始 3:服务中 4:服务完成 5:服务取消)
|
// 订单状态(1:待支付 2:未开始 3:服务中 4:服务完成 5:服务取消)
|
||||||
throw new BusinessException("订单状态错误");
|
throw new BusinessException("订单状态错误");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user