diff --git a/src/main/java/xit/vips/category/rev/rev010101/web/Rev010101Controller.java b/src/main/java/xit/vips/category/rev/rev010101/web/Rev010101Controller.java
index 14afcb0..a3cd974 100644
--- a/src/main/java/xit/vips/category/rev/rev010101/web/Rev010101Controller.java
+++ b/src/main/java/xit/vips/category/rev/rev010101/web/Rev010101Controller.java
@@ -388,12 +388,9 @@ public class Rev010101Controller {
rev010101Service.addAnytmLevyProc(vo);
result = true;
break;
- case "disableDriveSave":
+ case "disableDriveSave": case"disableDriveDelete":
rev010101Service.addDriveDisable(jsonArr, mode);
break;
- /*case "disableDriveDelete":
- rev010101Service.deleteDriveDisable(jsonArr, mode);
- break;*/
default:
throw new RuntimeException("유효하지 않은 처리 요청 입니다.");
}
diff --git a/src/main/resources/xit/sqlmap/oracle/vips/CmmnFindByCategory_SQL.xml b/src/main/resources/xit/sqlmap/oracle/vips/CmmnFindByCategory_SQL.xml
index 7bd36ca..5549349 100644
--- a/src/main/resources/xit/sqlmap/oracle/vips/CmmnFindByCategory_SQL.xml
+++ b/src/main/resources/xit/sqlmap/oracle/vips/CmmnFindByCategory_SQL.xml
@@ -1252,15 +1252,21 @@
AND EXISTS (
SELECT 1
- FROM TB_REGIST_VIOLT_VHCLE_STTS SA
- LEFT OUTER JOIN TB_DISABLE_DRIVE TDD on (SA.ATDRC_CD=TDD.ATDRC_CD and SA.VIOLT_IEM_CD=TDD.VIOLT_IEM_CD and SA.MANAGE_YEAR=TDD.MANAGE_YEAR and SA.MANAGE_NO=TDD.MANAGE_NO)
+ FROM TB_REGIST_VIOLT_VHCLE_STTS sas
WHERE 1=1
- AND A.ATDRC_CD=SA.ATDRC_CD
- AND A.VIOLT_IEM_CD=SA.VIOLT_IEM_CD
- AND A.MANAGE_YEAR=SA.MANAGE_YEAR
- AND A.MANAGE_NO=SA.MANAGE_NO
- AND SA.EXP_INSPT_VALID_AT = 0
- AND (TDD.DELETE_YN != 'N' OR TDD.DELETE_YN IS NULL)
+ AND A.ATDRC_CD=sas.ATDRC_CD
+ AND A.VIOLT_IEM_CD=sas.VIOLT_IEM_CD
+ AND A.MANAGE_YEAR=sas.MANAGE_YEAR
+ AND A.MANAGE_NO=sas.MANAGE_NO
+ AND sas.EXP_INSPT_VALID_AT = 0
+ AND NOT exists (
+ SELECT 1 FROM TB_DISABLE_DRIVE tdd
+ WHERE sas.ATDRC_CD=tdd.ATDRC_CD
+ AND sas.VIOLT_IEM_CD=tdd.VIOLT_IEM_CD
+ AND sas.MANAGE_YEAR=tdd.MANAGE_YEAR
+ AND sas.MANAGE_NO=tdd.MANAGE_NO
+ AND tdd.delete_yn = 'N'
+ )
)
diff --git a/src/main/webapp/WEB-INF/jsp/xit/vips/category/rev/rev0101/rev010101/rev010101_list.jsp b/src/main/webapp/WEB-INF/jsp/xit/vips/category/rev/rev0101/rev010101/rev010101_list.jsp
index 7199c38..3242a5c 100644
--- a/src/main/webapp/WEB-INF/jsp/xit/vips/category/rev/rev0101/rev010101/rev010101_list.jsp
+++ b/src/main/webapp/WEB-INF/jsp/xit/vips/category/rev/rev0101/rev010101/rev010101_list.jsp
@@ -474,9 +474,8 @@