package com.njcn.serviceimpl.data;

import com.njcn.mapper.data.DatabaseRunningMapper;
import com.njcn.pojo.data.DatabaseRunning;
import com.njcn.service.data.DatabaseRunningService;
import com.njcn.service.log.UserLogDetailService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

@Service
public class DatabaseRunningServiceImpl implements DatabaseRunningService {
    @Autowired
    DatabaseRunningMapper databaseRunningMapper;
    @Autowired
    UserLogDetailService userLogDetailService;

    @Override
    public List<DatabaseRunning> getDatabaseRunning() {
        List<DatabaseRunning> result=new ArrayList<>();
        result=databaseRunningMapper.getDatabaseRunning();
        return result;
    }
}
