diff --git a/src/main/resources/sql/mapper/lntris/lntris-A-mapper.xml b/src/main/resources/sql/mapper/lntris/lntris-A-mapper.xml index cb91380..7345448 100644 --- a/src/main/resources/sql/mapper/lntris/lntris-A-mapper.xml +++ b/src/main/resources/sql/mapper/lntris/lntris-A-mapper.xml @@ -325,7 +325,7 @@ INSERT INTO TB_NIS_INDIV_A01 ( , #{a01.request.pyrEmlAddr} , #{a01.request.pyrSttCd} , #{a01.request.pyrLotnoRoadAddrSeCd} - , #{a01.request.pyrZip} + , REPLACE(#{a01.request.pyrZip}, '-', '') , #{a01.request.pyrRoadNmCd} , #{a01.request.pyrAddrUdgdYn} , #{a01.request.pyrBmno} @@ -350,7 +350,7 @@ INSERT INTO TB_NIS_INDIV_A01 ( , #{a01.request.pyrLotnoAlAddr} , #{a01.request.glNm} , #{a01.request.glLotnoRoadAddrSeCd} - , #{a01.request.glZip} + , REPLACE(#{a01.request.glZip}, '-', '') , #{a01.request.glRoadNmCd} , #{a01.request.glAddrUdgdYn} , #{a01.request.glBmno} @@ -796,7 +796,7 @@ INSERT INTO TB_NIS_INDIV_A02 ( , #{a02.request.pyrNm} , #{a02.request.pyrSttCd} , #{a02.request.pyrSttNm} - , #{a02.request.pyrZip} + , REPLACE(#{a02.request.pyrZip}, '-', '') , #{a02.request.pyrAddr} , #{a02.request.telno} , #{a02.request.mblTelno} @@ -1290,7 +1290,7 @@ INSERT INTO TB_NIS_INDIV_A03 ( , #{a03.response.resVo1.pyrNm} , #{a03.response.resVo1.pyrSttCd} , #{a03.response.resVo1.pyrSttNm} - , #{a03.response.resVo1.pyrZip} + , REPLACE(#{a03.response.resVo1.pyrZip}, '-', '') , #{a03.response.resVo1.pyrAddr} , #{a03.response.resVo1.telno} , #{a03.response.resVo1.mblTelno} @@ -1409,7 +1409,7 @@ UPDATE TB_NIS_INDIV_A03 , PYR_NM = #{a03.response.resVo1.pyrNm} , PYR_STT_CD = #{a03.response.resVo1.pyrSttCd} , PYR_STT_NM = #{a03.response.resVo1.pyrSttNm} - , PYR_ZIP = #{a03.response.resVo1.pyrZip} + , PYR_ZIP = REPLACE(#{a03.response.resVo1.pyrZip}, '-', '') , PYR_ADDR = #{a03.response.resVo1.pyrAddr} , TELNO = #{a03.response.resVo1.telno} , MBL_TELNO = #{a03.response.resVo1.mblTelno} diff --git a/src/main/resources/sql/mapper/lntris/lntris-D-mapper.xml b/src/main/resources/sql/mapper/lntris/lntris-D-mapper.xml index 29ab71b..e40b65c 100644 --- a/src/main/resources/sql/mapper/lntris/lntris-D-mapper.xml +++ b/src/main/resources/sql/mapper/lntris/lntris-D-mapper.xml @@ -324,7 +324,7 @@ INSERT INTO TB_NIS_INDIV_D01 ( , #{d01.request.pyrEmlAddr} , #{d01.request.pyrSttCd} , #{d01.request.lotnoRoadAddrSeCd} - , #{d01.request.zip} + , REPLACE(#{d01.request.zip}, '-', '') , #{d01.request.roadNmCd} , #{d01.request.addrUdgdYn} , #{d01.request.bmno} @@ -346,7 +346,7 @@ INSERT INTO TB_NIS_INDIV_D01 ( , #{d01.request.lvyTrgtSeCd} , #{d01.request.glNm} , #{d01.request.glLotnoRoadAddrSeCd} - , #{d01.request.glZip} + , REPLACE(#{d01.request.glZip}, '-', '') , #{d01.request.glRoadNmCd} , #{d01.request.glAddrUdgdYn} , #{d01.request.glBmno} @@ -741,7 +741,7 @@ INSERT INTO TB_NIS_INDIV_D02 ( , #{d02.request.pyrEmlAddr} , #{d02.request.pyrSttCd} , #{d02.request.lotnoRoadAddrSeCd} - , #{d02.request.zip} + , REPLACE(#{d02.request.zip}, '-', '') , #{d02.request.roadNmCd} , #{d02.request.addrUdgdYn} , #{d02.request.bmno} @@ -763,7 +763,7 @@ INSERT INTO TB_NIS_INDIV_D02 ( , #{d02.request.lvyTrgtSeCd} , #{d02.request.glNm} , #{d02.request.glLotnoRoadAddrSeCd} - , #{d02.request.glZip} + , REPLACE(#{d02.request.glZip}, '-', '') , #{d02.request.glRoadNmCd} , #{d02.request.glAddrUdgdYn} , #{d02.request.glBmno} diff --git a/src/main/resources/sql/mapper/lntris/lntris-D07-mapper.xml b/src/main/resources/sql/mapper/lntris/lntris-D07-mapper.xml index 875ac22..b5ddce2 100644 --- a/src/main/resources/sql/mapper/lntris/lntris-D07-mapper.xml +++ b/src/main/resources/sql/mapper/lntris/lntris-D07-mapper.xml @@ -412,7 +412,7 @@ INSERT INTO TB_NIS_INDIV_D07A ( , #{d07a.request.pyrNm} , #{d07a.request.pyrSttCd} , #{d07a.request.pyrSttNm} - , #{d07a.request.zip} + , REPLACE(#{d07a.request.zip}, '-', '') , #{d07a.request.pyrAddr} , #{d07a.request.telno} , #{d07a.request.mblTelno}