|
|
@@ -29,6 +29,7 @@ class GhsClass extends BaseClass
|
|
|
$customId = $ghs->customId ?? 0;
|
|
|
$custom = CustomClass::getLockById($customId);
|
|
|
if (empty($custom)) {
|
|
|
+ noticeUtil::push("账单异常 供货商信息缺了哦", '15280215347');
|
|
|
util::fail('供货商信息缺了哦');
|
|
|
}
|
|
|
}
|
|
|
@@ -37,13 +38,13 @@ class GhsClass extends BaseClass
|
|
|
$customName = $custom->name ?? '';
|
|
|
if ($ghs->balance != $custom->balance) {
|
|
|
noticeUtil::push("账单异常 {$ghsName} {$customName}", '15280215347');
|
|
|
- util::fail('账单异常,请稍候再试');
|
|
|
+ //util::fail('账单异常,请稍候再试');
|
|
|
}
|
|
|
if ($ghs->balance < 0) {
|
|
|
$remain = PurchaseClass::sum(['ghsId' => $ghsId, 'debt' => 1], 'remainDebtPrice');
|
|
|
if ($remain != abs($ghs->balance)) {
|
|
|
noticeUtil::push("账单异常哦 {$ghsName} {$customName}", '15280215347');
|
|
|
- util::fail('账单异常哦,请稍候再试');
|
|
|
+ //util::fail('账单异常哦,请稍候再试');
|
|
|
}
|
|
|
}
|
|
|
}
|