修改 总装

master
wangh 3 years ago
parent 21bc5ceaab
commit 6d734a3002

@ -606,15 +606,7 @@ from (
when instr(ippi.MATERIAL_NAME, '/', 1, 1) = 0 then 0
else instr(ippi.MATERIAL_NAME, '/', 1, 1) + 1
end,
case
when instr(ippi.MATERIAL_NAME, ',', 1, 1) = 0 then Length(ippi.MATERIAL_NAME)
else instr(ippi.MATERIAL_NAME, ',', 1, 1)
end
-
case
when instr(ippi.MATERIAL_NAME, '/', 1, 1) = 0 then 1
else instr(ippi.MATERIAL_NAME, '/', 1, 1) + 1
end) as name,
length(ippi.MATERIAL_NAME)) as name,
ORDER_QTY as plan_number ,
round( ippi.IN_QTY/ORDER_QTY *100,2) as reat,
ippi.CREATION_DATE as day

Loading…
Cancel
Save