발전시뮬레이션 PCS 조회기준 변경

This commit is contained in:
DESKTOP-6ARNG1Q\dlsgk 2025-02-20 15:53:08 +09:00
parent 3d2321759c
commit 68fd0fa2b2
2 changed files with 2 additions and 2 deletions

View File

@ -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);

View File

@ -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