@Test public void testClinicianDepartmentStatistics() throws Exception { }
public CommonResult clinicianDepartmentStatistics(String beginDateStr, String endDateStr){ List<HashMap> result = convertMap(transactionLogMapper.calculateClinicianDepartmentsTotalMoney(beginDateStr, endDateStr, null)); List<HashMap> visits = transactionLogMapper.countClinicianDepartmentsVisits(beginDateStr, endDateStr); List<HashMap> invoices = transactionLogMapper.countClinicianDepartmentsInvoices(beginDateStr, endDateStr, null); return CommonResult.success(addInvoicesAndVisits(result, invoices, visits)); }
DepartmentStatisticsServiceImpl implements DepartmentStatisticsService { public CommonResult clinicianDepartmentStatistics(String beginDateStr, String endDateStr){ List<HashMap> result = convertMap(transactionLogMapper.calculateClinicianDepartmentsTotalMoney(beginDateStr, endDateStr, null)); List<HashMap> visits = transactionLogMapper.countClinicianDepartmentsVisits(beginDateStr, endDateStr); List<HashMap> invoices = transactionLogMapper.countClinicianDepartmentsInvoices(beginDateStr, endDateStr, null); return CommonResult.success(addInvoicesAndVisits(result, invoices, visits)); } }
DepartmentStatisticsServiceImpl implements DepartmentStatisticsService { public CommonResult clinicianDepartmentStatistics(String beginDateStr, String endDateStr){ List<HashMap> result = convertMap(transactionLogMapper.calculateClinicianDepartmentsTotalMoney(beginDateStr, endDateStr, null)); List<HashMap> visits = transactionLogMapper.countClinicianDepartmentsVisits(beginDateStr, endDateStr); List<HashMap> invoices = transactionLogMapper.countClinicianDepartmentsInvoices(beginDateStr, endDateStr, null); return CommonResult.success(addInvoicesAndVisits(result, invoices, visits)); }  }
DepartmentStatisticsServiceImpl implements DepartmentStatisticsService { public CommonResult clinicianDepartmentStatistics(String beginDateStr, String endDateStr){ List<HashMap> result = convertMap(transactionLogMapper.calculateClinicianDepartmentsTotalMoney(beginDateStr, endDateStr, null)); List<HashMap> visits = transactionLogMapper.countClinicianDepartmentsVisits(beginDateStr, endDateStr); List<HashMap> invoices = transactionLogMapper.countClinicianDepartmentsInvoices(beginDateStr, endDateStr, null); return CommonResult.success(addInvoicesAndVisits(result, invoices, visits)); }  CommonResult clinicianDepartmentStatistics(String beginDateStr, String endDateStr); CommonResult technicianDepartmentStatistics(String beginDateStr, String endDateStr); }
DepartmentStatisticsServiceImpl implements DepartmentStatisticsService { public CommonResult clinicianDepartmentStatistics(String beginDateStr, String endDateStr){ List<HashMap> result = convertMap(transactionLogMapper.calculateClinicianDepartmentsTotalMoney(beginDateStr, endDateStr, null)); List<HashMap> visits = transactionLogMapper.countClinicianDepartmentsVisits(beginDateStr, endDateStr); List<HashMap> invoices = transactionLogMapper.countClinicianDepartmentsInvoices(beginDateStr, endDateStr, null); return CommonResult.success(addInvoicesAndVisits(result, invoices, visits)); }  CommonResult clinicianDepartmentStatistics(String beginDateStr, String endDateStr); CommonResult technicianDepartmentStatistics(String beginDateStr, String endDateStr);  }