@Override
  public void initPage() {

    String fileDirectory =
        FWConfig.getInstance().getString(FWConfigKey.PRODUCTS_REVIEW_LIMIT_USERID_FILE)
            + File.separator
            + ConvUtils.convToString(
                getPageParameters().get(PageParamConstant.OID_PLATFORM_PRODUCTS_ID));

    String[] fileList = FileUtils.getFileListName(fileDirectory);

    if (fileList != null && fileList.length > 0) {

      String userId = FileUtils.getFileListName(fileDirectory)[0];

      if (getAdminUser().getOidAdminUserId().trim().equals(userId.trim())) {
        alertInfo("该审核已被锁定,其他用户将不能进行审核处理,请尽快处理该审核。");
        return;
      }

      Map<String, Object> adminUserMap = adminManageService.getAdminUser(userId);
      if (adminUserMap != null) {
        String adminUserId = ConvUtils.convToString(adminUserMap.get("ADMIN_USER_ID"));
        String adminName = ConvUtils.convToString(adminUserMap.get("ADMIN_USER_NAME"));
        alertError("该审核已被锁定,用户" + adminName + "【" + adminUserId + "】正在审核该产品,请联系该用户后进行审核处理。");
      } else {
        alertError("该审核已被锁定,请联系系统管理者进行解锁。");
      }

      reviewYesBtn.setVisible(false);
      reviewNoBtn.setVisible(false);
      removeLockLink.setVisible(false);
      return;
    }

    String fileId =
        FWConfig.getInstance().getString(FWConfigKey.PRODUCTS_REVIEW_LIMIT_USERID_FILE)
            + File.separator
            + ConvUtils.convToString(
                getPageParameters().get(PageParamConstant.OID_PLATFORM_PRODUCTS_ID))
            + File.separator
            + getAdminUser().getOidAdminUserId();

    try {
      if (!FileUtils.isExist(fileId)) {
        FileUtils.createFile(fileId);
      }
    } catch (IOException e) {
      e.printStackTrace();
    }
    alertInfo("该审核已被锁定,其他用户将不能进行审核处理,请尽快处理该审核。");
  }
  /**
   * 审核锁定解除
   *
   * @return
   */
  private boolean removeLockReview() {

    String fileId =
        FWConfig.getInstance().getString(FWConfigKey.PRODUCTS_REVIEW_LIMIT_USERID_FILE)
            + File.separator
            + ConvUtils.convToString(
                getPageParameters().get(PageParamConstant.OID_PLATFORM_PRODUCTS_ID))
            + File.separator;
    boolean delFlg = FileUtils.deleteDirectory(fileId);
    return delFlg;
  }