===== 2025-06-26 =====

DELETE FROM TB_EXMPTN_VHCL;

INSERT INTO TB_EXMPTN_VHCL (EXMPTN_VHCL_ID, SGG_CD, VHRNO, EXMPTN_RSN, EXMPTN_BGNG_YMD, EXMPTN_END_YMD, DEL_YN, REG_DT, RGTR, MDFCN_DT, MDFR)
SELECT EXMPTN_VHCL_ID, SGG_CD, VHRNO, EXMPTN_RSN, YMD_BGN EXMPTN_BGNG_YMD, YMD_END EXMPTN_END_YMD, 'N' DEL_YN, NOW REG_DT, USER_ID RGTR, NOW MDFCN_DT, USER_ID MDFR
 FROM (
		SELECT '0000000001' EXMPTN_VHCL_ID, '서울70사5512' VHRNO FROM DUAL UNION
		SELECT '0000000002' EXMPTN_VHCL_ID, '서울70사5509' VHRNO FROM DUAL UNION
		SELECT '0000000003' EXMPTN_VHCL_ID, '서울75사5501' VHRNO FROM DUAL UNION
		SELECT '0000000004' EXMPTN_VHCL_ID, '서울75사2008' VHRNO FROM DUAL UNION
		SELECT '0000000005' EXMPTN_VHCL_ID, '서울75사2009' VHRNO FROM DUAL UNION
		SELECT '0000000006' EXMPTN_VHCL_ID, '서울75사2010' VHRNO FROM DUAL UNION
		SELECT '0000000007' EXMPTN_VHCL_ID, '서울75사2011' VHRNO FROM DUAL UNION
		SELECT '0000000008' EXMPTN_VHCL_ID, '서울70사5505' VHRNO FROM DUAL UNION
		SELECT '0000000009' EXMPTN_VHCL_ID, '서울70사5511' VHRNO FROM DUAL UNION
		SELECT '0000000010' EXMPTN_VHCL_ID, '서울70사5534' VHRNO FROM DUAL
	  ) A,
	 (
	SELECT '11110' SGG_CD, '0000000070' USER_ID, '마을버스' EXMPTN_RSN, '20250701' YMD_BGN, '99991231' YMD_END, '20250624000001' NOW
	FROM DUAL
	  ) B;

DELETE FROM TB_EXMPTN_VHCL_HSTRY;

INSERT INTO TB_EXMPTN_VHCL_HSTRY (EXMPTN_VHCL_ID, HSTRY_SN, SGG_CD, VHRNO, EXMPTN_RSN, EXMPTN_BGNG_YMD, EXMPTN_END_YMD, DEL_YN, REG_DT, RGTR, MDFCN_DT, MDFR)
SELECT EXMPTN_VHCL_ID, HSTRY_SN, SGG_CD, VHRNO, EXMPTN_RSN, YMD_BGN EXMPTN_BGNG_YMD, YMD_END EXMPTN_END_YMD, 'N' DEL_YN, NOW REG_DT, USER_ID RGTR, NOW MDFCN_DT, USER_ID MDFR
FROM (
		SELECT '0000000001' EXMPTN_VHCL_ID, '서울70사5512' VHRNO FROM DUAL UNION
		SELECT '0000000002' EXMPTN_VHCL_ID, '서울70사5509' VHRNO FROM DUAL UNION
		SELECT '0000000003' EXMPTN_VHCL_ID, '서울75사5501' VHRNO FROM DUAL UNION
		SELECT '0000000004' EXMPTN_VHCL_ID, '서울75사2008' VHRNO FROM DUAL UNION
		SELECT '0000000005' EXMPTN_VHCL_ID, '서울75사2009' VHRNO FROM DUAL UNION
		SELECT '0000000006' EXMPTN_VHCL_ID, '서울75사2010' VHRNO FROM DUAL UNION
		SELECT '0000000007' EXMPTN_VHCL_ID, '서울75사2011' VHRNO FROM DUAL UNION
		SELECT '0000000008' EXMPTN_VHCL_ID, '서울70사5505' VHRNO FROM DUAL UNION
		SELECT '0000000009' EXMPTN_VHCL_ID, '서울70사5511' VHRNO FROM DUAL UNION
		SELECT '0000000010' EXMPTN_VHCL_ID, '서울70사5534' VHRNO FROM DUAL
	) A,
	(
	SELECT '11110' SGG_CD, '0000000070' USER_ID, '마을버스' EXMPTN_RSN, '20250701' YMD_BGN, '99991231' YMD_END, '20250624000001' NOW, '00001' HSTRY_SN
	FROM DUAL
	) B;

COMMIT;

===== 2025-06-25 =====

계고 -> 계도
fim010 / 93 
fim017 / 03
fim021 / 2
fim022 / 192
fim047 / 11
fim060 / 2

부과제외 사유
fim022
- 114 -> 단속차량 정원 미만
- 115 -> 단속차량 정원 미확인

기능분류
- dansokActions
 . /crdn/crdn06/010/vehicleReqs.do
 . /crdn/crdn06/010/uploadVehicles.do
