@Test public void testDoctorStatistics() throws Exception { }
@Override public CommonResult doctorStatistics(String beginDateStr, String endDateStr){ List<HashMap> result = convertMap(transactionLogMapper.calculateClinicianDoctorsTotalMoney(beginDateStr, endDateStr)); List<HashMap> visits = transactionLogMapper.countClinicianDoctorsVisits(beginDateStr, endDateStr); List<HashMap> invoices = transactionLogMapper.countClinicianDoctorsInvoices(beginDateStr, endDateStr); return CommonResult.success(addInvoicesAndVisits(result, invoices, visits)); }
DoctorStatisticsServiceImpl implements DoctorStatisticsService { @Override public CommonResult doctorStatistics(String beginDateStr, String endDateStr){ List<HashMap> result = convertMap(transactionLogMapper.calculateClinicianDoctorsTotalMoney(beginDateStr, endDateStr)); List<HashMap> visits = transactionLogMapper.countClinicianDoctorsVisits(beginDateStr, endDateStr); List<HashMap> invoices = transactionLogMapper.countClinicianDoctorsInvoices(beginDateStr, endDateStr); return CommonResult.success(addInvoicesAndVisits(result, invoices, visits)); } }
DoctorStatisticsServiceImpl implements DoctorStatisticsService { @Override public CommonResult doctorStatistics(String beginDateStr, String endDateStr){ List<HashMap> result = convertMap(transactionLogMapper.calculateClinicianDoctorsTotalMoney(beginDateStr, endDateStr)); List<HashMap> visits = transactionLogMapper.countClinicianDoctorsVisits(beginDateStr, endDateStr); List<HashMap> invoices = transactionLogMapper.countClinicianDoctorsInvoices(beginDateStr, endDateStr); return CommonResult.success(addInvoicesAndVisits(result, invoices, visits)); }  }
DoctorStatisticsServiceImpl implements DoctorStatisticsService { @Override public CommonResult doctorStatistics(String beginDateStr, String endDateStr){ List<HashMap> result = convertMap(transactionLogMapper.calculateClinicianDoctorsTotalMoney(beginDateStr, endDateStr)); List<HashMap> visits = transactionLogMapper.countClinicianDoctorsVisits(beginDateStr, endDateStr); List<HashMap> invoices = transactionLogMapper.countClinicianDoctorsInvoices(beginDateStr, endDateStr); return CommonResult.success(addInvoicesAndVisits(result, invoices, visits)); }  @Override CommonResult doctorStatistics(String beginDateStr, String endDateStr); @Override CommonResult doctorStatisticsByUserIdAndDate(String dateStr, Integer userId); }
DoctorStatisticsServiceImpl implements DoctorStatisticsService { @Override public CommonResult doctorStatistics(String beginDateStr, String endDateStr){ List<HashMap> result = convertMap(transactionLogMapper.calculateClinicianDoctorsTotalMoney(beginDateStr, endDateStr)); List<HashMap> visits = transactionLogMapper.countClinicianDoctorsVisits(beginDateStr, endDateStr); List<HashMap> invoices = transactionLogMapper.countClinicianDoctorsInvoices(beginDateStr, endDateStr); return CommonResult.success(addInvoicesAndVisits(result, invoices, visits)); }  @Override CommonResult doctorStatistics(String beginDateStr, String endDateStr); @Override CommonResult doctorStatisticsByUserIdAndDate(String dateStr, Integer userId);  }