@Test public void testListInvoiceInfoByCashierIdAndDate() throws Exception { }
@Override public CommonResult listInvoiceInfoByCashierIdAndDate(DailySummaryParam dailySummaryParam){ Integer cashierId = dailySummaryParam.getCashierId(); String createDateStr = dailySummaryParam.getCreateDateStr(); HashMap invoiceRange = dailySummaryLogMapper.getInvoiceRangeByCashierIdAndDate(cashierId, createDateStr); String invoiceCodeBegin = (String) invoiceRange.get("invoiceCodeBegin"); String invoiceCodeEnd = (String) invoiceRange.get("invoiceCodeEnd"); List<HashMap> invoiceResult = transactionLogMapper.listLogsByInvoiceRangeAndCashierId(cashierId, invoiceCodeBegin, invoiceCodeEnd); return CommonResult.success(invoiceResult); }
DailySummaryServiceImpl implements DailySummaryService { @Override public CommonResult listInvoiceInfoByCashierIdAndDate(DailySummaryParam dailySummaryParam){ Integer cashierId = dailySummaryParam.getCashierId(); String createDateStr = dailySummaryParam.getCreateDateStr(); HashMap invoiceRange = dailySummaryLogMapper.getInvoiceRangeByCashierIdAndDate(cashierId, createDateStr); String invoiceCodeBegin = (String) invoiceRange.get("invoiceCodeBegin"); String invoiceCodeEnd = (String) invoiceRange.get("invoiceCodeEnd"); List<HashMap> invoiceResult = transactionLogMapper.listLogsByInvoiceRangeAndCashierId(cashierId, invoiceCodeBegin, invoiceCodeEnd); return CommonResult.success(invoiceResult); } }
DailySummaryServiceImpl implements DailySummaryService { @Override public CommonResult listInvoiceInfoByCashierIdAndDate(DailySummaryParam dailySummaryParam){ Integer cashierId = dailySummaryParam.getCashierId(); String createDateStr = dailySummaryParam.getCreateDateStr(); HashMap invoiceRange = dailySummaryLogMapper.getInvoiceRangeByCashierIdAndDate(cashierId, createDateStr); String invoiceCodeBegin = (String) invoiceRange.get("invoiceCodeBegin"); String invoiceCodeEnd = (String) invoiceRange.get("invoiceCodeEnd"); List<HashMap> invoiceResult = transactionLogMapper.listLogsByInvoiceRangeAndCashierId(cashierId, invoiceCodeBegin, invoiceCodeEnd); return CommonResult.success(invoiceResult); }  }
DailySummaryServiceImpl implements DailySummaryService { @Override public CommonResult listInvoiceInfoByCashierIdAndDate(DailySummaryParam dailySummaryParam){ Integer cashierId = dailySummaryParam.getCashierId(); String createDateStr = dailySummaryParam.getCreateDateStr(); HashMap invoiceRange = dailySummaryLogMapper.getInvoiceRangeByCashierIdAndDate(cashierId, createDateStr); String invoiceCodeBegin = (String) invoiceRange.get("invoiceCodeBegin"); String invoiceCodeEnd = (String) invoiceRange.get("invoiceCodeEnd"); List<HashMap> invoiceResult = transactionLogMapper.listLogsByInvoiceRangeAndCashierId(cashierId, invoiceCodeBegin, invoiceCodeEnd); return CommonResult.success(invoiceResult); }  @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 listInvoiceInfoByCashierIdAndDate(DailySummaryParam dailySummaryParam){ Integer cashierId = dailySummaryParam.getCashierId(); String createDateStr = dailySummaryParam.getCreateDateStr(); HashMap invoiceRange = dailySummaryLogMapper.getInvoiceRangeByCashierIdAndDate(cashierId, createDateStr); String invoiceCodeBegin = (String) invoiceRange.get("invoiceCodeBegin"); String invoiceCodeEnd = (String) invoiceRange.get("invoiceCodeEnd"); List<HashMap> invoiceResult = transactionLogMapper.listLogsByInvoiceRangeAndCashierId(cashierId, invoiceCodeBegin, invoiceCodeEnd); return CommonResult.success(invoiceResult); }  @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);  }