From c8a7e11009a5efed3c2165194e9358ccddb221b1 Mon Sep 17 00:00:00 2001 From: kimjhjjang Date: Mon, 7 Nov 2022 14:33:22 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=B5=EC=A7=80=EC=82=AC=ED=95=AD=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20pop=20=EC=98=A4=ED=94=88=EC=8B=9C=20null?= =?UTF-8?q?=20=EA=B0=92=EC=97=90=20split=20=EB=90=98=EB=8A=94=20=EB=B6=80?= =?UTF-8?q?=EB=B6=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/modules/homeMgt/components/NoticeUpdatePop.vue | 8 ++++---- .../resources/mapper/mysql/homeMgt/homeMgt-mapper.xml | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/modules/homeMgt/components/NoticeUpdatePop.vue b/frontend/src/modules/homeMgt/components/NoticeUpdatePop.vue index 9053077..9747734 100644 --- a/frontend/src/modules/homeMgt/components/NoticeUpdatePop.vue +++ b/frontend/src/modules/homeMgt/components/NoticeUpdatePop.vue @@ -210,10 +210,10 @@ export default { this.emgYn = props.emgYn; this.useYn = props.useYn; this.ctgCd = props.ctgCd; - this.fileNm = props.fileNm.split(','); - this.filePath = props.filePath.split(','); - this.fileTitle = props.fileTitle.split(','); - this.fileNo = props.fileNo.split(','); + this.fileNm = props.fileNm && props.fileNm.split(','); + this.filePath = props.filePath && props.filePath.split(','); + this.fileTitle = props.fileTitle && props.fileTitle.split(','); + this.fileNo = props.fileNo && props.fileNo.split(','); this.fileCount = props.fileCount; } diff --git a/src/main/resources/mapper/mysql/homeMgt/homeMgt-mapper.xml b/src/main/resources/mapper/mysql/homeMgt/homeMgt-mapper.xml index 1f37d0a..1e9f4e0 100644 --- a/src/main/resources/mapper/mysql/homeMgt/homeMgt-mapper.xml +++ b/src/main/resources/mapper/mysql/homeMgt/homeMgt-mapper.xml @@ -133,11 +133,13 @@ + /* homeMgt-mapper.xml (insertNoticeFile) */ INSERT INTO hubez_common.EZ_BBS_FATC ( BBS_DIV_CD,