package cn.pluss.platform.systemInfo.impl;

import java.util.List;
import java.util.Map;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.transaction.annotation.Transactional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import cn.pluss.platform.entity.SystemInfo;
import cn.pluss.platform.systemInfo.SystemInfoService;
import cn.pluss.platform.mapper.SystemInfoMapper;

@Transactional
@Service("systemInfoService")
public class SystemInfoServiceImpl extends ServiceImpl<SystemInfoMapper,SystemInfo> implements SystemInfoService{

    @Override
    public SystemInfo querySystemInfo(SystemInfo systemInfo){
        return baseMapper.querySystemInfo(systemInfo);
    }

    @Override
    public List<SystemInfo> querySystemInfoList(SystemInfo systemInfo){
        return baseMapper.querySystemInfoList(systemInfo);
    }
    @Override
    public void saveSystemInfo(SystemInfo systemInfo){
        baseMapper.saveSystemInfo(systemInfo);
    }
    @Override
    public void updateSystemInfo(SystemInfo systemInfo){
        baseMapper.updateSystemInfo(systemInfo);
    }
    @Override
    public void deleteSystemInfo(SystemInfo systemInfo){
        baseMapper.deleteSystemInfo(systemInfo);
    }
    @Override
    public List<SystemInfo> querySystemInfoPage(Map map){
        return baseMapper.querySystemInfoPage(map);
    }
    @Override
    public Integer querySystemInfoPageCount(Map map){
        return baseMapper.querySystemInfoPageCount(map);
    }
    @Override
    public void saveSystemInfoBatch(List<SystemInfo> systemInfoList) {
        baseMapper.saveSystemInfoBatch(systemInfoList);
    }

    @Override
    public Page<SystemInfo> PageData(Page<SystemInfo> page, SystemInfo systemInfo) {
        return baseMapper.PageData(page,systemInfo);
    }
}

