16

来源:互联网 发布:网络用语的意思? 编辑:程序博客网 时间:2024/04/28 11:18
 

/**
     * <更新二级审核人>
     * @param mapping
     * @param form
     * @param request
     * @param response
     * @return
     * @throws Exception [参数说明]
     * @author hongyan.cui
     * @return ActionForward [返回类型说明]
     * @exception throws [违例类型] [违例说明]
     * @see [类、类#方法、类#成员]
     */
    public ActionForward updateSecondChecker(ActionMapping mapping, ActionForm form, HttpServletRequest request,
        HttpServletResponse response) throws Exception{
            CheckerConfigFormBean checkerForm = (CheckerConfigFormBean)form;
            PrintWriter out = response.getWriter();
            //封装修改参数
            JSONObject sJson = new JSONObject();
            sJson.put("checker",checkerForm.getChecker());
            sJson.put("code", checkerForm.getCode());
            String result ="";
            if ("".equals(checkerForm.getCode()) || null == checkerForm.getCode())
            {
                result = "{\"succeed\":\"false\"}";
            }
            //调用修改审核人webservice接口
            IPoApplyWsProxy iPoApplyWsProxy=new IPoApplyWsProxy();
            iPoApplyWsProxy.updateSecondChecker(sJson.toString());
             result = "{\"succeed\":\"true\"}";

            if (null !=out)
            {
                out.print(result);
                out.close();
            }
            return null;
        }

原创粉丝点击