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} )