OrderByTimeAnalysisService implements IAnalysisService { @Override public void analysis(AnalysisParam analysisParam) { boolean state = this.insertDbData(analysisParam); if(state){ this.analysisGoodsOrder(analysisParam); this.analysisDetailData(analysisParam); this.analysisOrderCountByProuctLine(analysisParam); analysisOrderCountByUrl(analysisParam); } }  @Override void analysis(AnalysisParam analysisParam);  }
@Test public void testAnalysis(){ AnalysisParam ap = new AnalysisParam("2014112001", TimeType.HOUR); orderByTimeAnalysisService.analysis(ap); }