海亮大屏

This commit is contained in:
18188916393
2022-08-01 11:34:34 +08:00
parent 4ead39c148
commit 3cb3f6bab2

View File

@@ -79,9 +79,13 @@
shiftorder.plan_qty,
shiftorder.real_qty,
(shiftorder.plan_qty - shiftorder.real_qty) AS gap_qty,
material.material_code,
material.material_name,
material.material_spec,
CONVERT ( ( shiftorder.real_qty / shiftorder.plan_qty ), DECIMAL ( 10, 3 ) ) * 100 AS finish_rate
FROM
mps_bd_produceshiftorder shiftorder
left join md_me_materialbase material on material.material_id =shiftorder.material_id
where
shiftorder.is_delete='0'
OPTION 输入.produce_date <> ""
@@ -301,7 +305,7 @@ IF 输入.flag = "12"
material.material_code,
material.material_spec,
material.material_name
ORDER BY real_qty
ORDER BY real_qty desc
LIMIT 0,9
ENDSELECT
ENDQUERY