Merge pull request 'refactor(admin): 注释掉预订单更新错误处理' (#484) from dev into main

Reviewed-on: #484
This commit is contained in:
mkm 2025-01-23 19:13:03 +08:00
commit 0d5bd06dc8

View File

@ -419,9 +419,9 @@ class BeforehandOrderCartInfoLogic extends BaseLogic
$attrs['is_buying'] = 1;
}
$result = BeforehandOrder::where('id', $params['bhoid'])->where('warehousing_id', 0)->where('is_warehousing', 0)->update($attrs);
if (!$result) {
throw new BusinessException('入库失败,预订单更新出错');
}
// if (!$result) {
// throw new BusinessException('入库失败,预订单更新出错');
// }
}
Db::commit();
return true;