public String projectSave() throws Exception {
    String id = (String) session.get(BaseAction.BASEIDINSESSION);
    EnterpriseBaseModel baseModel = eBaseService.get(id);

    String year;

    if (baseModel.getEnterpriseStyle() == EnterpriseBaseModel.EStyle.NONE.getValue()) {
      year = (String) application.get(Constants.OPTION_SDDECLARE_YEAR);
      year = Integer.parseInt(year) - 1 + "";
    } else year = (String) application.get(Constants.OPTION_NDDECLARE_YEAR);

    project.setDeclareYear(year);
    project.setBaseModel(baseModel);
    try {
      projectService.saveOrUpdate(project);
    } catch (ServiceException e) {
      LOGGER.error(e.getMessage());
    }
    return SUCCESS;
  }