mirror of https://github.com/jeecgboot/jeecg-boot
fix : sql missing check on sku existing and poc has content
parent
f7fe3f1820
commit
f976e11c83
|
@ -715,6 +715,7 @@
|
|||
) AS shipping_available,
|
||||
MIN(
|
||||
CASE
|
||||
WHEN poc.id IS NULL OR sku.id IS NULL THEN -1
|
||||
WHEN po.purchase_invoice_number IS NULL AND stats.price_count = 0 THEN -1
|
||||
WHEN po.purchase_invoice_number IS NOT NULL AND pur.paid_amount > 0.00 THEN 2
|
||||
WHEN po.purchase_invoice_number IS NOT NULL AND pur.paid_amount = 0.00 THEN 1
|
||||
|
|
Loading…
Reference in New Issue