package com.pqs9900.serviceImpl.DataInfo;

import com.pqs9900.mapper.DataInfo.ServerStateMapper;
import com.pqs9900.pojo.DataInfo.ServerState;
import com.pqs9900.service.DataInfo.ServerService;
import com.pqs9900.service.DataInfo.ServerStateService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tk.mybatis.mapper.entity.Example;

import java.util.Date;
import java.util.List;

/** @Author denghuajun
 * @Description //TODO 服务器状态表impl
 * @Date  2019/3/15 13:48
 **/
@Service
public class ServerStateServiceImpl implements ServerStateService {
    @Autowired
    private ServerStateMapper serverStateMapper;
    @Override
    public List<ServerState> getServerState(String sevIndex, Date startTime, Date endTime) {
        return serverStateMapper.getServerState(sevIndex,startTime,endTime);
    }
}
