From 68fd0fa2b21ee79c7bae402ac57931907fa3e184 Mon Sep 17 00:00:00 2001 From: "DESKTOP-6ARNG1Q\\dlsgk" Date: Thu, 20 Feb 2025 15:53:08 +0900 Subject: [PATCH] =?UTF-8?q?=EB=B0=9C=EC=A0=84=EC=8B=9C=EB=AE=AC=EB=A0=88?= =?UTF-8?q?=EC=9D=B4=EC=85=98=20PCS=20=EC=A1=B0=ED=9A=8C=EA=B8=B0=EC=A4=80?= =?UTF-8?q?=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../interplug/qcast/biz/pwrGnrSimulation/PwrGnrSimService.java | 2 +- src/main/resources/mappers/pwrGnrSimulation/pwrGnrSimMapper.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/interplug/qcast/biz/pwrGnrSimulation/PwrGnrSimService.java b/src/main/java/com/interplug/qcast/biz/pwrGnrSimulation/PwrGnrSimService.java index 6993f882..48e3e567 100644 --- a/src/main/java/com/interplug/qcast/biz/pwrGnrSimulation/PwrGnrSimService.java +++ b/src/main/java/com/interplug/qcast/biz/pwrGnrSimulation/PwrGnrSimService.java @@ -277,7 +277,7 @@ public class PwrGnrSimService { } // DecimalFormat 객체 생성 - DecimalFormat decimalFormat = new DecimalFormat("#,##0.000"); + DecimalFormat decimalFormat = new DecimalFormat("#,##0.00"); // 포맷 적용 String formatSpecification = decimalFormat.format(dSpecification / 1000); diff --git a/src/main/resources/mappers/pwrGnrSimulation/pwrGnrSimMapper.xml b/src/main/resources/mappers/pwrGnrSimulation/pwrGnrSimMapper.xml index 10aa3234..616d2c47 100644 --- a/src/main/resources/mappers/pwrGnrSimulation/pwrGnrSimMapper.xml +++ b/src/main/resources/mappers/pwrGnrSimulation/pwrGnrSimMapper.xml @@ -56,7 +56,7 @@ FROM T_PART_ESTIMATE B WITH (NOLOCK) INNER JOIN M_ITEM C WITH (NOLOCK) ON B.ITEM_ID = C.ITEM_ID - WHERE C.ITEM_GROUP ='PC_' + WHERE C.POWER_COM_FLG ='1' /* PCS만 */ AND B.OBJECT_NO = #{objectNo} AND B.PLAN_NO = #{planNo} ORDER BY B.SPECIFICATION