feat: 更新库存逻辑核销后状态
This commit is contained in:
parent
28f434f0d7
commit
cdeeaaf717
@ -157,7 +157,7 @@ class StoreFinanceFlowLogic extends BaseLogic
|
||||
if ($find) {
|
||||
$find->status=1;
|
||||
$find->save();
|
||||
if ($find['number'] > 0) { // 核销后更新库存
|
||||
if ($find['number'] > 0) {
|
||||
SystemStore::where('id', $store_id)->inc('attrition', $find['number'])->update();
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user