Mbom 소재소요량 수정

This commit is contained in:
2026-02-19 14:38:07 +09:00
parent 0c0c4b04cc
commit 8b76b53a31
2 changed files with 3 additions and 2 deletions

View File

@@ -9454,7 +9454,7 @@ ORDER BY PART_NAME
PART_NAME as MATERIAL_CODE,
SPEC as SIZE_SPEC,
PART_NO as MATERIAL_PART_NO,
COALESCE(NULLIF(UNIT_QTY, '')::numeric, 0) AS UNIT_QTY,
(select COALESCE(NULLIF(UNIT_QTY, '')::numeric, 0) from part_mng as o where o.part_no = #{PART_NO}) AS UNIT_QTY,
COALESCE(NULLIF(UNIT_LENGTH, '')::numeric, 0) AS UNIT_LENGTH
FROM PART_MNG
WHERE PART_NAME = #{materialCode}