|
|
@@ -414,7 +414,7 @@ class PurchaseClass extends BaseClass
|
|
|
'mainId' => $mainId,
|
|
|
'orderSn' => $refundOrderSn,
|
|
|
'cgId' => $cgId,
|
|
|
- 'status' => CgRefundClass::STATUS_UN_COMPLETE,
|
|
|
+ 'status' => CgRefundClass::STATUS_COMPLETE,
|
|
|
'shopAdminId' => 0,
|
|
|
'shopAdminName' => '',
|
|
|
'refundType' => $refundType,
|
|
|
@@ -454,7 +454,7 @@ class PurchaseClass extends BaseClass
|
|
|
//收入统计
|
|
|
StatIncomeClass::updateOrInsert($main, $shop, $refundPrice);
|
|
|
|
|
|
-
|
|
|
+
|
|
|
$ghsId = $cg->ghsId ?? 0;
|
|
|
$ghs = GhsClass::getLockById($ghsId);
|
|
|
if (empty($ghs)) {
|