/*
  * (non-Javadoc)
  *
  * @see bl.blService.accountblService.AccountBLManageService#addAccount(po.
  * accountdata.AccountPO)
  */
 public OperationMessage addAccount(AccountVO vo) {
   try {
     AccountDataService accountDataService = CacheHelper.getAccountDataService();
     MemberDataService<StaffPO> staffDataService = CacheHelper.getMemberDataService_staff();
     if (staffDataService.getPerson(vo.getID()) != null || vo.getID().equals("admin")) {
       AccountPO po = (AccountPO) vopoFactory.transVOtoPO(vo);
       return accountDataService.insert(po);
     } else {
       return new OperationMessage(false, "系统中没有该员工信息");
     }
   } catch (RemoteException e) {
     Reconnect.ReConnectFactory();
     return new OperationMessage(false, "net error");
   }
 }
 /*
  * (non-Javadoc)
  *
  * @see
  * bl.blService.accountblService.AccountBLManageService#deleteAccount(po.
  * accountdata.AccountPO)
  */
 public OperationMessage deleteAccount(AccountVO vo) {
   String ID = vo.getID();
   AccountDataService accountDataService = CacheHelper.getAccountDataService();
   try {
     return accountDataService.delete(ID);
   } catch (RemoteException e) {
     Reconnect.ReConnectFactory();
     return new OperationMessage(false, "net error");
   }
 }