Esempio n. 1
0
  public String loadAuditCaseInfoByAbz001() {

    String abz001 = this.getServletRequest().getParameter("abz001");

    int start = Integer.parseInt(this.getServletRequest().getParameter("pageIndex"));
    int limit = Integer.parseInt(this.getServletRequest().getParameter("pageSize"));

    Page page = new Page(start * limit + 1, limit, -1, limit, null);

    Map<String, Object> resultVO = null;

    String result = null;

    if (StringTools.hasText(abz001)) {

      auditCaseVO.setAbz001(abz001); // 设设置案件编号

      resultVO = this.getCommonVS().queryAuditCaseWithPage(page, auditCaseVO);

      result = VOUtils.getJsonData(resultVO);

      createJSonData(result);
    }

    return AJAX;
  }
Esempio n. 2
0
  @Override
  protected String operate() {

    String id = getServletRequest().getParameter("id");
    DxzbVO resultVO = f10402007VS.find(id);

    return VOUtils.getJsonData(resultVO);
  }
  public String toCenterBreAuditDetail() {

    int start = Integer.parseInt(this.getServletRequest().getParameter("pageIndex"));
    int limit = Integer.parseInt(this.getServletRequest().getParameter("pageSize"));

    Page page = new Page(start * limit + 1, limit, -1, limit, null);

    Map<String, Object> resultVO = null;

    resultVO = this.getF10503002VS().queryBreAuditDetail(page, violationComplaintVO);

    createJSonData(VOUtils.getJsonData(resultVO));

    return AJAX;
  }
Esempio n. 4
0
  @Override
  protected String operate() {

    int start = Integer.parseInt(this.getServletRequest().getParameter("pageIndex"));
    int limit = Integer.parseInt(this.getServletRequest().getParameter("pageSize"));

    Page page = new Page(start * limit + 1, limit, -1, limit, null);

    Map<String, Object> resultVO = null;

    resultVO = this.getCommonVS().queryAuditCaseWithPage(page, auditCaseVO);

    String result = VOUtils.getJsonData(resultVO);

    return result;
  }
  @Override
  protected String operate() {
    F10502003VO resultVO = new F10502003VO();

    String aaz263 = this.getServletRequest().getParameter("aaz263");

    resultVO.setAaz263(aaz263);

    resultVO = this.getF10502003VS().deleteKf05Message(resultVO);

    String result = prefix + VOUtils.getJsonData(resultVO) + suffex;

    createJSonData(result);

    return AJAX;
  }
Esempio n. 6
0
  public String loadAuditCaseInfoByAaz318() {

    String aaz318 = this.getServletRequest().getParameter("aaz318");

    String result = null;

    if (StringTools.hasText(aaz318)) {

      AuditCaseVO resultVO = this.getCommonVS().queryAuditCaseDetailsById(aaz318);

      result = VOUtils.getJsonData(resultVO);

      createJSonData(result);
    }

    return AJAX;
  }
Esempio n. 7
0
  /**
   * @Description:保存上传附件
   *
   * @author 张磊
   * @date 2015-1-8 下午01:04:31
   */
  @Override
  protected String operate() {
    File file = dxzbUploadVO.getFiledata();
    String filename = dxzbUploadVO.getFiledataFileName();
    InputStream is = null;
    OutputStream os = null;
    File deskFile = null;
    String filePath = "";
    try {
      if (null != file) {
        is = new FileInputStream(file);
        String path = "D:/upload";
        if (!new File(path).exists()) {
          new File(path).mkdirs();
        }
        deskFile = new File(path + "/" + file.getName());
        File savefileTemp = new File(filename);
        File savefile = new File(path + "/" + savefileTemp.getName());
        os = new FileOutputStream(deskFile);
        byte[] bytefer = new byte[1024];
        int length = 0;
        while ((length = is.read(bytefer)) != -1) {
          os.write(bytefer, 0, length);
        }
        FileUtils.copyFile(deskFile, savefile);
        filePath = path + "/" + filename;
      }
    } catch (FileNotFoundException e) {
      throw new RuntimeException(e);
    } catch (IOException e) {
      throw new RuntimeException(e);
    } finally {
      try {
        os.close();
        is.close();
        deskFile.delete();
      } catch (Exception ex) {

      }
    }
    dxzbUploadVO.setBsz005_succ(filePath);
    String result = prefix + VOUtils.getJsonData(dxzbUploadVO) + suffex;
    return result;
  }