package com.zcloud.service.statistics.impl;

import com.zcloud.entity.PageData;
import com.zcloud.mapper.datasource.statistics.StatisticsMapper;
import com.zcloud.service.statistics.StatisticsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional //开启事物
public class StatisticsServiceImpl  implements StatisticsService {
	@Autowired
	private StatisticsMapper statisticsMapper;

	public List<PageData> listAll(PageData pd)throws Exception{


		return statisticsMapper.listAll(pd);
	}
}
