mbom 계산 규칙 변경

This commit is contained in:
2026-02-13 21:12:13 +09:00
parent e70a89b4ce
commit 4f00e348db
4 changed files with 269 additions and 122 deletions

View File

@@ -9452,9 +9452,10 @@ ORDER BY PART_NAME
SELECT
OBJID,
PART_NAME as MATERIAL_CODE,
-- MATERIAL_NAME,
SPEC as SIZE_SPEC,
PART_NO as MATERIAL_PART_NO
PART_NO as MATERIAL_PART_NO,
COALESCE(NULLIF(UNIT_QTY, '')::numeric, 0) AS UNIT_QTY,
COALESCE(NULLIF(UNIT_LENGTH, '')::numeric, 0) AS UNIT_LENGTH
FROM PART_MNG
WHERE PART_NAME = #{materialCode}
AND SPEC = #{sizeSpec}