예제 #1
0
 @Override
 public Staffvo[] searchAllInitRenyuan() throws RemoteException {
   // TODO Auto-generated method stub
   Staff as = new Staff();
   Staffpo[] up;
   try {
     up = as.AllSearchInitAccount();
     if (up == null) return null;
     else {
       Staffvo[] uv = new Staffvo[up.length];
       for (int i = 0; i < up.length; i++) {
         Staffvo s = up[i].getStaff();
         uv[i] = s;
       }
       return uv;
     }
   } catch (Exception e) {
     // TODO Auto-generated catch block
     e.printStackTrace();
   }
   return null;
 }