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 a3cd974..82317fc 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 @@ -314,7 +314,6 @@ public class Rev010101Controller { ,ModelMap model, HttpServletRequest request, HttpServletResponse response) throws IOException, SQLException, RuntimeException, JSONException { - JSONArray jsonArr = new JSONArray(request.getParameter("jsonArr")); boolean result = false; vo.setRegistVioltVO(registVioltVO); @@ -389,6 +388,7 @@ public class Rev010101Controller { result = true; break; case "disableDriveSave": case"disableDriveDelete": + JSONArray jsonArr = new JSONArray(request.getParameter("jsonArr")); rev010101Service.addDriveDisable(jsonArr, mode); break; default: