feat: 移除了CommissionProductLogic中的调试代码
This commit is contained in:
parent
8e2e9c0fa8
commit
3cc738e6c3
@ -121,7 +121,6 @@ class CommissionProductLogic extends BaseLogic
|
|||||||
$number = bcsub($total, $commission, 2);
|
$number = bcsub($total, $commission, 2);
|
||||||
if ($product['rose'] <= 4) {
|
if ($product['rose'] <= 4) {
|
||||||
//门店
|
//门店
|
||||||
d(2);
|
|
||||||
$data = [
|
$data = [
|
||||||
'store_id' => $order['store_id'],
|
'store_id' => $order['store_id'],
|
||||||
'product_id' => $find['product_id'],
|
'product_id' => $find['product_id'],
|
||||||
@ -132,8 +131,6 @@ class CommissionProductLogic extends BaseLogic
|
|||||||
];
|
];
|
||||||
StoreFinanceFlowProduct::create($data);
|
StoreFinanceFlowProduct::create($data);
|
||||||
} else {
|
} else {
|
||||||
d(3);
|
|
||||||
|
|
||||||
//门店
|
//门店
|
||||||
$data[] = [
|
$data[] = [
|
||||||
'store_id' => $order['store_id'],
|
'store_id' => $order['store_id'],
|
||||||
@ -154,6 +151,5 @@ class CommissionProductLogic extends BaseLogic
|
|||||||
];
|
];
|
||||||
(new StoreFinanceFlowProduct())->saveAll($data);
|
(new StoreFinanceFlowProduct())->saveAll($data);
|
||||||
}
|
}
|
||||||
d(221);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user