修改 总装

master
wangh 3 years ago
parent 6ced608379
commit 6a945b1bef

@ -882,7 +882,7 @@ where DETIAL_TYPE_CODE = '1004'
length(MATERIAL_NAME)), ',', 1, 1) - 1) || ')' as name
,
round(ACTUAL_QTY / ORDER_QTY * 100, 2) as rate,
case when round(ACTUAL_QTY / ORDER_QTY * 100, 2) < 100 then 3 else 0 end as qty
case when round(ACTUAL_QTY / ORDER_QTY * 100, 2) < 100 then 2 else 0 end as qty
from IMOS_PR_ORDER
where to_char(FINISH_DATE,'yyyy-MM-dd') =
(
@ -905,7 +905,7 @@ where DETIAL_TYPE_CODE = '1004'
length(MATERIAL_NAME)), ',', 1, 1) - 1) || ')' as name
,
round(ACTUAL_QTY / ORDER_QTY * 100, 2) as rate,
case when round(ACTUAL_QTY / ORDER_QTY * 100, 2) < 100 then 1 else 0 end as qty
case when round(ACTUAL_QTY / ORDER_QTY * 100, 2) < 100 then 3 else 0 end as qty
from IMOS_PR_ORDER
where to_char(FINISH_DATE,'yyyy-MM-dd') =
(

Loading…
Cancel
Save