package com.saye.hospitalgd.service.system.impl;

import com.saye.hospitalgd.mapper.system.LoggerMapper;
import com.saye.hospitalgd.model.Logger;
import com.saye.hospitalgd.service.system.LoggerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;
import java.util.List;

@Service
@Transactional
public class LoggerServiceImpl implements LoggerService{

	@Autowired
	private LoggerMapper loggerMapper;
	
	/**
	 * @description 查询所有日志数据
	 * @author thuang       
	 * @created 2019年11月14日 下午1:22:00
	 */
	@Override
	public List<Logger> findLogger(HashMap<Object, Object> map) throws Exception {
		
		List<Logger> list = loggerMapper.findLoggers(map);
		
		return list;
	}

	
}
