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