private void doUpdateGS(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        String yitouGSId = StringUtil.toString(request.getParameter("yitougsId"));

        if(!StringUtil.isEmpty(yitouGSId)) {
            boolean isSuccess = true;
//            ObjectMapper mapper = new ObjectMapper();
//            Map result = new HashMap();
            try {
                YiTouGS oldGS = manager.findGSById(yitouGSId);

                YiTouGS newCY = getGSModel(request, response);
                int flag = manager.updateGS(newCY);
                if(flag > 0) {
                    logger.info("#########更新公司成功，新成员是："+newCY+"\n"+"旧公司是："+oldGS);
//                    result.put("success",true);
                }else{
                    logger.info("#########更新公司失败，新成员是："+newCY+"\n"+"旧公司是："+oldGS);
//                    result.put("success",false);
                    isSuccess = false;
                }

            } catch (Exception e) {
                isSuccess = false;
                logger.error("更新公司失败", e);
            } finally {
                if(isSuccess) {
                    request.getRequestDispatcher("/admin/yitougs.do?method=viewAllGSs").forward(request,response);
                    return;
                }else{
                    request.setAttribute("errorMsg","更新已投公司失败");
                    request.getRequestDispatcher("/admin/error.jsp").forward(request,response);
                    return;
                }
            }
        }

    }