@RequestMapping(value = "/inspOperationDelete", method = RequestMethod.GET)
  public String inspOperationDelete(
      @ModelAttribute("inspOperationCmd") InspOperationBean inspOperationBeanDelete,
      Model model,
      HttpServletRequest request,
      HttpServletResponse response) {

    response.setCharacterEncoding("UTF-8");
    String IOSDelete = null;
    int dId = Integer.parseInt(request.getParameter("inspOperationId"));

    try {
      flag = inspOperService.deleteInspOperation(dId);

      if (flag == true) {
        session = request.getSession(false);
        Date date = new Date();
        String modifiedDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(date);
        auditLogService.setAuditLogSave(
            session.getAttribute("userId").toString(),
            "D",
            "Inspection Operation",
            "ROW",
            String.valueOf(dId),
            "1",
            modifiedDate,
            session.getAttribute("userName").toString());
        IOSDelete = "Inspection Operation Deleted Successfully";

      } else {
        IOSDelete = "Inspection Operation Deletion Failed due to Conatraint Violation";
        return "redirect:inspOperationHome.mnt?DeleteIOSFail=" + IOSDelete + "";
      }

    } catch (Exception e) {
      e.printStackTrace();
    }
    return "redirect:inspOperationHome.mnt?DeleteIOSsus=" + IOSDelete + "";
  }