package com.cesgroup.cesmonitor.service;

import java.util.List;

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

import com.cesgroup.cesmonitor.bean.CreateFromHost;
import com.cesgroup.cesmonitor.dao.CreateFromHostMapper;

@Service
public class CreateFromHostService {

    @Autowired
    private CreateFromHostMapper createFromHostMapper;

    public List<CreateFromHost> listHosts() {
        return createFromHostMapper.listHosts("1");

    }

}
