From 8ddd005e2f122100206498aef15e93e888e9c852 Mon Sep 17 00:00:00 2001 From: leebj Date: Wed, 4 Sep 2024 14:27:02 +0900 Subject: [PATCH] =?UTF-8?q?utility.xml=20=EC=B0=B8=EC=A1=B0=20=EA=B2=BD?= =?UTF-8?q?=EB=A1=9C=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sql/mapper/base/actiongroup-mapper.xml | 14 ++--- .../sql/mapper/base/authority-mapper.xml | 28 ++++----- .../resources/sql/mapper/base/code-mapper.xml | 44 +++++++------- .../sql/mapper/base/department-mapper.xml | 10 ++-- .../resources/sql/mapper/base/file-mapper.xml | 10 ++-- .../resources/sql/mapper/base/menu-mapper.xml | 2 +- .../sql/mapper/base/policy-mapper.xml | 12 ++-- .../sql/mapper/base/sigungu-mapper.xml | 8 +-- .../sql/mapper/base/syslog-mapper.xml | 10 ++-- .../resources/sql/mapper/base/user-mapper.xml | 20 +++---- .../resources/sql/mapper/base/utility.xml | 46 --------------- .../fims/cmmn/crdnPayerHstry-mapper.xml | 8 +-- .../mapper/fims/cmmn/crdnSttsHstry-mapper.xml | 20 +++---- .../sql/mapper/fims/cmmn/link-mapper.xml | 8 +-- .../sql/mapper/fims/cmmn/otptStng-mapper.xml | 10 ++-- .../fims/cmmn/outsourcingStng-mapper.xml | 6 +- .../sql/mapper/fims/cmmn/stng-mapper.xml | 6 +- .../sql/mapper/fims/crdn/crdn-list-mapper.xml | 34 +++++------ .../sql/mapper/fims/crdn/crdn-stng-mapper.xml | 14 ++--- .../sql/mapper/fims/crdn/crdn-team-mapper.xml | 8 +-- .../sql/mapper/fims/crdn/crdn-updt-mapper.xml | 32 +++++----- .../mapper/fims/crdn/exmptn-vhcl-mapper.xml | 14 ++--- .../mapper/fims/cvlc/answer-words-mapper.xml | 14 ++--- .../mapper/fims/cvlc/crdnCvlcpt-mapper.xml | 48 +++++++-------- .../fims/cvlc/saCvlcptIndviDmnd-mapper.xml | 14 ++--- .../mapper/fims/cvlc/warning-words-mapper.xml | 6 +- .../mapper/fims/epst/epostDlvrRslt-mapper.xml | 16 ++--- .../mapper/fims/epst/epostGdntc-mapper.xml | 16 ++--- .../mapper/fims/epst/epostRcptDtl-mapper.xml | 16 ++--- .../mapper/fims/epst/epostRcptReg-mapper.xml | 24 ++++---- .../mapper/fims/epst/epostRcptRslt-mapper.xml | 16 ++--- .../sql/mapper/fims/excl/crdnReReg-mapper.xml | 14 ++--- .../sql/mapper/fims/excl/levyExcl-mapper.xml | 18 +++--- .../mapper/fims/excl/opnnDlbrMbr-mapper.xml | 14 ++--- .../sql/mapper/fims/excl/opnnSbmsn-mapper.xml | 22 +++---- .../sql/mapper/fims/levy/levy-mapper.xml | 30 +++++----- .../sql/mapper/fims/levy/rdct-mapper.xml | 22 +++---- .../sql/mapper/fims/mngt/ntc-mapper.xml | 14 ++--- .../sql/mapper/fims/mngt/schdl-mapper.xml | 10 ++-- .../sql/mapper/fims/mngt/task-mapper.xml | 18 +++--- .../sql/mapper/fims/mngt/vltn-mapper.xml | 18 +++--- .../resources/sql/mapper/fims/numbering.xml | 16 ++--- .../sql/mapper/fims/nxrp/nisA01-mapper.xml | 18 +++--- .../sql/mapper/fims/nxrp/nisA02-mapper.xml | 16 ++--- .../sql/mapper/fims/nxrp/nisA03-mapper.xml | 16 ++--- .../sql/mapper/fims/payer-mapper.xml | 18 +++--- .../sql/mapper/fims/payerAddr-mapper.xml | 18 +++--- .../sql/mapper/fims/rcvm/rcvmt-mapper.xml | 12 ++-- .../sql/mapper/fims/rdca/rdcamt-mapper.xml | 16 ++--- .../sql/mapper/fims/rent/hirer-mapper.xml | 16 ++--- .../sql/mapper/fims/rent/lsct-mapper.xml | 22 +++---- .../sql/mapper/fims/rent/rentEnt-mapper.xml | 16 ++--- .../fims/rent/userRentEntMpng-mapper.xml | 14 ++--- .../sql/mapper/fims/sndb/sndng-mapper.xml | 58 +++++++++---------- .../sql/mapper/fims/sndb/sndngDtl-mapper.xml | 44 +++++++------- .../mapper/fims/sndb/sndngHstry-mapper.xml | 12 ++-- .../sql/mapper/fims/sndb/svbtc-mapper.xml | 26 ++++----- .../mapper/fims/sprt/cvlcptDscsn-mapper.xml | 18 +++--- .../fims/sprt/integrationSearch-mapper.xml | 2 +- .../sql/mapper/fims/sprt/media-mapper.xml | 4 +- .../mapper/interfaces/emailRequest-mapper.xml | 22 +++---- .../mapper/interfaces/emailResult-mapper.xml | 12 ++-- .../sql/mapper/interfaces/smg-mapper.xml | 6 +- .../mapper/interfaces/vehicleInfo-mapper.xml | 12 ++-- 64 files changed, 541 insertions(+), 587 deletions(-) delete mode 100644 src/main/resources/sql/mapper/base/utility.xml diff --git a/src/main/resources/sql/mapper/base/actiongroup-mapper.xml b/src/main/resources/sql/mapper/base/actiongroup-mapper.xml index 594ed991..9820e885 100644 --- a/src/main/resources/sql/mapper/base/actiongroup-mapper.xml +++ b/src/main/resources/sql/mapper/base/actiongroup-mapper.xml @@ -10,7 +10,7 @@ - + SELECT A.GRP_ID , A.GRP_NM , A.DSCRP @@ -24,7 +24,7 @@ AND GRP_ID IN (#{gro AND ${by} LIKE CONCAT('%', #{term}, '%') - + /* 그룹별 기능 가져오기(actionGroupMapper.getActionList) */ - + SELECT GRP_ID , ACTION , REG_DT , RGTR FROM TB_GRP_ACTION WHERE GRP_ID IN (#{groupID}) - - + + /* 그룹별 기능 추가(actionGroupMapper.addActions) */ INSERT INTO TB_GRP_ACTION (GRP_ID, ACTION, REG_DT, RGTR) -SELECT GRP_ID, ACTION,, #{currentUser.id} +SELECT GRP_ID, ACTION,, #{currentUser.id} FROM ( SELECT #{groupID} GRP_ID, #{action} ACTION FROM DUAL ) A diff --git a/src/main/resources/sql/mapper/base/authority-mapper.xml b/src/main/resources/sql/mapper/base/authority-mapper.xml index baa4a4d9..37f0d45d 100644 --- a/src/main/resources/sql/mapper/base/authority-mapper.xml +++ b/src/main/resources/sql/mapper/base/authority-mapper.xml @@ -13,7 +13,7 @@ - + SELECT * FROM ( SELECT 0 AS AUTH_TYPE @@ -22,7 +22,7 @@ SELECT * , '시스템 관리자' AS DSCRP , 'all' AS INF_SCP , 'all' AS USER_INF_SCP - , AS REG_DT + , AS REG_DT FROM DUAL UNION SELECT 1 AS AUTH_TYPE @@ -31,7 +31,7 @@ SELECT * , '모든 사용자' AS DSCRP , 'none' AS INF_SCP , 'none' AS USER_INF_SCP - , AS REG_DT + , AS REG_DT FROM DUAL UNION SELECT 1 AS AUTH_TYPE @@ -40,7 +40,7 @@ SELECT * , '로그인한 사용자' AS DSCRP , 'self' AS INF_SCP , 'self' AS USER_INF_SCP - , AS REG_DT + , AS REG_DT FROM DUAL UNION SELECT 2 AS AUTH_TYPE @@ -60,8 +60,8 @@ AND AUTH_ID IN (#{auth AND ${by} LIKE CONCAT('%', #{term}, '%') - - + + /* 권한-기능그룹 가져오기(authorityMapper.getActionGroups) */ - + SELECT A.AUTH_ID , A.GRP_ID , A.REG_DT @@ -119,13 +119,13 @@ SELECT A.AUTH_ID FROM TB_AUTH_ACTION A WHERE AUTH_ID IN (#{authID}) ORDER BY AUTH_ID, GRP_ID - + /* 권한-기능그룹 추가(authorityMapper.addActionGroups) */ INSERT INTO TB_AUTH_ACTION (AUTH_ID, GRP_ID, REG_DT) -SELECT AUTH_ID, GRP_ID, +SELECT AUTH_ID, GRP_ID, FROM ( SELECT #{authID} AUTH_ID, #{groupID} GRP_ID FROM DUAL ) A @@ -159,7 +159,7 @@ SELECT A.AUTH_ID - + SELECT A.AUTH_ID , A.USER_ID , A.REG_DT @@ -178,8 +178,8 @@ SELECT A.AUTH_ID AND A.USER_ID IN (#{userID}) AND A.USER_ID = B.USER_ID - - + + @@ -85,9 +85,9 @@ INSERT INTO TB_CODE_CTGR ( #{category.id} , #{category.name} , #{category.description} - , + , , #{currentUser.id} - , + , , #{currentUser.id} , 'Y' ) @@ -97,7 +97,7 @@ INSERT INTO TB_CODE_CTGR ( UPDATE TB_CODE_CTGR SET CTGR_NM = #{category.name} , DSCRP = #{category.description} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE CTGR_ID = #{category.id} @@ -105,14 +105,14 @@ WHERE CTGR_ID = #{category.id} /* 코드 카테고리 제거(codeMapper.removeCategories) */ UPDATE TB_CODE_CTGR SET - MDFCN_DT = + MDFCN_DT = , MDFR = #{currentUser.id} , USE_YN = 'N' WHERE CTGR_ID IN (#{categoryID}) - + SELECT GRP_ID , CTGR_ID , GRP_NM @@ -126,8 +126,8 @@ SELECT GRP_ID AND USE_YN = 'Y' AND CTGR_ID IN (#{categoryID}) AND GRP_ID IN (#{groupID}) - - + + @@ -246,9 +246,9 @@ INSERT INTO TB_CMN_CODE ( , #{code.etc2} , #{code.etc3} , #{code.sortOrder} - , + , , #{currentUser.id} - , + , , #{currentUser.id} , 'Y' ) @@ -262,7 +262,7 @@ UPDATE TB_CMN_CODE SET , ETC_1 = #{code.etc1} , ETC_2 = #{code.etc2} , ETC_3 = #{code.etc3} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE GRP_ID = #{code.groupID} AND CODE = #{code.code} @@ -275,7 +275,7 @@ UPDATE TB_CMN_CODE SET WHEN #{code} THEN #{index} ELSE SRT_ORD END - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE GRP_ID = #{groupID} AND CODE IN (#{code}) @@ -284,7 +284,7 @@ UPDATE TB_CMN_CODE SET /* 코드 제거(codeMapper.removeCodes) */ UPDATE TB_CMN_CODE SET - MDFCN_DT = + MDFCN_DT = , MDFR = #{currentUser.id} , USE_YN = 'N' diff --git a/src/main/resources/sql/mapper/base/department-mapper.xml b/src/main/resources/sql/mapper/base/department-mapper.xml index cc715865..93f7e0e8 100644 --- a/src/main/resources/sql/mapper/base/department-mapper.xml +++ b/src/main/resources/sql/mapper/base/department-mapper.xml @@ -35,7 +35,7 @@ FROM TB_DEPT + + + SELECT A.SGG_CD @@ -127,7 +127,7 @@ UPDATE TB_DEPT /* 부서 정보 삭제(departmentMapper.deleteDepartment) */ UPDATE TB_DEPT SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} AND SGG_CD IN (#{sggID}) AND DEPT_CD IN (#{deptID}) diff --git a/src/main/resources/sql/mapper/base/file-mapper.xml b/src/main/resources/sql/mapper/base/file-mapper.xml index 5a564e37..bff9ab4a 100644 --- a/src/main/resources/sql/mapper/base/file-mapper.xml +++ b/src/main/resources/sql/mapper/base/file-mapper.xml @@ -58,7 +58,7 @@ SELECT A.FILE_ID ORDER BY FILE_ID - + SELECT A.FILE_ID , A.INF_TYPE , A.INF_KEY @@ -79,8 +79,8 @@ SELECT A.FILE_ID AND INF_KEY IN (#{infoKey}) AND USE_YN = 'Y' - - + + @@ -106,7 +106,7 @@ SELECT NEW_ID , CONCAT(DIR, NEW_ID, '.', #{file.extension}) PATH FROM ( SELECT NVL(MAX(FILE_ID) + 1, CONCAT(THIS_DAY, '00001')) NEW_ID - FROM () B + FROM () B LEFT OUTER JOIN TB_FILE A ON FILE_ID LIKE CONCAT(THIS_DAY, '%') ) T1 , ( @@ -140,7 +140,7 @@ INSERT INTO TB_FILE ( , #{file.downloadCount} , #{file.sortOrder} , #{currentUser.id} - , + , , 'Y' ) diff --git a/src/main/resources/sql/mapper/base/menu-mapper.xml b/src/main/resources/sql/mapper/base/menu-mapper.xml index 25627dc5..78545f1d 100644 --- a/src/main/resources/sql/mapper/base/menu-mapper.xml +++ b/src/main/resources/sql/mapper/base/menu-mapper.xml @@ -71,7 +71,7 @@ INSERT INTO TB_MENU ( , #{menu.imageName} , #{menu.imageConf} , #{menu.sortOrder} - , + , , #{currentUser.id} ) diff --git a/src/main/resources/sql/mapper/base/policy-mapper.xml b/src/main/resources/sql/mapper/base/policy-mapper.xml index c2ff4553..f9d5cced 100644 --- a/src/main/resources/sql/mapper/base/policy-mapper.xml +++ b/src/main/resources/sql/mapper/base/policy-mapper.xml @@ -15,7 +15,7 @@ /* 시군구 목록 조회(sigunguMapper.selectSigunguList) */ - + @@ -52,8 +52,8 @@ AND SGG_CD IN (#{sggID}) AND INST_CD IN (#{instCode}) AND USE_YN = 'Y' - - + + /* 시스템 로그 조회(loggingMapper.getLogs) */ - + SELECT LOG_ID , A.LOG_TYPE , CASE MTD_NM WHEN 'onLogin' THEN '로그인' @@ -56,8 +56,8 @@ SELECT LOG_ID AND USER_NM LIKE CONCAT('%', #{userName}, '%') AND A.LOG_TYPE = C.LOG_TYPE - - + + /* 시스템 로그 등록(loggingMapper.insertLog) */ @@ -75,7 +75,7 @@ INSERT INTO TB_SYS_LOG ( , IP_ADDR , REG_DT ) VALUES ( - CONCAT(, LPAD(NEXTVAL(SQ_SYS_LOG), 16, '0')) + CONCAT(, LPAD(NEXTVAL(SQ_SYS_LOG), 16, '0')) , #{type} , #{url} , #{className} @@ -86,7 +86,7 @@ INSERT INTO TB_SYS_LOG ( , #{personalInfo} , #{userId} , #{ipAddress} - , + , ) diff --git a/src/main/resources/sql/mapper/base/user-mapper.xml b/src/main/resources/sql/mapper/base/user-mapper.xml index e526593e..441fba22 100644 --- a/src/main/resources/sql/mapper/base/user-mapper.xml +++ b/src/main/resources/sql/mapper/base/user-mapper.xml @@ -37,7 +37,7 @@ - + SELECT A.USER_ID , UPPER(A.USER_ACNT) AS USER_ACNT , A.USER_NM @@ -100,8 +100,8 @@ SELECT A.USER_ID AND CNTN_SE_CD = #{type} - - + + /* 전체 결과수 가져오기(utility.foundRows) */ -SELECT FOUND_ROWS() TOT_CNT - -ORDER BY ${orderBy} - - - - -DATE_FORMAT(CURRENT_TIMESTAMP, '%Y%m%d%H%i%s') -TO_CHAR(CURRENT_TIMESTAMP, 'YYYYMMDDHH24MISS') - - -SELECTNOW FROM DUAL - - -DATE_FORMAT(CURRENT_DATE, '%Y%m%d') -TO_CHAR(CURRENT_DATE, 'YYYYMMDD') - - -SELECTTODAY FROM DUAL - -NVL(#{thisDay},) - -SELECTTHIS_DAY FROM DUAL - - -DATE_FORMAT(CURRENT_DATE, '%Y') -TO_CHAR(CURRENT_DATE, 'YYYY') - - - \ No newline at end of file diff --git a/src/main/resources/sql/mapper/fims/cmmn/crdnPayerHstry-mapper.xml b/src/main/resources/sql/mapper/fims/cmmn/crdnPayerHstry-mapper.xml index b2449a17..1ceaea6d 100644 --- a/src/main/resources/sql/mapper/fims/cmmn/crdnPayerHstry-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cmmn/crdnPayerHstry-mapper.xml @@ -35,12 +35,12 @@ /* 단속 납부자 이력 등록(crdnPayerHstryMapper.insertCrdnPayerHstry) */ diff --git a/src/main/resources/sql/mapper/fims/cmmn/crdnSttsHstry-mapper.xml b/src/main/resources/sql/mapper/fims/cmmn/crdnSttsHstry-mapper.xml index 9c1f67ce..177b2a3b 100644 --- a/src/main/resources/sql/mapper/fims/cmmn/crdnSttsHstry-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cmmn/crdnSttsHstry-mapper.xml @@ -45,7 +45,7 @@ /* 단속 상태 이력 등록(crdnSttsHstryMapper.insertCrdnSttsHstry) */ @@ -120,9 +120,9 @@ , #{taskDtlId} , #{etcCn} , #{useYn} - , + , , #{createdBy} - , + , , #{modifiedBy} ) @@ -130,7 +130,7 @@ /* 단속 상태 이력 수정(crdnSttsHstryMapper.updateCrdnSttsHstry) */ UPDATE TB_CRDN_STTS_HSTRY SET USE_YN = #{useYn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE STTS_HSTRY_ID = #{sttsHstryId} @@ -138,7 +138,7 @@ /* 단속 상태 이력 삭제(crdnSttsHstryMapper.deleteCrdnSttsHstry) */ UPDATE TB_CRDN_STTS_HSTRY SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE USE_YN = 'Y' @@ -157,10 +157,10 @@ , CRDN_STTS_CHG_DT = #{crdnSttsChgDt} - , CRDN_STTS_CHG_DT = + , CRDN_STTS_CHG_DT = - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE CRDN_ID = #{crdnId} diff --git a/src/main/resources/sql/mapper/fims/cmmn/link-mapper.xml b/src/main/resources/sql/mapper/fims/cmmn/link-mapper.xml index d8aa0da0..55f98368 100644 --- a/src/main/resources/sql/mapper/fims/cmmn/link-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cmmn/link-mapper.xml @@ -40,9 +40,9 @@ INSERT , #{closDt} , #{errorCode} , #{errorMssage} - , + , , #{register} - , + , , #{updusr} ) @@ -95,9 +95,9 @@ INSERT , #{mobilePageCn} , #{useInsttIdntfcId} , #{externalDocumentUuid} - , + , , #{register} - , + , , #{updusr} ) diff --git a/src/main/resources/sql/mapper/fims/cmmn/otptStng-mapper.xml b/src/main/resources/sql/mapper/fims/cmmn/otptStng-mapper.xml index b1b07326..cbede3c7 100644 --- a/src/main/resources/sql/mapper/fims/cmmn/otptStng-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cmmn/otptStng-mapper.xml @@ -59,7 +59,7 @@ INSERT , #{otptPhotoCnt} , 'Y' - , + , , #{createdBy} ) @@ -73,7 +73,7 @@ UPDATE TB_OTPT_BSC_STNG , BCRN_IMG_FILE_NM = #{bcrnImgFileNm} , OTPT_PHOTO_CNT = #{otptPhotoCnt} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE OTPT_BSC_ID = #{otptBscId} AND USE_YN = 'Y' @@ -157,7 +157,7 @@ INSERT , #{fontStyle} , #{otptArtclSeq} , 'Y' - , + , , #{createdBy} ) @@ -177,7 +177,7 @@ UPDATE TB_OTPT_FORM_STNG , FONT_COLR = #{fontColr} , FONT_STYLE = #{fontStyle} , OTPT_ARTCL_SEQ = #{otptArtclSeq} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE OTPT_FORM_ID = #{otptFormId} AND USE_YN = 'Y' @@ -187,7 +187,7 @@ UPDATE TB_OTPT_FORM_STNG /* 출력 설정 삭제(otptStngMapper.deleteArtclStng) */ UPDATE TB_OTPT_FORM_STNG SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE SGG_CD = #{sggCd} AND TASK_SE_CD = #{taskSeCd} diff --git a/src/main/resources/sql/mapper/fims/cmmn/outsourcingStng-mapper.xml b/src/main/resources/sql/mapper/fims/cmmn/outsourcingStng-mapper.xml index 762a5622..88b8cb81 100644 --- a/src/main/resources/sql/mapper/fims/cmmn/outsourcingStng-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cmmn/outsourcingStng-mapper.xml @@ -55,7 +55,7 @@ INSERT , #{paddingDirection} , #{formatting} , 'Y' - , + , , #{createdBy} ) @@ -68,7 +68,7 @@ UPDATE TB_OUTSOURCING_FORM_STNG , ARTCL_SZ = #{artclSz} , PADDING_DIRECTION = #{paddingDirection} , FORMATTING = #{formatting} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE OUTSOURCING_FORM_ID = #{outsourcingFormId} AND USE_YN = 'Y' @@ -78,7 +78,7 @@ UPDATE TB_OUTSOURCING_FORM_STNG /* 외주요청파일서식 설정 삭제(outsourcingStngMapper.deleteArtclStng) */ UPDATE TB_OUTSOURCING_FORM_STNG SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE SGG_CD = #{sggCd} AND TASK_SE_CD = #{taskSeCd} 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 7fac6ee8..83ebf164 100644 --- a/src/main/resources/sql/mapper/fims/cmmn/stng-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cmmn/stng-mapper.xml @@ -79,7 +79,7 @@ SELECT SGG_CD /* 교부 계좌번호 변경 (stngMapper.updateDtbnActno) */ UPDATE TB_DEPT SET MDFR = #{mdfr} - , MDFCN_DT = + , MDFCN_DT = , DTBN_BANK_NM = #{dtbnBankNm} , DTBN_ACTNO = #{dtbnActno} WHERE DEPT_CD = #{deptCd} @@ -107,7 +107,7 @@ INSERT , #{userId} , #{taskSeCd} , 'Y' - , + , , #{rgtr} ) @@ -116,7 +116,7 @@ INSERT /* 사용자 기본 업무 변경 (stngMapper.updateDefaultTask) */ UPDATE TB_TASK_MTCHG SET MDFR = #{mdfr} - , MDFCN_DT = + , MDFCN_DT = , TASK_SE_CD = #{taskSeCd} WHERE TASK_MTCHG_ID = #{taskMtchgId} diff --git a/src/main/resources/sql/mapper/fims/crdn/crdn-list-mapper.xml b/src/main/resources/sql/mapper/fims/crdn/crdn-list-mapper.xml index 56df26b7..15ec6165 100644 --- a/src/main/resources/sql/mapper/fims/crdn/crdn-list-mapper.xml +++ b/src/main/resources/sql/mapper/fims/crdn/crdn-list-mapper.xml @@ -5,7 +5,7 @@ /* 연계파일 레이아웃 목록 조회(crdnStngMapper.selectLinkFileLayoutMetadataList) */ - + SELECT A.FILE_LAYOUT_ID , GET_CODE_NM('FIM054', A.TASK_SE_CD) AS TASK_SE_NM , (SELECT DEPT_NM FROM TB_DEPT WHERE DEPT_CD = A.DEPT_CD) AS DEPT_NM @@ -69,8 +69,8 @@ SELECT A.FILE_LAYOUT_ID WHERE A.USE_YN = 'Y' AND A.TASK_SE_CD = #{taskSeCd} AND A.SGG_CD = #{sggCd} - - + + /* 면제차량 목록 조회(exmptnVhclMapper.selectExemptionVehicleList) */ - + SELECT A.EXMPTN_VHCL_ID , A.VHRNO , A.EXMPTN_RSN @@ -32,8 +32,8 @@ SELECT A.EXMPTN_VHCL_ID AND A.EXMPTN_BGNG_YMD #{crdnYmd} AND A.EXMPTN_END_YMD = ]]> #{crdnYmd} - - + + /* 민원자료 목록 조회(crdnCvlcptMapper.selectCivilComplaintList) */ - + SELECT C.CRDN_ID , C.SGG_CD , C.TASK_SE_CD @@ -216,13 +216,13 @@ AND (SELECT VLTN_ARTCL FROM TB_VLTN WHERE VLTN_ID = C.VLTN_ID) LIKE CONCAT('%', - - + + /* 민원답변대상자료 목록 조회(crdnCvlcptMapper.selectCivilComplaintAnswerTargetDataList) */ - + SELECT C.CRDN_ID , C.SGG_CD , C.TASK_SE_CD @@ -499,8 +499,8 @@ AND (SELECT VLTN_ARTCL FROM TB_VLTN WHERE VLTN_ID = C.VLTN_ID) LIKE CONCAT('%', - - + + @@ -520,7 +520,7 @@ SELECT C.CRDN_ID /* 답변 내용 변경(crdnCvlcptMapper.updateAnswerContent) */ UPDATE TB_CRDN_CVLCPT SET CVLCPT_PRCS_RSLT_CN = #{cvlcptPrcsRsltCn} - , MDFCN_DT = /* 수정일시 */ + , MDFCN_DT = /* 수정일시 */ , MDFR = #{modifiedBy} /* 수정자 */ WHERE CVLCPT_LINK_ID = #{cvlcptLinkId} @@ -550,10 +550,10 @@ UPDATE TB_CRDN_CVLCPT , CVLCPT_PRCS_RSLT_CN = #{cvlcptPrcsRsltCn} /* 민원 처리 결과 내용 */ - , CVLCPT_PRCS_CMPTN_DT = + , CVLCPT_PRCS_CMPTN_DT = , CVLCPT_PRCS_PIC_NM = (SELECT USER_NM FROM TB_USER WHERE USER_ID=#{modifiedBy}) , CVLCPT_PRCS_PIC = #{modifiedBy} - , MDFCN_DT = /* 수정일시 */ + , MDFCN_DT = /* 수정일시 */ , MDFR = #{modifiedBy} /* 수정자 */ WHERE CVLCPT_LINK_ID = #{cvlcptLinkId} @@ -594,7 +594,7 @@ SELECT CC.CVLCPT_LINK_ID /* 민원 연계 ID */ /* 단속정보 수정(crdnCvlcptMapper.updateCrdn) */ UPDATE TB_CRDN - SET MDFCN_DT = /* 수정일시 */ + SET MDFCN_DT = /* 수정일시 */ , MDFR = #{currentUser.id} /* 수정자 */ , RTPYR_ID = #{crdn.rtpyrId} /* 납부자 ID */ , ADDR_SN = #{crdn.addrSn} /* 주소 일련번호 */ @@ -620,7 +620,7 @@ SELECT CC.CVLCPT_LINK_ID /* 민원 연계 ID */ , CRDN_STTS_CD = #{crdn.crdnSttsCd} /* 단속 상태 코드 */ - , CRDN_STTS_CHG_DT = /* 단속 상태 변경 일시 */ + , CRDN_STTS_CHG_DT = /* 단속 상태 변경 일시 */ WHERE CRDN_ID = #{crdn.crdnId} /* 단속 ID */ @@ -628,7 +628,7 @@ SELECT CC.CVLCPT_LINK_ID /* 민원 연계 ID */ /* 단속 부가정보 수정(crdnCvlcptMapper.updateCrdnAddition) */ UPDATE TB_CRDN_ADI - SET MDFCN_DT = /* 수정일시 */ + SET MDFCN_DT = /* 수정일시 */ , MDFR = #{currentUser.id} /* 수정자 */ , OVTM_YN = #{crdn.ovtmYn} @@ -714,9 +714,9 @@ SELECT #{newCrdnId} , '01' , 'N' , 'N' - , + , , #{currentUser.id} - , + , , #{currentUser.id} , SGG_CD , TASK_SE_CD @@ -792,9 +792,9 @@ SELECT #{newCrdnId} , OVTM_YN , OVTM_PRTTN_YN , DEL_YN - , + , , #{currentUser.id} - , + , , #{currentUser.id} FROM TB_CRDN_ADI WHERE CRDN_ID = #{crdnId} diff --git a/src/main/resources/sql/mapper/fims/cvlc/saCvlcptIndviDmnd-mapper.xml b/src/main/resources/sql/mapper/fims/cvlc/saCvlcptIndviDmnd-mapper.xml index b615ccde..f5914e5f 100644 --- a/src/main/resources/sql/mapper/fims/cvlc/saCvlcptIndviDmnd-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cvlc/saCvlcptIndviDmnd-mapper.xml @@ -4,7 +4,7 @@ @@ -59,12 +59,12 @@ INSERT , #{taskSeCd} , REPLACE(#{rcptYmd},'-','') , LPAD(#{pstNo}, 6, '0') - , + , , '0' , 'N' - , + , , #{modifiedBy} - , + , , #{modifiedBy} ) @@ -73,7 +73,7 @@ INSERT /* 새올요청자료 삭제(saCvlcptIndviDmndMapper.deleteDmndDataInfo) */ UPDATE TB_SA_CVLCPT_INDIV_DMND SET DEL_YN = 'Y' - , DEL_DT = /* 삭제일시 */ + , DEL_DT = /* 삭제일시 */ , DLTR = #{removedBy} /* 삭제자 */ WHERE INDIV_ID IN ( #{indivId} diff --git a/src/main/resources/sql/mapper/fims/cvlc/warning-words-mapper.xml b/src/main/resources/sql/mapper/fims/cvlc/warning-words-mapper.xml index 3eb4638a..b609082b 100644 --- a/src/main/resources/sql/mapper/fims/cvlc/warning-words-mapper.xml +++ b/src/main/resources/sql/mapper/fims/cvlc/warning-words-mapper.xml @@ -61,9 +61,9 @@ VALUES ( , #{mailTtlNm} , #{mailCn} , 'Y' - , + , , #{modifiedBy} - , + , , #{modifiedBy} ) @@ -73,7 +73,7 @@ VALUES ( UPDATE TB_CVLCPT_ANS_WORDS SET MAIL_TTL_NM = #{mailTtlNm} , MAIL_CN = #{mailCn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE ANS_WORDS_ID = #{ansWordsId} diff --git a/src/main/resources/sql/mapper/fims/epst/epostDlvrRslt-mapper.xml b/src/main/resources/sql/mapper/fims/epst/epostDlvrRslt-mapper.xml index 26b97f04..98afc26e 100644 --- a/src/main/resources/sql/mapper/fims/epst/epostDlvrRslt-mapper.xml +++ b/src/main/resources/sql/mapper/fims/epst/epostDlvrRslt-mapper.xml @@ -49,7 +49,7 @@ /* 전자우편 배달 결과 등록(epostDlvrRsltMapper.insertEpostDlvrRslt) */ @@ -109,9 +109,9 @@ INSERT INTO TB_EPOST_DLVR_RSLT ( , #{epostDlvrRslt.subrecprsnnm} , #{epostDlvrRslt.relrecprsncd} , #{epostDlvrRslt.relrecprsncdnm} - , + , , #{currentUser.id} - , + , , #{currentUser.id} ) @@ -130,7 +130,7 @@ UPDATE TB_EPOST_DLVR_RSLT SET , SUBRECPRSNNM = #{epostDlvrRslt.subrecprsnnm} , RELRECPRSNCD = #{epostDlvrRslt.relrecprsncd} , RELRECPRSNCDNM = #{epostDlvrRslt.relrecprsncdnm} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE DLVR_RSLT_ID = #{epostDlvrRslt.dlvrRsltId} @@ -138,7 +138,7 @@ UPDATE TB_EPOST_DLVR_RSLT SET /* 전자우편 배달 결과 삭제(epostDlvrRsltMapper.deleteEpostDlvrRslt) */ UPDATE TB_EPOST_DLVR_RSLT SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE DLVR_RSLT_ID = #{epostDlvrRslt.dlvrRsltId} diff --git a/src/main/resources/sql/mapper/fims/epst/epostGdntc-mapper.xml b/src/main/resources/sql/mapper/fims/epst/epostGdntc-mapper.xml index fddd856b..ad6e775d 100644 --- a/src/main/resources/sql/mapper/fims/epst/epostGdntc-mapper.xml +++ b/src/main/resources/sql/mapper/fims/epst/epostGdntc-mapper.xml @@ -44,7 +44,7 @@ /* 전자우편 안내문 등록(epostGdntcMapper.insertEpostGdntc) */ @@ -156,9 +156,9 @@ , #{wordsCn} , #{lastUseDt} , 'Y' - , + , , #{createdBy} - , + , , #{modifiedBy} ) @@ -168,7 +168,7 @@ SET SNDNG_SE_CD = #{sndngSeCd} , TTL_NM = #{ttlNm} , WORDS_CN = #{wordsCn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE GDNTC_ID = #{gdntcId} AND USE_YN = 'Y' @@ -177,7 +177,7 @@ /* 전자우편 안내문 삭제(epostGdntcMapper.deleteEpostGdntc) */ UPDATE TB_EPOST_GDNTC SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} diff --git a/src/main/resources/sql/mapper/fims/epst/epostRcptDtl-mapper.xml b/src/main/resources/sql/mapper/fims/epst/epostRcptDtl-mapper.xml index a1873ca8..0455bea9 100644 --- a/src/main/resources/sql/mapper/fims/epst/epostRcptDtl-mapper.xml +++ b/src/main/resources/sql/mapper/fims/epst/epostRcptDtl-mapper.xml @@ -161,7 +161,7 @@ /* 전자우편 접수 등록 목록 조회(epostRcptRegMapper.selectEpostRcptRegList) */ - + WHERE ERR.CON_ORG = #{conOrg} @@ -205,8 +205,8 @@ - - + + /* 전자우편 접수 결과 목록 조회(epostRcptRsltMapper.selectEpostRcptRsltList) */ - + WHERE ERR.CON_ORG = #{conOrg} /* 외부기관구분코드 */ AND ERR.RELORSECT_CD = #{relorsectCd} /* 결제부서코드 */ @@ -122,8 +122,8 @@ - - + + /* 단속 재등록 목록 조회(crdnReRegMapper.selectCrdnReRegList) */ - + AND CRR.CRDN_REG_SE_CD = '03' @@ -176,8 +176,8 @@ - - + + /* 단속 재등록 등록(crdnReRegMapper.insertCrdnReReg) */ @@ -227,11 +227,11 @@ #{reRegId} , #{bfrCrdnId} , #{crdnId} - , + , , #{crdnRegSeCd} , #{etcCn} , 'N' - , + , , #{createdBy} ) @@ -239,7 +239,7 @@ /* 단속 재등록 삭제(crdnReRegMapper.deleteCrdnReReg) */ UPDATE TB_CRDN_RE_REG SET DEL_YN = 'Y' - , DEL_DT = + , DEL_DT = , DLTR = #{modifiedBy} , DEL_RSN = #{delRsn} WHERE RE_REG_ID = #{reRegId} diff --git a/src/main/resources/sql/mapper/fims/excl/levyExcl-mapper.xml b/src/main/resources/sql/mapper/fims/excl/levyExcl-mapper.xml index 14d4b4a2..c4724391 100644 --- a/src/main/resources/sql/mapper/fims/excl/levyExcl-mapper.xml +++ b/src/main/resources/sql/mapper/fims/excl/levyExcl-mapper.xml @@ -87,7 +87,7 @@ @@ -253,7 +253,7 @@ AND C.DEL_YN = 'N' - + /* 부과제외 대장 등록(levyExclMapper.insertLevyExcl) */ @@ -287,9 +287,9 @@ , #{levyExclRsnCd} , #{etcCn} , 'N' - , + , , #{createdBy} - , + , , #{modifiedBy} ) @@ -299,7 +299,7 @@ SET LEVY_EXCL_YMD = #{levyExclYmd} , LEVY_EXCL_RSN_CD = #{levyExclRsnCd} , ETC_CN = #{etcCn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE LEVY_EXCL_ID = #{levyExclId} AND DEL_YN = 'N' @@ -308,7 +308,7 @@ /* 부과제외 대장 삭제(levyExclMapper.deleteLevyExcl) */ UPDATE TB_LEVY_EXCL SET DEL_YN = 'Y' - , DEL_DT = + , DEL_DT = , DLTR = #{modifiedBy} , DEL_RSN = #{delRsn} WHERE LEVY_EXCL_ID = #{levyExclId} @@ -318,7 +318,7 @@ /* 단속 대장 주차가능결과코드를 수정(levyExclMapper.updatePrkPsbltyRsltCd) */ UPDATE TB_CRDN_ADI SET PRK_PSBLTY_RSLT_CD = #{prkPsbltyRsltCd} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE CRDN_ID = #{crdnId} AND DEL_YN = 'N' diff --git a/src/main/resources/sql/mapper/fims/excl/opnnDlbrMbr-mapper.xml b/src/main/resources/sql/mapper/fims/excl/opnnDlbrMbr-mapper.xml index eb1f572c..7c4c8638 100644 --- a/src/main/resources/sql/mapper/fims/excl/opnnDlbrMbr-mapper.xml +++ b/src/main/resources/sql/mapper/fims/excl/opnnDlbrMbr-mapper.xml @@ -56,19 +56,19 @@ /* 의견제출 대장 목록 조회(opnnSbmsnMapper.selectOpnnSbmsnList) */ - + @@ -243,8 +243,8 @@ AND C.TASK_SE_CD = #{taskSeCd} AND C.DEL_YN = 'N' - - + + @@ -337,7 +337,7 @@ AND C.DEL_YN = 'N' - + /* 의견제출 대장 등록(opnnSbmsnMapper.insertOpnnSbmsn) */ @@ -473,9 +473,9 @@ , #{ansTm} , #{opnnSbmsnSttsCd} , 'N' - , + , , #{createdBy} - , + , , #{modifiedBy} ) @@ -498,7 +498,7 @@ , OPNN_SBMSN_SE_CD = #{opnnSbmsnSeCd} , OPNN_SBMSN_GIST = #{opnnSbmsnGist} , PIC_RVW_OPNN = #{picRvwOpnn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE OPNN_ID = #{opnnId} AND DEL_YN = 'N' @@ -514,7 +514,7 @@ , ANS_YMD = #{ansYmd} , ANS_TM = #{ansTm} , ANS_CN = #{ansCn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE OPNN_ID = #{opnnId} AND DEL_YN = 'N' @@ -523,7 +523,7 @@ /* 의견제출 대장 삭제(opnnSbmsnMapper.deleteOpnnSbmsn) */ UPDATE TB_OPNN_SBMSN SET DEL_YN = 'Y' - , DEL_DT = + , DEL_DT = , DLTR = #{modifiedBy} , DEL_RSN = #{delRsn} WHERE OPNN_ID = #{opnnId} @@ -533,7 +533,7 @@ /* 단속 대장 의견제출여부 수정(opnnSbmsnMapper.updateCrdnOpnnSbmsnYn) */ UPDATE TB_CRDN SET OPNN_SBMSN_YN= #{opnnSbmsnYn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE CRDN_ID = #{crdnId} AND DEL_YN = 'N' diff --git a/src/main/resources/sql/mapper/fims/levy/levy-mapper.xml b/src/main/resources/sql/mapper/fims/levy/levy-mapper.xml index 48116620..9b596f07 100644 --- a/src/main/resources/sql/mapper/fims/levy/levy-mapper.xml +++ b/src/main/resources/sql/mapper/fims/levy/levy-mapper.xml @@ -289,11 +289,11 @@ @@ -443,7 +443,7 @@ /* 과태료 감경 대장 목록 조회(rdctMapper.selectRdctList) */ - + @@ -191,8 +191,8 @@ - - + + @@ -253,7 +253,7 @@ AND C.DEL_YN = 'N' - + /* 과태료 감경 대장 등록(rdctMapper.insertRdct) */ @@ -289,9 +289,9 @@ , #{rdctAmt} , #{etcCn} , 'N' - , + , , #{createdBy} - , + , , #{modifiedBy} ) @@ -302,7 +302,7 @@ , RDCT_RSN_CD = #{rdctRsnCd} , RDCT_AMT = #{rdctAmt} , ETC_CN = #{etcCn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE RDCT_ID = #{rdctId} AND DEL_YN = 'N' @@ -311,7 +311,7 @@ /* 과태료 감경 대장 삭제(rdctMapper.deleteRdct) */ UPDATE TB_RDCT SET DEL_YN = 'Y' - , DEL_DT = + , DEL_DT = , DLTR = #{modifiedBy} , DEL_RSN = #{delRsn} WHERE RDCT_ID = #{rdctId} @@ -342,7 +342,7 @@ , L.RDAMT_PCPTAX , L.RDAMT_ADAMT , R.RDCT_ID - , AS TODAY + , AS TODAY , C.FFNLG_CRDN_AMT * T.WKSN_RDCRT / 100 AS CALC_RDCT_AMT , (SELECT GET_CODE_NM('FIM010', C.CRDN_STTS_CD) FROM DUAL) AS CRDN_STTS_NM FROM TB_CRDN C @@ -366,7 +366,7 @@ SET FFNLG_RDCRT = #{ffnlgRdcrt} , FFNLG_AMT = #{ffnlgAmt} , ADVNTCE_AMT = #{advntceAmt} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE CRDN_ID = #{crdnId} AND DEL_YN = 'N' @@ -377,7 +377,7 @@ SET FFNLG_AMT = #{ffnlgAmt} , LEVY_PCPTAX = #{levyPcptax} , SUM_AMT = #{sumAmt} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE LEVY_ID = #{levyId} AND DEL_YN = 'N' diff --git a/src/main/resources/sql/mapper/fims/mngt/ntc-mapper.xml b/src/main/resources/sql/mapper/fims/mngt/ntc-mapper.xml index ce73ad87..77d8c754 100644 --- a/src/main/resources/sql/mapper/fims/mngt/ntc-mapper.xml +++ b/src/main/resources/sql/mapper/fims/mngt/ntc-mapper.xml @@ -44,7 +44,7 @@ SELECT A.NTC_ID /* 업무 정보 목록 조회(taskMapper.selectTaskList) */ - + WHERE T.SGG_CD = #{sggCd} AND T.TASK_SE_CD = #{taskSeCd} AND T.USE_YN = #{useYn} - - + + /* 업무 정보 등록(taskMapper.insertTask) */ @@ -124,9 +124,9 @@ , #{task.nxrpLinkSeCd} , #{task.nxrpLinkSeDtlSn} , 'Y' - , + , , #{currentUser.id} - , + , , #{currentUser.id} ) @@ -143,7 +143,7 @@ , FFNLG_INADTN_MAX_CNT = #{task.ffnlgInadtnMaxCnt} , NXRP_LINK_SE_CD = #{task.nxrpLinkSeCd} , NXRP_LINK_SE_DTL_SN = #{task.nxrpLinkSeDtlSn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE SGG_CD = #{task.sggCd} AND TASK_SE_CD = #{task.taskSeCd} @@ -153,7 +153,7 @@ /* 업무 정보 삭제(taskMapper.deleteTask) */ UPDATE TB_TASK SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE SGG_CD = #{task.sggCd} AND TASK_SE_CD = #{task.taskSeCd} diff --git a/src/main/resources/sql/mapper/fims/mngt/vltn-mapper.xml b/src/main/resources/sql/mapper/fims/mngt/vltn-mapper.xml index 8bbe6e50..bf8ad552 100644 --- a/src/main/resources/sql/mapper/fims/mngt/vltn-mapper.xml +++ b/src/main/resources/sql/mapper/fims/mngt/vltn-mapper.xml @@ -55,21 +55,21 @@ , V.RGTR , V.MDFCN_DT , V.MDFR - , AS TODAY + , AS TODAY , (SELECT GET_CODE_NM('FIM054', V.TASK_SE_CD) FROM DUAL) AS TASK_SE_NM FROM TB_VLTN V @@ -153,9 +153,9 @@ , #{vltn.operItemNm} , #{vltn.spclBizCd} , 'Y' - , + , , #{vltn.createdBy} - , + , , #{vltn.modifiedBy} ) @@ -174,7 +174,7 @@ , OPER_ITEM_CD = #{vltn.operItemCd} , OPER_ITEM_NM = #{vltn.operItemNm} , SPCL_BIZ_CD = #{vltn.spclBizCd} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{vltn.modifiedBy} WHERE VLTN_ID = #{vltn.vltnId} AND USE_YN = 'Y' @@ -183,7 +183,7 @@ /* 위반 정보 삭제(vltnMapper.deleteVltn) */ UPDATE TB_VLTN SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{vltn.modifiedBy} WHERE VLTN_ID = #{vltn.vltnId} AND USE_YN = 'Y' diff --git a/src/main/resources/sql/mapper/fims/numbering.xml b/src/main/resources/sql/mapper/fims/numbering.xml index ee494cd1..45e3be61 100644 --- a/src/main/resources/sql/mapper/fims/numbering.xml +++ b/src/main/resources/sql/mapper/fims/numbering.xml @@ -16,15 +16,15 @@ FROM DUAL -SELECT CONCAT(, LPAD(CAST( +SELECT CONCAT(, LPAD(CAST( CASE WHEN (SELECT MAX(SUBSTRING(${TABLE_KEY}, 4+1)) + 1 FROM ${TABLE_NAME} - WHERE ${TABLE_KEY} LIKE CONCAT(, '%')) IS NULL OR + WHERE ${TABLE_KEY} LIKE CONCAT(, '%')) IS NULL OR (SELECT MAX(SUBSTRING(${TABLE_KEY}, 4+1)) + 1 FROM ${TABLE_NAME} - WHERE ${TABLE_KEY} LIKE CONCAT(, '%')) = '' + WHERE ${TABLE_KEY} LIKE CONCAT(, '%')) = '' THEN 1 ELSE (SELECT MAX(SUBSTRING(${TABLE_KEY}, 4+1)) + 1 FROM ${TABLE_NAME} - WHERE ${TABLE_KEY} LIKE CONCAT(, '%')) + WHERE ${TABLE_KEY} LIKE CONCAT(, '%')) END AS INT), ${pad}-4, '0')) AS NEW_ID @@ -32,15 +32,15 @@ FROM DUAL -SELECT CONCAT(${sggCd}, , LPAD(CAST( +SELECT CONCAT(${sggCd}, , LPAD(CAST( CASE WHEN (SELECT MAX(SUBSTRING(${TABLE_KEY}, 9+1)) + 1 FROM ${TABLE_NAME} - WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, , '%')) IS NULL OR + WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, , '%')) IS NULL OR (SELECT MAX(SUBSTRING(${TABLE_KEY}, 9+1)) + 1 FROM ${TABLE_NAME} - WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, , '%')) = '' + WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, , '%')) = '' THEN 1 ELSE (SELECT MAX(SUBSTRING(${TABLE_KEY}, 9+1)) + 1 FROM ${TABLE_NAME} - WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, , '%')) + WHERE ${TABLE_KEY} LIKE CONCAT(${sggCd}, , '%')) END AS INT), ${pad}-9, '0')) AS NEW_ID diff --git a/src/main/resources/sql/mapper/fims/nxrp/nisA01-mapper.xml b/src/main/resources/sql/mapper/fims/nxrp/nisA01-mapper.xml index bcbd1b22..c8022136 100644 --- a/src/main/resources/sql/mapper/fims/nxrp/nisA01-mapper.xml +++ b/src/main/resources/sql/mapper/fims/nxrp/nisA01-mapper.xml @@ -201,19 +201,19 @@ /* 과태료 대장 단속 정보 등록 등록(nisIndivA01Mapper.insertNisIndivA01) */ @@ -408,9 +408,9 @@ , #{nisIndivA01.linkRstDt} , #{nisIndivA01.linkRstCd} , #{nisIndivA01.linkRstMsg} - , + , , #{currentUser.id} - , + , , #{currentUser.id} ) @@ -505,7 +505,7 @@ , LINK_RST_DT = #{nisIndivA01.linkRstDt} , LINK_RST_CD = #{nisIndivA01.linkRstCd} , LINK_RST_MSG = #{nisIndivA01.linkRstMsg} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{levyExcl.modifiedBy} WHERE A01_ID = #{nisIndivA01.a01Id} @@ -513,7 +513,7 @@ /* 과태료 대장 단속 정보 등록 삭제(nisIndivA01Mapper.deleteNisIndivA01) */ UPDATE TB_NIS_INDIV_A01 SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE A01_ID = #{nisIndivA01.a01Id} @@ -608,7 +608,7 @@ , PA.WHOL_ADDR , (GET_MASK_DATETIME(C.CRDN_YMD, '-', C.CRDN_TM, ':')) AS CRDN_YMD_TM_MASK , (SELECT RDCT_RSN_CD FROM TB_RDCT X WHERE X.CRDN_ID = C.CRDN_ID AND X.DEL_YN = 'N') AS RDCT_RSN_CD - , AS TODAY + , AS TODAY FROM TB_CRDN C INNER JOIN TB_CRDN_ADI CA ON (C.CRDN_ID = CA.CRDN_ID) INNER JOIN TB_VLTN V ON (C.VLTN_ID = V.VLTN_ID) diff --git a/src/main/resources/sql/mapper/fims/nxrp/nisA02-mapper.xml b/src/main/resources/sql/mapper/fims/nxrp/nisA02-mapper.xml index a11edfee..53ee7b2b 100644 --- a/src/main/resources/sql/mapper/fims/nxrp/nisA02-mapper.xml +++ b/src/main/resources/sql/mapper/fims/nxrp/nisA02-mapper.xml @@ -239,19 +239,19 @@ /* 과태료 대장 등록 자료 일괄 조회 등록(nisIndivA02Mapper.insertNisIndivA02) */ @@ -477,9 +477,9 @@ INSERT INTO TB_NIS_INDIV_A02 ( , #{nisIndivA02.taskAplcnDt} , #{nisIndivA02.taskAplcnCd} , #{nisIndivA02.taskAplcnMsg} - , + , , #{currentUser.id} - , + , , #{currentUser.id} ) @@ -592,14 +592,14 @@ UPDATE TB_NIS_INDIV_A02 SET , TASK_APLCN_DT = #{nisIndivA02.taskAplcnDt} , TASK_APLCN_CD = #{nisIndivA02.taskAplcnCd} , TASK_APLCN_MSG = #{nisIndivA02.taskAplcnMsg} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE A02_ID = #{nisIndivA02.a02Id} /* 과태료 대장 등록 자료 일괄 조회 삭제(nisIndivA02Mapper.deleteNisIndivA02) */ UPDATE TB_NIS_INDIV_A02 SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE A02_ID = #{nisIndivA02.a02Id} diff --git a/src/main/resources/sql/mapper/fims/nxrp/nisA03-mapper.xml b/src/main/resources/sql/mapper/fims/nxrp/nisA03-mapper.xml index 772f63c4..3ac31666 100644 --- a/src/main/resources/sql/mapper/fims/nxrp/nisA03-mapper.xml +++ b/src/main/resources/sql/mapper/fims/nxrp/nisA03-mapper.xml @@ -247,19 +247,19 @@ /* 과태료 대장 등록 자료 상세 조회 등록(nisIndivA03Mapper.insertNisIndivA03) */ @@ -493,9 +493,9 @@ INSERT INTO TB_NIS_INDIV_A03 ( , #{nisIndivA03.taskAplcnDt} , #{nisIndivA03.taskAplcnCd} , #{nisIndivA03.taskAplcnMsg} - , + , , #{currentUser.id} - , + , , #{currentUser.id} ) @@ -612,14 +612,14 @@ UPDATE TB_NIS_INDIV_A03 SET , TASK_APLCN_DT = #{nisIndivA03.taskAplcnDt} , TASK_APLCN_CD = #{nisIndivA03.taskAplcnCd} , TASK_APLCN_MSG = #{nisIndivA03.taskAplcnMsg} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE A03_ID = #{nisIndivA03.a03Id} /* 과태료 대장 등록 자료 상세 조회 삭제(nisIndivA03Mapper.deleteNisIndivA03) */ UPDATE TB_NIS_INDIV_A03 SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE A03_ID = #{nisIndivA03.a03Id} diff --git a/src/main/resources/sql/mapper/fims/payer-mapper.xml b/src/main/resources/sql/mapper/fims/payer-mapper.xml index 93efaf87..0683c46f 100644 --- a/src/main/resources/sql/mapper/fims/payer-mapper.xml +++ b/src/main/resources/sql/mapper/fims/payer-mapper.xml @@ -66,13 +66,13 @@ /* 납부자 대장 등록(payerMapper.insertPayer) */ @@ -131,9 +131,9 @@ , #{payer.rtpyrEml} , #{payer.rtpyrBrdt} , #{payer.rtpyrSttsCd} - , + , , #{payer.createdBy} - , + , , #{payer.modifiedBy} FROM DUAL WHERE NOT EXISTS ( @@ -154,7 +154,7 @@ , RTPYR_MBL_TELNO = #{payer.rtpyrMblTelno} , RTPYR_EML = #{payer.rtpyrEml} , RTPYR_STTS_CD = #{payer.rtpyrSttsCd} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{payer.modifiedBy} WHERE RTPYR_ID = #{payer.rtpyrId} @@ -239,7 +239,7 @@ AND C.DEL_YN = 'N' - + /* 납부자 이력 대장 객체 가져오기(payerMapper.selectPayerHstrys) */ WHERE CPH.CRDN_ID = #{crdnId} - + diff --git a/src/main/resources/sql/mapper/fims/payerAddr-mapper.xml b/src/main/resources/sql/mapper/fims/payerAddr-mapper.xml index f5179260..fb1de76a 100644 --- a/src/main/resources/sql/mapper/fims/payerAddr-mapper.xml +++ b/src/main/resources/sql/mapper/fims/payerAddr-mapper.xml @@ -61,14 +61,14 @@ /* 납부자 주소 등록(payerAddrMapper.insertPayerAddr) */ @@ -197,16 +197,16 @@ , #{spclHo} , #{spclAddr} , #{wholAddr} - , + , , #{createdBy} - , + , , #{modifiedBy} ) /* 납부자 주소 수정(payerAddrMapper.updatePayerAddr) */ UPDATE TB_PAYER_ADDR - SET MDFCN_DT = + SET MDFCN_DT = , MDFR = #{modifiedBy} WHERE RTPYR_ID = #{rtpyrId} AND ADDR_SN = #{addrSn} @@ -245,7 +245,7 @@ WHERE CPAH.CRDN_ID = #{crdnId} AND CPAH.RTPYR_ID = #{rtpyrId} - + diff --git a/src/main/resources/sql/mapper/fims/rcvm/rcvmt-mapper.xml b/src/main/resources/sql/mapper/fims/rcvm/rcvmt-mapper.xml index f64c8d66..612e47ea 100644 --- a/src/main/resources/sql/mapper/fims/rcvm/rcvmt-mapper.xml +++ b/src/main/resources/sql/mapper/fims/rcvm/rcvmt-mapper.xml @@ -129,7 +129,7 @@ @@ -342,13 +342,13 @@ AND R.DEL_YN = #{delYn} - + /* 수납 대장 수납취소 정보 수정(rcvmtMapper.updateRcvmtRtrcn) */ UPDATE TB_RCVMT SET RCVMT_RTRCN_YN = #{rcvmtRtrcnYn} - , RCVMT_RTRCN_DT = + , RCVMT_RTRCN_DT = , RCVMT_RTRCN_RSN = #{rcvmtRtrcnRsn} , MDFCN_DT = #{lastModified} , MDFR = #{modifiedBy} @@ -529,7 +529,7 @@ AND L.DEL_YN = 'N' - + diff --git a/src/main/resources/sql/mapper/fims/rdca/rdcamt-mapper.xml b/src/main/resources/sql/mapper/fims/rdca/rdcamt-mapper.xml index cd73d34a..532c38e8 100644 --- a/src/main/resources/sql/mapper/fims/rdca/rdcamt-mapper.xml +++ b/src/main/resources/sql/mapper/fims/rdca/rdcamt-mapper.xml @@ -85,17 +85,17 @@ /* 감액 대장 등록(rdcamtMapper.insertRdamt) */ @@ -138,9 +138,9 @@ , #{rdamt.rdamtRtrcnYmd} , #{rdamt.rdamtRtrcnRsn} , 'N' - , + , , #{rdamt.createdBy} - , + , , #{rdamt.modifiedBy} ) @@ -157,7 +157,7 @@ , RDAMT_RTRCN_YN = #{rdamt.rdamtRtrcnYn} , RDAMT_RTRCN_YMD = #{rdamt.rdamtRtrcnYmd} , RDAMT_RTRCN_RSN = #{rdamt.rdamtRtrcnRsn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{rdamt.modifiedBy} WHERE RDAMT_ID = #{rdamt.rdamtId} AND DEL_YN = 'N' @@ -166,7 +166,7 @@ /* 감액 대장 삭제(rdamtMapper.deleteRdamt) */ UPDATE TB_RDAMT SET DEL_YN = 'Y' - , DEL_DT = + , DEL_DT = , DLTR = #{rdamt.modifiedBy} , DEL_RSN = #{rdamt.delRsn} WHERE RDAMT_ID = #{rdamt.rdamtId} diff --git a/src/main/resources/sql/mapper/fims/rent/hirer-mapper.xml b/src/main/resources/sql/mapper/fims/rent/hirer-mapper.xml index 9c88f58e..2ec018d0 100644 --- a/src/main/resources/sql/mapper/fims/rent/hirer-mapper.xml +++ b/src/main/resources/sql/mapper/fims/rent/hirer-mapper.xml @@ -71,16 +71,16 @@ FROM TB_HIRER + + + /* 임차인 정보 등록(hirerMapper.insertHirer) */ INSERT INTO TB_HIRER ( @@ -136,9 +136,9 @@ INSERT INTO TB_HIRER ( , #{hirer.atchFileDltr} , #{hirer.atchFileDelIp} , #{hirer.delYn} - , + , , #{currentUser.id} - , + , , #{currentUser.id} , #{hirer.removedAt} , #{hirer.removedBy} @@ -168,7 +168,7 @@ UPDATE TB_HIRER SET , ATCH_FILE_DLTR = #{hirer.atchFileDltr} , ATCH_FILE_DEL_IP = #{hirer.atchFileDelIp} , DEL_YN = #{hirer.delYn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} , DEL_DT = #{hirer.removedAt} , DLTR = #{hirer.removedBy} @@ -178,7 +178,7 @@ UPDATE TB_HIRER SET /* 임차인 정보 삭제(hirerMapper.deleteHirer) */ UPDATE TB_HIRER SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE HIRER_ID = #{hirer.hirerId} diff --git a/src/main/resources/sql/mapper/fims/rent/lsct-mapper.xml b/src/main/resources/sql/mapper/fims/rent/lsct-mapper.xml index 75b82876..1767d01e 100644 --- a/src/main/resources/sql/mapper/fims/rent/lsct-mapper.xml +++ b/src/main/resources/sql/mapper/fims/rent/lsct-mapper.xml @@ -146,7 +146,7 @@ AND MM_TASKGB = #{taskSeCd} - + /* 임대차계약 대장 목록 조회(lsctMapper.selectLsctList) */ - + @@ -393,8 +393,8 @@ AND C.DEL_YN = 'N' - - + + @@ -433,7 +433,7 @@ /* 임대차계약 대장 등록(lsctMapper.insertLsct) */ @@ -500,9 +500,9 @@ , #{lsct.chgAprvRsn} , #{lsct.chgAprvIp} , #{lsct.delYn} - , + , , #{currentUser.id} - , + , , #{currentUser.id} , #{lsct.removedAt} , #{lsct.removedBy} @@ -538,7 +538,7 @@ , CHG_APRV_RSN = #{lsct.chgAprvRsn} , CHG_APRV_IP = #{lsct.chgAprvIp} , DEL_YN = #{lsct.delYn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} , DEL_DT = #{lsct.removedAt} , DLTR = #{lsct.removedBy} @@ -549,7 +549,7 @@ /* 임대차계약 대장 삭제(lsctMapper.deleteLsct) */ UPDATE TB_LSCT SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE LSCT_ID = #{lsct.lsctId} diff --git a/src/main/resources/sql/mapper/fims/rent/rentEnt-mapper.xml b/src/main/resources/sql/mapper/fims/rent/rentEnt-mapper.xml index a0548906..2b1c2998 100644 --- a/src/main/resources/sql/mapper/fims/rent/rentEnt-mapper.xml +++ b/src/main/resources/sql/mapper/fims/rent/rentEnt-mapper.xml @@ -53,7 +53,7 @@ /* 임대 기업 대장 등록(rentEntMapper.insertRentEnt) */ @@ -145,9 +145,9 @@ , #{entAddr} , #{entDtlAddr} , 'N' - , + , , #{createdBy} - , + , , #{modifiedBy} , NULL , NULL @@ -167,7 +167,7 @@ , ENT_ZIP = #{entZip} , ENT_ADDR = #{entAddr} , ENT_DTL_ADDR = #{entDtlAddr} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE ENT_ID = #{entId} AND DEL_YN = 'N' @@ -176,7 +176,7 @@ /* 임대 기업 대장 삭제(rentEntMapper.deleteRentEnt) */ UPDATE TB_RENT_ENT SET DEL_YN = 'Y' - , DEL_DT = + , DEL_DT = , DLTR = #{modifiedBy} , DEL_RSN = #{delRsn} WHERE ENT_ID = #{entId} diff --git a/src/main/resources/sql/mapper/fims/rent/userRentEntMpng-mapper.xml b/src/main/resources/sql/mapper/fims/rent/userRentEntMpng-mapper.xml index 0baf768c..0aa99758 100644 --- a/src/main/resources/sql/mapper/fims/rent/userRentEntMpng-mapper.xml +++ b/src/main/resources/sql/mapper/fims/rent/userRentEntMpng-mapper.xml @@ -48,7 +48,7 @@ /* 사용자 임대 기업 매핑 등록(userRentEntMpngMapper.insertUserRentEntMpng) */ @@ -115,9 +115,9 @@ , #{userId} , #{entId} , 'N' - , + , , #{createdBy} - , + , , #{modifiedBy} ) @@ -125,7 +125,7 @@ /* 사용자 임대 기업 매핑 삭제(userRentEntMpngMapper.deleteUserRentEntMpng) */ UPDATE TB_USER_RENT_ENT_MPNG SET DEL_YN = 'Y' - , DEL_DT = + , DEL_DT = , DLTR = #{modifiedBy} diff --git a/src/main/resources/sql/mapper/fims/sndb/sndng-mapper.xml b/src/main/resources/sql/mapper/fims/sndb/sndng-mapper.xml index eb39a129..ea2b3c8c 100644 --- a/src/main/resources/sql/mapper/fims/sndb/sndng-mapper.xml +++ b/src/main/resources/sql/mapper/fims/sndb/sndng-mapper.xml @@ -67,9 +67,9 @@ , S.RGTR , S.MDFCN_DT , S.MDFR - , AS TODAY - , GET_MASK_DATE(, 'K') AS TODAY_MASK - , AS NOW + , AS TODAY + , GET_MASK_DATE(, 'K') AS TODAY_MASK + , AS NOW , (SELECT GET_CODE_NM('FIM054', S.TASK_SE_CD) FROM DUAL) AS TASK_SE_NM , (SELECT GET_CODE_NM('FIM067', S.SNDNG_REG_SE_CD) FROM DUAL) AS SNDNG_REG_SE_NM , (SELECT GET_CODE_NM('FIM047', S.SNDNG_SE_CD) FROM DUAL) AS SNDNG_SE_NM @@ -81,7 +81,7 @@ @@ -408,26 +408,26 @@ @@ -626,27 +626,27 @@ @@ -737,20 +737,20 @@ @@ -904,7 +904,7 @@ AND C.DEL_YN = 'N' - + /* 발송 대장 등록(sndngMapper.insertSndng) */ @@ -971,9 +971,9 @@ , #{sndngSttsCd} , #{rsndYn} , #{delYn} - , + , , #{createdBy} - , + , , #{modifiedBy} ) @@ -996,7 +996,7 @@ , EPOST_NOTICE_ID = #{epostNoticeId} , SNDNG_STTS_CD = #{sndngSttsCd} , RSND_YN = #{rsndYn} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE SNDNG_ID = #{sndngId} AND DEL_YN = 'N' @@ -1005,7 +1005,7 @@ /* 발송 대장 삭제(sndngMapper.deleteSndng) */ UPDATE TB_SNDNG SET DEL_YN = 'Y' - , DEL_DT = + , DEL_DT = , DLTR = #{modifiedBy} , DEL_RSN = #{delRsn} WHERE SNDNG_ID = #{sndngId} @@ -1015,7 +1015,7 @@ /* 발송 대장 정보의 발송 상태 코드를 수정(sndngMapper.updateSndngSttsCd) */ UPDATE TB_SNDNG SET SNDNG_STTS_CD = #{sndngSttsCd} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE SNDNG_ID = #{sndngId} AND DEL_YN = 'N' @@ -1026,7 +1026,7 @@ SET CON_KEY = #{sndng.conKey} , DIV_KB = #{sndng.divKb} , EPOST_NOTICE_ID = #{sndng.epostNoticeId} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{sndng.modifiedBy} WHERE SNDNG_ID = #{sndng.sndngId} AND DEL_YN = 'N' diff --git a/src/main/resources/sql/mapper/fims/sndb/sndngDtl-mapper.xml b/src/main/resources/sql/mapper/fims/sndb/sndngDtl-mapper.xml index b69478a9..4cecb570 100644 --- a/src/main/resources/sql/mapper/fims/sndb/sndngDtl-mapper.xml +++ b/src/main/resources/sql/mapper/fims/sndb/sndngDtl-mapper.xml @@ -226,7 +226,7 @@ /* 반송 목록 조회(sndngDtlMapper.selectSndbkList) */ - + SELECT SD.SNDNG_DTL_ID , SD.SVBTC_ID , SD.SNDNG_SE_CD @@ -808,8 +808,8 @@ , P.RTPYR_NO , P.RTPYR_NM - - + + @@ -947,7 +947,7 @@ @@ -1005,7 +1005,7 @@ AND SD.DEL_YN = 'N' - + /* 발송상세의 반송 정보 등록(sndngDtlMapper.createSndbk) */ @@ -1016,7 +1016,7 @@ , UNDLVR_RSN_CD = #{undlvrRsnCd} , UNDLVR_RSN_NM = #{undlvrRsnNm} , SNDNG_DTL_STTS_CD= #{sndngDtlSttsCd} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} @@ -1039,7 +1039,7 @@ , DLVR_TM = #{dlvrTm} , UNDLVR_RSN_CD = #{undlvrRsnCd} , UNDLVR_RSN_NM = #{undlvrRsnNm} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} @@ -1064,7 +1064,7 @@ , UNDLVR_RSN_CD = NULL , UNDLVR_RSN_NM = NULL , SNDNG_DTL_STTS_CD= #{sndngDtlSttsCd} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} @@ -1091,7 +1091,7 @@ SET BFR_SNDNG_DTL_STTS_CD = SNDNG_DTL_STTS_CD , SNDNG_DTL_STTS_CD= #{sndngDtlSttsCd} , SVBTC_ID = #{svbtcId} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE SNDNG_DTL_ID = #{sndngDtlId} AND DEL_YN = 'N' @@ -1102,7 +1102,7 @@ SET SVBTC_ID = NULL , BFR_SNDNG_DTL_STTS_CD = SNDNG_DTL_STTS_CD , SNDNG_DTL_STTS_CD= #{sndngDtlSttsCd} - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{modifiedBy} WHERE SVBTC_ID = #{svbtcId} diff --git a/src/main/resources/sql/mapper/fims/sndb/sndngHstry-mapper.xml b/src/main/resources/sql/mapper/fims/sndb/sndngHstry-mapper.xml index 669538cd..5d07155c 100644 --- a/src/main/resources/sql/mapper/fims/sndb/sndngHstry-mapper.xml +++ b/src/main/resources/sql/mapper/fims/sndb/sndngHstry-mapper.xml @@ -41,16 +41,16 @@ FROM TB_SNDNG_HSTRY + + + /* 발송 이력 등록(sndngHstryMapper.insertSndngHstry) */ INSERT INTO TB_SNDNG_HSTRY ( @@ -81,7 +81,7 @@ INSERT INTO TB_SNDNG_HSTRY ( , #{sndngHstry.dlvrRsltCd} , #{sndngHstry.undlvrRsnCd} , #{sndngHstry.undlvrRsnNm} - , + , , #{currentUser.id} ) @@ -103,7 +103,7 @@ UPDATE TB_SNDNG_HSTRY SET /* 발송 이력 삭제(sndngHstryMapper.deleteSndngHstry) */ UPDATE TB_SNDNG_HSTRY SET USE_YN = 'N' - , MDFCN_DT = + , MDFCN_DT = , MDFR = #{currentUser.id} WHERE SNDNG_HSTRY_ID = #{sndngHstry.sndngHstryId} diff --git a/src/main/resources/sql/mapper/fims/sndb/svbtc-mapper.xml b/src/main/resources/sql/mapper/fims/sndb/svbtc-mapper.xml index a2f9d55b..4481a3a7 100644 --- a/src/main/resources/sql/mapper/fims/sndb/svbtc-mapper.xml +++ b/src/main/resources/sql/mapper/fims/sndb/svbtc-mapper.xml @@ -52,7 +52,7 @@ @@ -203,7 +203,7 @@ /* 민원 상담 내용 목록 조회(cvlcptDscsnCnMapper.selectCvlcptDscsnList) */ - + @@ -85,8 +85,8 @@ AND CD.DEL_YN = 'N' - - + + diff --git a/src/main/resources/sql/mapper/fims/sprt/media-mapper.xml b/src/main/resources/sql/mapper/fims/sprt/media-mapper.xml index 69d5662c..21412b87 100644 --- a/src/main/resources/sql/mapper/fims/sprt/media-mapper.xml +++ b/src/main/resources/sql/mapper/fims/sprt/media-mapper.xml @@ -51,9 +51,9 @@ SELECT #{newMoscId} , MOSC_LEN , MOSC_HGT , 'N' - , + , , #{currentUser.id} - , + , , #{currentUser.id} FROM TB_FILE_MOSC WHERE FILE_ID = #{oldFileId} diff --git a/src/main/resources/sql/mapper/interfaces/emailRequest-mapper.xml b/src/main/resources/sql/mapper/interfaces/emailRequest-mapper.xml index f0d64dba..ec48e5e5 100644 --- a/src/main/resources/sql/mapper/interfaces/emailRequest-mapper.xml +++ b/src/main/resources/sql/mapper/interfaces/emailRequest-mapper.xml @@ -244,7 +244,7 @@ SELECT CON_ORG , #{emailRequest.rceptYmd} , #{emailRequest.delYn} - , + , , #{currentUser.id} , #{emailRequest.removedAt} , #{emailRequest.removedBy} @@ -440,7 +440,7 @@ UPDATE TB_EPOST_RCPT_REG SET /* 전자우편 신청 삭제(emailRequestMapper.deleteRequest) */ UPDATE TB_EPOST_RCPT_REG SET DEL_YN = 'Y' - , DEL_DT = + , DEL_DT = , DLTR = #{currentUser.id} WHERE CON_KEY IN (#{conKey}) @@ -586,14 +586,14 @@ UPDATE TB_EPOST_RCPT_REG SET FROM TB_EPOST_RCPT_DTL + + + /* 전자우편 신청 상세 등록(emailRequestMapper.insertRequestDetail) */ INSERT INTO TB_EPOST_RCPT_DTL ( @@ -739,7 +739,7 @@ INSERT INTO TB_EPOST_RCPT_DTL ( , #{emailRequestDetail.dtlVarData5} , #{emailRequestDetail.dlvrRsltId} , #{emailRequestDetail.makeRsltCd} - , + , , #{currentUser.id} , #{emailRequestDetail.vractno} ) diff --git a/src/main/resources/sql/mapper/interfaces/emailResult-mapper.xml b/src/main/resources/sql/mapper/interfaces/emailResult-mapper.xml index 73a2c9b4..2762a800 100644 --- a/src/main/resources/sql/mapper/interfaces/emailResult-mapper.xml +++ b/src/main/resources/sql/mapper/interfaces/emailResult-mapper.xml @@ -10,7 +10,7 @@ /* 전자우편 신청 수신 결과 등록(emailResultMapper.insertReceptionResult) */ SELECT IFNULL(MAX(RCPTN_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID - FROM TB_EPOST_RCPTN_RSLT A, () B + FROM TB_EPOST_RCPTN_RSLT A, () B WHERE RCPTN_RSLT_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_EPOST_RCPTN_RSLT ( RCPTN_RSLT_ID @@ -54,7 +54,7 @@ SELECT #{rcptnRsltId} /* 전자우편 신청 접수 결과 등록(emailResultMapper.insertRegistrationResult) */ SELECT IFNULL(MAX(RCPT_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID - FROM TB_EPOST_RCPT_RSLT A, () B + FROM TB_EPOST_RCPT_RSLT A, () B WHERE RCPT_RSLT_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_EPOST_RCPT_RSLT ( RCPT_RSLT_ID @@ -130,7 +130,7 @@ SELECT #{conKey} /* 전자우편 배달 결과 등록(emailResultMapper.insertDeliveryResult) */ SELECT IFNULL(MAX(DLVR_RSLT_ID) + 1, CONCAT(TODAY, '0000001')) NEW_ID - FROM TB_EPOST_DLVR_RSLT A, () B + FROM TB_EPOST_DLVR_RSLT A, () B WHERE DLVR_RSLT_ID LIKE CONCAT(TODAY, '%') INSERT INTO TB_EPOST_DLVR_RSLT ( DLVR_RSLT_ID @@ -167,7 +167,7 @@ INSERT INTO TB_EPOST_DLVR_RSLT ( ) + + /* 전자우편 신청결과 로그 등록(emailResultMapper.insertResultLogs) */ INSERT INTO TB_EPOST_PROC_LOG ( diff --git a/src/main/resources/sql/mapper/interfaces/smg-mapper.xml b/src/main/resources/sql/mapper/interfaces/smg-mapper.xml index 19f9689c..9fe8888c 100644 --- a/src/main/resources/sql/mapper/interfaces/smg-mapper.xml +++ b/src/main/resources/sql/mapper/interfaces/smg-mapper.xml @@ -204,7 +204,7 @@ INSERT INTO TB_ESB_INTERFACE ( , #{pcdGubun3V} , #{petiPathGubunC} , #{originalFilename} - , + , , #{createdBy} ) @@ -362,9 +362,9 @@ INSERT INTO TB_ESB_INTERFACE_TRSM ( , #{reply.sendInterfaceSeqN} , #{reply.sendStatus} , #{reply.sendStatusMsg} - , + , , #{currentUser.id} - , + , , #{currentUser.id} ) diff --git a/src/main/resources/sql/mapper/interfaces/vehicleInfo-mapper.xml b/src/main/resources/sql/mapper/interfaces/vehicleInfo-mapper.xml index 6a595345..831363bd 100644 --- a/src/main/resources/sql/mapper/interfaces/vehicleInfo-mapper.xml +++ b/src/main/resources/sql/mapper/interfaces/vehicleInfo-mapper.xml @@ -207,11 +207,11 @@ SELECT CASE WHEN LENGTH(STDG_LI_NM) > 0 THEN /* vehicleInfoMapper.insertBasicInfo(자동차 기본사항 조회 로그 등록) */ SELECT CONCAT( - + , LPAD(NVL(SUBSTRING(MAX(BSC_MTTR_ID), 9) + 1, 1), 22, '0') ) NEW_ID FROM TB_CAR_BSC_MTTR TCBM - WHERE BSC_MTTR_ID LIKE CONCAT(, '%') + WHERE BSC_MTTR_ID LIKE CONCAT(, '%') INSERT INTO TB_CAR_BSC_MTTR ( BSC_MTTR_ID , MESSAGEID @@ -418,7 +418,7 @@ INSERT INTO TB_CAR_BSC_MTTR ( , #{info.process_imprty_resn_code} , #{info.process_imprty_resn_dtls} - , + , , #{currentUser.id} ) @@ -617,11 +617,11 @@ SELECT PRYE /* vehicleInfoMapper.insertExtInfo(자동차 연료제원 포함 기본사항 조회 로그 등록) */ SELECT CONCAT( - + , LPAD(NVL(SUBSTRING(MAX(BSC_MTTR_ID), 9) + 1, 1), 22, '0') ) NEW_ID FROM TB_CAR_BSC_MTTR TCBM - WHERE BSC_MTTR_ID LIKE CONCAT(, '%') + WHERE BSC_MTTR_ID LIKE CONCAT(, '%') INSERT INTO TB_CAR_BSC_MTTR ( BSC_MTTR_ID , MESSAGEID @@ -834,7 +834,7 @@ INSERT INTO TB_CAR_BSC_MTTR ( , #{info.process_imprty_resn_code} , #{info.process_imprty_resn_dtls} - , + , , #{currentUser.id} )