차적 조회 테스트시 법정동 코드 조회 하도록 수정.

main
xitpc\xituser 1 week ago
parent 13f8f5da69
commit f13d644910

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

@ -18,12 +18,13 @@ SELECT VHRNO
, MXMM_LDG
, VIN
, ERSR_REGIST_DE
, USE_STRNGHLD_LEGALDONG_CODE
FROM EXTERNAL_TB_CAR
WHERE VHRNO = #{vhrno}
</select>
<insert id="insertCar">
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}
)
</insert>

Loading…
Cancel
Save