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

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("mxmmLdg", randCarBasic.string("MXMM_LDG"));
params.put("vin", randCarBasic.string("VIN")); params.put("vin", randCarBasic.string("VIN"));
params.put("ersrRegistDe", randCarBasic.string("ERSR_REGIST_DE")); params.put("ersrRegistDe", randCarBasic.string("ERSR_REGIST_DE"));
params.put("useStrnghldLegaldongCode", randCarBasic.string("USE_STRNGHLD_LEGALDONG_CODE"));
int effected = carMapper.insertCar(params); int effected = carMapper.insertCar(params);
if(effected == 1) { if(effected == 1) {
@ -98,6 +99,7 @@ public class PissController extends AbstractController {
extInfo.put("MXMM_LDG",carInfo.string("MXMM_LDG")); extInfo.put("MXMM_LDG",carInfo.string("MXMM_LDG"));
extInfo.put("VIN",carInfo.string("VIN")); extInfo.put("VIN",carInfo.string("VIN"));
extInfo.put("ERSR_REGIST_DE",carInfo.string("ERSR_REGIST_DE")); 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); extInfo_list.add(extInfo);
carRes.put("record", extInfo_list); carRes.put("record", extInfo_list);

@ -18,6 +18,7 @@ SELECT VHRNO
, MXMM_LDG , MXMM_LDG
, VIN , VIN
, ERSR_REGIST_DE , ERSR_REGIST_DE
, USE_STRNGHLD_LEGALDONG_CODE
FROM EXTERNAL_TB_CAR FROM EXTERNAL_TB_CAR
WHERE VHRNO = #{vhrno} WHERE VHRNO = #{vhrno}
</select> </select>
@ -40,6 +41,7 @@ INSERT
, MXMM_LDG , MXMM_LDG
, VIN , VIN
, ERSR_REGIST_DE , ERSR_REGIST_DE
, USE_STRNGHLD_LEGALDONG_CODE
) )
VALUES ( VALUES (
#{vhrno} #{vhrno}
@ -57,6 +59,7 @@ VALUES (
, #{mxmmLdg} , #{mxmmLdg}
, #{vin} , #{vin}
, #{ersrRegistDe} , #{ersrRegistDe}
, #{useStrnghldLegaldongCode}
) )
</insert> </insert>

Loading…
Cancel
Save