From 2e71ec5da14c10e57a2fc724c317462040e61b6d Mon Sep 17 00:00:00 2001 From: yjnoh Date: Wed, 4 Jun 2025 15:40:34 +0900 Subject: [PATCH 1/3] =?UTF-8?q?=EC=9A=B4=EC=98=81=EA=B3=84=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=20=ED=8F=AC=ED=8A=B8=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/logback/logback-prd.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/resources/logback/logback-prd.xml b/src/main/resources/logback/logback-prd.xml index 0356cb1d..25ff23f8 100644 --- a/src/main/resources/logback/logback-prd.xml +++ b/src/main/resources/logback/logback-prd.xml @@ -3,7 +3,8 @@ xsi:noNamespaceSchemaLocation="http://www.padual.com/java/logback.xsd"> - + + From 5edafc61499bcb2463fc3f0e82dbf09c3d18e60e Mon Sep 17 00:00:00 2001 From: yjnoh Date: Wed, 4 Jun 2025 15:58:08 +0900 Subject: [PATCH 2/3] =?UTF-8?q?=EC=9A=B4=EC=98=81=EA=B3=84=20=EB=A1=9C?= =?UTF-8?q?=EA=B7=B8=20=ED=8F=AC=ED=8A=B8=EB=B3=84=20=EB=B6=84=EB=A6=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/logback/logback-prd.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/logback/logback-prd.xml b/src/main/resources/logback/logback-prd.xml index 25ff23f8..f28431c4 100644 --- a/src/main/resources/logback/logback-prd.xml +++ b/src/main/resources/logback/logback-prd.xml @@ -3,8 +3,8 @@ xsi:noNamespaceSchemaLocation="http://www.padual.com/java/logback.xsd"> - - + + From 2f5c7508d1eb8f942597e1a1e5c66b09084002cf Mon Sep 17 00:00:00 2001 From: cha Date: Wed, 4 Jun 2025 17:19:42 +0900 Subject: [PATCH 3/3] =?UTF-8?q?TRY=5FCAST=20=EB=B3=80=ED=99=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/mappers/pwrGnrSimulation/pwrGnrSimMapper.xml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/resources/mappers/pwrGnrSimulation/pwrGnrSimMapper.xml b/src/main/resources/mappers/pwrGnrSimulation/pwrGnrSimMapper.xml index af2e597e..bdad080d 100644 --- a/src/main/resources/mappers/pwrGnrSimulation/pwrGnrSimMapper.xml +++ b/src/main/resources/mappers/pwrGnrSimulation/pwrGnrSimMapper.xml @@ -81,7 +81,12 @@ , B.ITEM_ID , SUM(B.AMOUNT) AS AMOUNT , B.ITEM_NO - , ISNULL((SUM(B.AMOUNT) * TRY_CAST(MAX(B.SPECIFICATION) AS FLOAT)),0) AS TOT_SPECIFICATION /* 용량 */ + , ISNULL((SUM(B.AMOUNT) * + CASE + WHEN ISNUMERIC(MAX(B.SPECIFICATION)) = 1 THEN CAST(MAX(B.SPECIFICATION) AS FLOAT) + ELSE NULL -- 또는 기본값 (예: 0)으로 대체할 수도 있음 + END + ),0) AS TOT_SPECIFICATION /* 용량 */ , MAX(C.ITEM_GROUP) AS ITEM_GROUP /* 추후 지붕재테이블로 봐야함. */ , MAX(D.TEMP_LOSS) AS TEMP_LOSS , MAX(D.TEMP_COEFF ) AS TEMP_COEFF