@Test public void testBulidStateForm() throws RemoteException { if(test.bulidStateForm(new StateFormPO(MyDate.getNowTime(), MyDate.getNowTime(), null, null)) == ResultMessage.SUCCESS){ return; } fail(); }
public ResultMessage bulidStateForm(StateFormPO po) throws RemoteException { if (helper.writeToSerFile(po, stateFormTable, true)) { return ResultMessage.SUCCESS; } else { return ResultMessage.FAIL; } }
StatisticDataImpl extends DataSuperClass implements
		StatisticDataService { public ResultMessage bulidStateForm(StateFormPO po) throws RemoteException { if (helper.writeToSerFile(po, stateFormTable, true)) { return ResultMessage.SUCCESS; } else { return ResultMessage.FAIL; } } }
StatisticDataImpl extends DataSuperClass implements
		StatisticDataService { public ResultMessage bulidStateForm(StateFormPO po) throws RemoteException { if (helper.writeToSerFile(po, stateFormTable, true)) { return ResultMessage.SUCCESS; } else { return ResultMessage.FAIL; } } StatisticDataImpl(); }
StatisticDataImpl extends DataSuperClass implements
		StatisticDataService { public ResultMessage bulidStateForm(StateFormPO po) throws RemoteException { if (helper.writeToSerFile(po, stateFormTable, true)) { return ResultMessage.SUCCESS; } else { return ResultMessage.FAIL; } } StatisticDataImpl(); void initial(); ArrayList<StateFormPO> getStateForm(); ArrayList<CostIncomePO> getCostIncomeForm(); ResultMessage bulidStateForm(StateFormPO po); ResultMessage CostIncomeForm(CostIncomePO po); ResultMessage bulidBill(BillPO po); ArrayList<BillPO> getBills(); @Override ArrayList<PayPO> getDatePays(MyDate start, MyDate end); @Override ArrayList<PayDocPO> getDatePayDocs(MyDate start, MyDate end); }
StatisticDataImpl extends DataSuperClass implements
		StatisticDataService { public ResultMessage bulidStateForm(StateFormPO po) throws RemoteException { if (helper.writeToSerFile(po, stateFormTable, true)) { return ResultMessage.SUCCESS; } else { return ResultMessage.FAIL; } } StatisticDataImpl(); void initial(); ArrayList<StateFormPO> getStateForm(); ArrayList<CostIncomePO> getCostIncomeForm(); ResultMessage bulidStateForm(StateFormPO po); ResultMessage CostIncomeForm(CostIncomePO po); ResultMessage bulidBill(BillPO po); ArrayList<BillPO> getBills(); @Override ArrayList<PayPO> getDatePays(MyDate start, MyDate end); @Override ArrayList<PayDocPO> getDatePayDocs(MyDate start, MyDate end);  }