@Test public void testListHistorySummaryLogs() throws Exception { }
@Override public CommonResult listHistorySummaryLogs(DailySummaryParam dailySummaryParam){ Integer cashierId = dailySummaryParam.getCashierId(); String beginDateStr = dailySummaryParam.getBeginDateStr(); String endDateStr = dailySummaryParam.getEndDateStr(); List<HashMap> dailySummaryLogs = dailySummaryLogMapper.getByCashierIdAndDate(cashierId, beginDateStr, endDateStr); if(dailySummaryLogs != null) return CommonResult.success(dailySummaryLogs); else return CommonResult.success(null); }
DailySummaryServiceImpl implements DailySummaryService { @Override public CommonResult listHistorySummaryLogs(DailySummaryParam dailySummaryParam){ Integer cashierId = dailySummaryParam.getCashierId(); String beginDateStr = dailySummaryParam.getBeginDateStr(); String endDateStr = dailySummaryParam.getEndDateStr(); List<HashMap> dailySummaryLogs = dailySummaryLogMapper.getByCashierIdAndDate(cashierId, beginDateStr, endDateStr); if(dailySummaryLogs != null) return CommonResult.success(dailySummaryLogs); else return CommonResult.success(null); } }
DailySummaryServiceImpl implements DailySummaryService { @Override public CommonResult listHistorySummaryLogs(DailySummaryParam dailySummaryParam){ Integer cashierId = dailySummaryParam.getCashierId(); String beginDateStr = dailySummaryParam.getBeginDateStr(); String endDateStr = dailySummaryParam.getEndDateStr(); List<HashMap> dailySummaryLogs = dailySummaryLogMapper.getByCashierIdAndDate(cashierId, beginDateStr, endDateStr); if(dailySummaryLogs != null) return CommonResult.success(dailySummaryLogs); else return CommonResult.success(null); }  }
DailySummaryServiceImpl implements DailySummaryService { @Override public CommonResult listHistorySummaryLogs(DailySummaryParam dailySummaryParam){ Integer cashierId = dailySummaryParam.getCashierId(); String beginDateStr = dailySummaryParam.getBeginDateStr(); String endDateStr = dailySummaryParam.getEndDateStr(); List<HashMap> dailySummaryLogs = dailySummaryLogMapper.getByCashierIdAndDate(cashierId, beginDateStr, endDateStr); if(dailySummaryLogs != null) return CommonResult.success(dailySummaryLogs); else return CommonResult.success(null); }  @Override CommonResult getLastEndDate(Integer cashierId); @Override CommonResult listLogsByCashierIdAndDate(DailySummaryParam dailySummaryParam); @Override CommonResult freezeTransactionLogs(DailySummaryParam dailySummaryParam); @Override CommonResult listHistorySummaryLogs(DailySummaryParam dailySummaryParam); @Override CommonResult listInvoiceInfoByCashierIdAndDate(DailySummaryParam dailySummaryParam); @Override CommonResult getFirstSummaryDate(Integer cashierId); }
DailySummaryServiceImpl implements DailySummaryService { @Override public CommonResult listHistorySummaryLogs(DailySummaryParam dailySummaryParam){ Integer cashierId = dailySummaryParam.getCashierId(); String beginDateStr = dailySummaryParam.getBeginDateStr(); String endDateStr = dailySummaryParam.getEndDateStr(); List<HashMap> dailySummaryLogs = dailySummaryLogMapper.getByCashierIdAndDate(cashierId, beginDateStr, endDateStr); if(dailySummaryLogs != null) return CommonResult.success(dailySummaryLogs); else return CommonResult.success(null); }  @Override CommonResult getLastEndDate(Integer cashierId); @Override CommonResult listLogsByCashierIdAndDate(DailySummaryParam dailySummaryParam); @Override CommonResult freezeTransactionLogs(DailySummaryParam dailySummaryParam); @Override CommonResult listHistorySummaryLogs(DailySummaryParam dailySummaryParam); @Override CommonResult listInvoiceInfoByCashierIdAndDate(DailySummaryParam dailySummaryParam); @Override CommonResult getFirstSummaryDate(Integer cashierId);  }