|
|
@@ -351,7 +351,7 @@ class PurchaseClass extends BaseClass
|
|
|
|
|
|
//供货商的客户资产变化
|
|
|
$customId = $ghsOrder->customId;
|
|
|
- $custom = Custom::findBySql('select * from ' . Ghs::tableName() . ' where id = :id for update', ['id' => $customId])->one();
|
|
|
+ $custom = Custom::findBySql('select * from ' . Custom::tableName() . ' where id = :id for update', ['id' => $customId])->one();
|
|
|
if ($payWay == dict::getDict('payWay', 'debtPay')) {
|
|
|
//欠款支付
|
|
|
$custom->isDebt = CustomClass::IS_DEBT_YES;
|