Merge pull request 'refactor(admin): 注释掉预订单更新错误处理' (#484) from dev into main
Reviewed-on: #484
This commit is contained in:
commit
0d5bd06dc8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user