Пример #1
0
 /**
  * Operation of HQ pay to ASC
  *
  * @param request HttpServletRequest
  * @param form ActionForm
  * @return String Return operation result
  */
 public String submit(HttpServletRequest request, ActionForm form) {
   String forward = "resultMessage";
   try {
     HttpSession session = request.getSession();
     Long chargeStaffId = (Long) session.getAttribute("userId");
     String chks = (String) request.getParameter("id");
     String remark = request.getParameter("remark");
     // HQPayToASCBO hqb = new HQPayToASCBO();
     int tag = hqPayToASCBO.hqPayToASC(chks, chargeStaffId, remark);
     request.setAttribute("tag", tag + "");
     request.setAttribute("businessFlag", "hqPayToASC");
   } catch (VersionException ve) {
     forward = "versionErr";
   } catch (Exception e) {
     e.printStackTrace();
   }
   return forward;
 }