From 6561a426427ff9c4aeb721000e7276bea02bc2ed Mon Sep 17 00:00:00 2001 From: leebeomjun Date: Tue, 28 Nov 2023 15:17:16 +0900 Subject: [PATCH] =?UTF-8?q?=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../cokr/xit/fims/sprt/service/bean/Sprt01ServiceBean.java | 3 +++ src/main/resources/sql/mapper/fims/cmmn/stng-mapper.xml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt01ServiceBean.java b/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt01ServiceBean.java index fadd9ab8..ebc77004 100644 --- a/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt01ServiceBean.java +++ b/src/main/java/cokr/xit/fims/sprt/service/bean/Sprt01ServiceBean.java @@ -280,6 +280,9 @@ public class Sprt01ServiceBean extends AbstractServiceBean implements Sprt01Serv DataObject deptStngInfo = stngBean.getStng("dept"); Map globalVariable = printOption.getGlobalVariable(); + if(globalVariable == null) { + globalVariable = new HashMap(); + } globalVariable.put("offcsFilePath", sggStngInfo.string("OFFCS_FILE_PATH")); globalVariable.put("instAddr", sggStngInfo.string("INST_ADDR")); globalVariable.put("instDaddr", sggStngInfo.string("INST_DADDR")); diff --git a/src/main/resources/sql/mapper/fims/cmmn/stng-mapper.xml b/src/main/resources/sql/mapper/fims/cmmn/stng-mapper.xml index 7a90fdd9..c5a22035 100644 --- a/src/main/resources/sql/mapper/fims/cmmn/stng-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cmmn/stng-mapper.xml @@ -29,7 +29,7 @@ SELECT SGG_CD THEN INST_ADDR ELSE CONCAT(INST_ADDR,' ',INST_DADDR) END) AS INST_FULL_ADDR - , INST_ADRR + , INST_ADDR , INST_DADDR , INST_ZIP , OFFCS_FILE_PATH