From f13d6449106f89ecacab29cb20a82493744a7a9f Mon Sep 17 00:00:00 2001 From: "xitpc\\xituser" Date: Wed, 6 Nov 2024 17:46:08 +0900 Subject: [PATCH] =?UTF-8?q?=EC=B0=A8=EC=A0=81=20=EC=A1=B0=ED=9A=8C=20?= =?UTF-8?q?=ED=85=8C=EC=8A=A4=ED=8A=B8=EC=8B=9C=20=EB=B2=95=EC=A0=95?= =?UTF-8?q?=EB=8F=99=20=EC=BD=94=EB=93=9C=20=EC=A1=B0=ED=9A=8C=20=ED=95=98?= =?UTF-8?q?=EB=8F=84=EB=A1=9D=20=EC=88=98=EC=A0=95.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/externalsystem/piss/web/PissController.java | 2 ++ src/main/resources/sql/externalmapper/car-mapper.xml | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/main/java/externalsystem/piss/web/PissController.java b/src/main/java/externalsystem/piss/web/PissController.java index f4b08008..c8a428ff 100644 --- a/src/main/java/externalsystem/piss/web/PissController.java +++ b/src/main/java/externalsystem/piss/web/PissController.java @@ -70,6 +70,7 @@ public class PissController extends AbstractController { params.put("mxmmLdg", randCarBasic.string("MXMM_LDG")); params.put("vin", randCarBasic.string("VIN")); params.put("ersrRegistDe", randCarBasic.string("ERSR_REGIST_DE")); + params.put("useStrnghldLegaldongCode", randCarBasic.string("USE_STRNGHLD_LEGALDONG_CODE")); int effected = carMapper.insertCar(params); if(effected == 1) { @@ -98,6 +99,7 @@ public class PissController extends AbstractController { extInfo.put("MXMM_LDG",carInfo.string("MXMM_LDG")); extInfo.put("VIN",carInfo.string("VIN")); extInfo.put("ERSR_REGIST_DE",carInfo.string("ERSR_REGIST_DE")); + extInfo.put("USE_STRNGHLD_LEGALDONG_CODE",carInfo.string("USE_STRNGHLD_LEGALDONG_CODE")); extInfo_list.add(extInfo); carRes.put("record", extInfo_list); diff --git a/src/main/resources/sql/externalmapper/car-mapper.xml b/src/main/resources/sql/externalmapper/car-mapper.xml index 4c2ec81b..633ac6db 100644 --- a/src/main/resources/sql/externalmapper/car-mapper.xml +++ b/src/main/resources/sql/externalmapper/car-mapper.xml @@ -18,12 +18,13 @@ SELECT VHRNO , MXMM_LDG , VIN , ERSR_REGIST_DE + , USE_STRNGHLD_LEGALDONG_CODE FROM EXTERNAL_TB_CAR WHERE VHRNO = #{vhrno} -INSERT +INSERT INTO EXTERNAL_TB_CAR ( VHRNO , MBER_SE_CODE @@ -40,6 +41,7 @@ INSERT , MXMM_LDG , VIN , ERSR_REGIST_DE + , USE_STRNGHLD_LEGALDONG_CODE ) VALUES ( #{vhrno} @@ -57,6 +59,7 @@ VALUES ( , #{mxmmLdg} , #{vin} , #{ersrRegistDe} + , #{useStrnghldLegaldongCode} )