/**
  * @param _sTeam
  * @param _sLoginUser
  * @throws PureException
  */
 public void approve(Team _sTeam, IUser _sLoginUser) throws PureException {
   IServiceBase teamService = this.getService();
   ServiceRequestContext servContext = new ServiceRequestContext();
   servContext.setActionUser(_sLoginUser);
   servContext.setMethodType(WebMethodBaseConstants.METHOD_TYPE_BASE_APPROVE);
   servContext.addContent(_sTeam);
   teamService.doService(servContext);
 }
  /**
   * @param _sTeam
   * @param _sLoginUser
   * @throws PureException
   */
  public void reject(Team _sTeam, IUser _sLoginUser) throws PureException {
    _sTeam.setAuthUser(_sLoginUser.getTrueName());
    _sTeam.setAuthTime(new Date());

    IServiceBase teamService = this.getService();
    ServiceRequestContext servContext = new ServiceRequestContext();
    servContext.setActionUser(_sLoginUser);
    servContext.setMethodType(WebMethodBaseConstants.METHOD_TYPE_BASE_REJECT);
    servContext.addContent(_sTeam);
    teamService.doService(servContext);
  }
  /**
   * @param _sTeam
   * @throws PureException
   */
  public void add(Team _sTeam, IUser _user) throws PureException {
    IServiceBase teamService = this.getService();
    ServiceRequestContext servContext = new ServiceRequestContext();
    servContext.setActionUser(_user);
    servContext.setMethodType(WebMethodBaseConstants.METHOD_TYPE_BASE_ADD);
    servContext.addContent(_sTeam);
    teamService.doService(servContext);

    List list = _sTeam.getMemberList();
    this.deleteAllMember(_sTeam.getId());
    this.saveMember(_sTeam.getId(), list);

    List deptList = _sTeam.getDeptList();
    this.deleteAllDepts(_sTeam);
    this.saveDepts(_sTeam, deptList);
  }