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