StoreDataImpl extends DataSuperClass implements StoreDataService { @Override public int getDayDocCount(DocType type , MyDate date) throws RemoteException { switch (type) { case inStoreDoc: return super.getDayDocCount(instoreDocTable ,date); case outStoreDoc: return super.getDayDocCount(outstoreDocTable, date); default: break; } System.err.println("单据类型错误，不能获得对应单据"); return -1; } StoreDataImpl(); void initial(); ResultMessage addIn(InStoreDocPO po); ResultMessage addOut(OutStoreDocPO po); ArrayList<InStoreDocPO> getIn(); ArrayList<OutStoreDocPO> getOut(); ResultMessage update(StoreMessagePO po); @Override ArrayList<StoreMessagePO> getStoreMessages(); ResultMessage storeCheck(StoreCheckPO po); ArrayList<StoreCheckPO> getCheck(); String getAlarmValue(City city); ResultMessage setAlarmValue(String value, City city); ArrayList<? extends DocPO> getDocLists(DocType type); ResultMessage changeDocsState(ArrayList<String> docsID,
			DocType type, DocState state); @Override ResultMessage changeOneDocState(String docID, DocType type,
			DocState state); @Override InStoreDocPO getOneInstoreDoc(String ID); @Override OutStoreDocPO getOneOutStoreDoc(String ID); @Override int getDayDocCount(DocType type , MyDate date);  }
@Test public void testGetDocCount() throws Exception{ System.out.println(new StoreDataImpl().getDayDocCount(DocType.inStoreDoc , MyDate.getNowTime()));; }