1
This commit is contained in:
parent
e259cce2bc
commit
bada93d649
@ -1155,6 +1155,7 @@ class PatientOrderService extends BaseService
|
||||
return fail(HttpEnumCode::HTTP_ERROR, "处方存在未知药品");
|
||||
}
|
||||
|
||||
// 检测商品状态
|
||||
// 检测商品库存
|
||||
if (!empty($product['ProductPlatformAmount'])) {
|
||||
if ($order_prescription_product['prescription_product_num'] > $product['ProductPlatformAmount']['stock']) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user