|
|
|
@ -114,7 +114,6 @@ public class DashboardServiceImpl implements DashboardService, DashboardAnalysis
|
|
|
|
|
if (params.getDate("end").after(new Date())) {
|
|
|
|
|
if (params.getDate("begin").compareTo(DateUtils.addDays(params.getDate("end"), -1)) == 0) {
|
|
|
|
|
res.put("total_customers", transactionAnalysisMapper.countCustomers(params));
|
|
|
|
|
res.put("old_customers", transactionAnalysisMapper.countOldCustomers(params));
|
|
|
|
|
res.put("traded_partners", clientAnalysisMapper.countTradedPartners(params));
|
|
|
|
|
} else {
|
|
|
|
|
res = getYesOrLasMonth(params);
|
|
|
|
|