|
|
@ -189,11 +189,19 @@ SELECT PRYE <!-- 연식 -->
|
|
|
|
</where></select>
|
|
|
|
</where></select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectRoadNmAdres" parameterType="map" resultType="dataobject">/* vehicleInfoMapper.selectRoadNmAdres(도로명 주소 조회) */
|
|
|
|
<select id="selectRoadNmAdres" parameterType="map" resultType="dataobject">/* vehicleInfoMapper.selectRoadNmAdres(도로명 주소 조회) */
|
|
|
|
SELECT CONCAT(CTPV_NM, ' ', SGG_NM, ' ', ROAD_NM, ' ', BMNO, '-', BSNO) ROAD_NM_ADRES, ZIP
|
|
|
|
SELECT CASE WHEN LENGTH(STDG_LI_NM) > 0 THEN
|
|
|
|
FROM TB_ROAD_ADDR
|
|
|
|
CASE WHEN BSNO IS NULL OR BSNO = 0 THEN CONCAT(CTPV_NM, ' ', SGG_NM, ' ', STDG_NM, ' ', ROAD_NM, ' ', BMNO)
|
|
|
|
WHERE ROAD_NM_CD = #{roadNmCd}
|
|
|
|
ELSE CONCAT(CTPV_NM, ' ', SGG_NM, ' ', STDG_NM, ' ', ROAD_NM, ' ', BMNO, '-', BSNO)
|
|
|
|
AND BMNO = #{bmno}
|
|
|
|
END
|
|
|
|
AND BSNO = #{bsno}</select>
|
|
|
|
ELSE CASE WHEN BSNO IS NULL OR BSNO = 0 THEN CONCAT(CTPV_NM, ' ', SGG_NM, ' ', ROAD_NM, ' ', BMNO)
|
|
|
|
|
|
|
|
ELSE CONCAT(CTPV_NM, ' ', SGG_NM, ' ', ROAD_NM, ' ', BMNO, '-', BSNO)
|
|
|
|
|
|
|
|
END
|
|
|
|
|
|
|
|
END ROAD_NM_ADRES
|
|
|
|
|
|
|
|
, ZIP
|
|
|
|
|
|
|
|
FROM TB_ROAD_ADDR
|
|
|
|
|
|
|
|
WHERE ROAD_NM_CD = #{roadNmCd}
|
|
|
|
|
|
|
|
AND BMNO = #{bmno}
|
|
|
|
|
|
|
|
AND BSNO = #{bsno}</select>
|
|
|
|
|
|
|
|
|
|
|
|
<insert id="insertBasicInfo" parameterType="map">/* vehicleInfoMapper.insertBasicInfo(자동차 기본사항 조회 로그 등록) */
|
|
|
|
<insert id="insertBasicInfo" parameterType="map">/* vehicleInfoMapper.insertBasicInfo(자동차 기본사항 조회 로그 등록) */
|
|
|
|
<selectKey keyProperty="info.bsc_mttr_id" resultType="string" order="BEFORE">
|
|
|
|
<selectKey keyProperty="info.bsc_mttr_id" resultType="string" order="BEFORE">
|
|
|
|