package com.house365.ws.interfaces.impl;

import com.house365.ws.dao.mapper.StatisticReportMapper;
import com.house365.ws.interfaces.server.IStatisticReport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * @author huang xiner
 * @version 1.0
 * @date 2021/11/11 17:35
 */
@Service("StatisticReport")
public class StatisticReportImpl implements IStatisticReport {
    private static final Logger logger = LoggerFactory.getLogger(StatisticReportImpl.class);
    @Autowired
    private StatisticReportMapper statisticReportMapper;
    @Override
    public Map<String, Object> getStatisticSummary(String managerId,String startTime,String endTime) {
        return statisticReportMapper.getStatisticSummary(managerId,startTime,endTime);
    }
}
