package com.style24.admin.biz.service;

import java.util.Collection;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.style24.admin.biz.dao.TsaStatisticsDao;
import com.style24.persistence.domain.Statistics;

import lombok.extern.slf4j.Slf4j;

/**
 * 통계 Service
 *
 * @author gagamel
 * @since 2021. 8. 17
 */
@Service
@Slf4j
public class TsaStatisticsService {

	@Autowired
	private TsaStatisticsDao statisticsDao;

	/**
	 * 일자별 주문 목록
	 * @param statistics - 통계 정보
	 * @return
	 * @author gagamel
	 * @since 2021. 8. 17
	 */
	public Collection<Statistics> getDailyOrderList(Statistics statistics) {
		return statisticsDao.getDailyOrderList(statistics);
	}

}
