Пример #1
0
  /** 为了行车规划做的新学生列表 */
  public String stList2() {
    final String vehTitle = "学生选择列表";
    UserInfo user = getCurrentUser();

    try {
      if (info == null) {
        info = new StudentInfo();
      }
      info.setOrganization_id(user.getOrganizationID());
      info.setEnterprise_id(user.getEntiID());
      info.setStu_name(stu_name);
      info.setStu_code(stu_code);
      info.setStu_class(stu_class);
      info.setStu_school(stu_school);
      info.setSite_desc(site_desc);
      info.setUpnotexist(upnotexist);
      info.setDownnotexist(downnotexist);
      info.setRoute_id(route_id);
      info.setDelupexistdata(delupexistdata);
      info.setDeldownexistdata(deldownexistdata);
      info.setSearchparam(searchparam);
      studentList = (List<StudentInfo>) service.getObjects("RidingPlan.getStudentList", info);
      // 设置操作描述
      // this.addOperationLog(formatLog(vehTitle, null));
      // 设置操作类型
      // this.setOperationType(Constants.SELECT);
      // 设置所属应用系统
      // this.setApplyId(Constants.CLW_P_CODE);
      // 设置所属模块
      // this.setModuleId(MouldId.YTP_OILMANAGE_QUREY_ID);
    } catch (BusinessException e) {
      addActionError(getText(e.getMessage()));
      log.error(vehTitle, e);
      return ERROR;
    }

    return SUCCESS;
  }