|
|
@@ -753,9 +753,9 @@ class OrderService extends BaseService
|
|
|
$shopAdmin = ShopAdminClass::getById($shopAdminId, true);
|
|
|
$shopAdmin->kdAmount = bcadd($shopAdmin->kdAmount, $amount, 2);
|
|
|
$shopAdmin->save();
|
|
|
+ $yjAmount = $order->orderPrice ?? 0;
|
|
|
+ StatYjClass::addYj($main, $shop, $shopAdminId, $yjAmount);
|
|
|
}
|
|
|
- $yjAmount = $order->orderPrice ?? 0;
|
|
|
- StatYjClass::addYj($main, $shop, $shopAdminId, $yjAmount);
|
|
|
|
|
|
//客户资产变化
|
|
|
if ($payWay == dict::getDict('payWay', 'debtPay')) {
|