package com.testor.workflow.statistics.service.impl;

import com.testor.workflow.statistics.dao.ZStatisticsDao;
import com.testor.workflow.statistics.model.dto.ZStatisticsDTO;
import com.testor.workflow.statistics.model.vo.ZStatisticsVO;
import com.testor.workflow.statistics.service.ZStatisticsService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class ZStatisticsServiceImpl implements ZStatisticsService {

    @Autowired
    private ZStatisticsDao zstatisticsDao;
    public List<ZStatisticsVO> statisticsByFormVar(ZStatisticsDTO query) {
        return zstatisticsDao.statisticsByFormVar(query);
    }
}
