refactor(admin): 注释掉预订单更新错误处理
在 BeforehandOrderCartInfoLogic 类中的代码中,注释掉了处理预订单更新失败的代码块。这次修改可能是为了暂时跳过预订单更新过程中的错误处理,或者是为了调试目的。
This commit is contained in:
parent
c44b51e33f
commit
c8560fafdc
@ -419,9 +419,9 @@ class BeforehandOrderCartInfoLogic extends BaseLogic
|
|||||||
$attrs['is_buying'] = 1;
|
$attrs['is_buying'] = 1;
|
||||||
}
|
}
|
||||||
$result = BeforehandOrder::where('id', $params['bhoid'])->where('warehousing_id', 0)->where('is_warehousing', 0)->update($attrs);
|
$result = BeforehandOrder::where('id', $params['bhoid'])->where('warehousing_id', 0)->where('is_warehousing', 0)->update($attrs);
|
||||||
if (!$result) {
|
// if (!$result) {
|
||||||
throw new BusinessException('入库失败,预订单更新出错');
|
// throw new BusinessException('入库失败,预订单更新出错');
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
Db::commit();
|
Db::commit();
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user