@Test public void testGetLastEndDate() throws Exception { }
@Override public CommonResult getLastEndDate(Integer cashierId){ String lastEndDate = dailySummaryLogMapper.getEndDateByCashierId(cashierId); if (lastEndDate == null){ String firstLogDate = transactionLogMapper.getFirstLogDateByCashierId(cashierId); return CommonResult.success(firstLogDate); } else return CommonResult.success(lastEndDate); }
DailySummaryServiceImpl implements DailySummaryService { @Override public CommonResult getLastEndDate(Integer cashierId){ String lastEndDate = dailySummaryLogMapper.getEndDateByCashierId(cashierId); if (lastEndDate == null){ String firstLogDate = transactionLogMapper.getFirstLogDateByCashierId(cashierId); return CommonResult.success(firstLogDate); } else return CommonResult.success(lastEndDate); } }
DailySummaryServiceImpl implements DailySummaryService { @Override public CommonResult getLastEndDate(Integer cashierId){ String lastEndDate = dailySummaryLogMapper.getEndDateByCashierId(cashierId); if (lastEndDate == null){ String firstLogDate = transactionLogMapper.getFirstLogDateByCashierId(cashierId); return CommonResult.success(firstLogDate); } else return CommonResult.success(lastEndDate); }  }
DailySummaryServiceImpl implements DailySummaryService { @Override public CommonResult getLastEndDate(Integer cashierId){ String lastEndDate = dailySummaryLogMapper.getEndDateByCashierId(cashierId); if (lastEndDate == null){ String firstLogDate = transactionLogMapper.getFirstLogDateByCashierId(cashierId); return CommonResult.success(firstLogDate); } else return CommonResult.success(lastEndDate); }  @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 getLastEndDate(Integer cashierId){ String lastEndDate = dailySummaryLogMapper.getEndDateByCashierId(cashierId); if (lastEndDate == null){ String firstLogDate = transactionLogMapper.getFirstLogDateByCashierId(cashierId); return CommonResult.success(firstLogDate); } else return CommonResult.success(lastEndDate); }  @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);  }