|
|
@@ -689,7 +689,7 @@ open class ProductionScheduleService( |
|
|
(select count(1) from coffee_or_tea where systemType = 'lemon' and itemCode = items.code) as isLemon, |
|
|
(select count(1) from coffee_or_tea where systemType = 'lemon' and itemCode = items.code) as isLemon, |
|
|
|
|
|
|
|
|
CASE WHEN item_fake_onhand.onHandQty is not null THEN item_fake_onhand.onHandQty |
|
|
CASE WHEN item_fake_onhand.onHandQty is not null THEN item_fake_onhand.onHandQty |
|
|
ELSE inventory.onHandQty - 500 END AS stockQty, |
|
|
|
|
|
|
|
|
ELSE inventory.onHandQty END AS stockQty, |
|
|
bom.baseScore, |
|
|
bom.baseScore, |
|
|
bom.outputQty, |
|
|
bom.outputQty, |
|
|
bom.outputQtyUom, |
|
|
bom.outputQtyUom, |
|
|
|