공지사항 수정 pop 오픈시 null 값에 split 되는 부분 수정

This commit is contained in:
kimjhjjang
2022-11-07 14:33:22 +09:00
parent 2f72124c82
commit c8a7e11009
2 changed files with 6 additions and 4 deletions

View File

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

View File

@@ -133,11 +133,13 @@
<!-- 공지사항 채번 -->
<select id="insertNoticeNtNo" resultType="int">
/* homeMgt-mapper.xml (insertNoticeNtNo) */
SELECT LAST_INSERT_ID()
</select>
<!-- 공지사항 파일 등록 -->
<insert id="insertNoticeFile" parameterType="kr.co.uplus.ez.api.homeMgt.dto.InsertNoticeFileDto">
/* homeMgt-mapper.xml (insertNoticeFile) */
INSERT INTO
hubez_common.EZ_BBS_FATC (
BBS_DIV_CD,