package org.stm.metric.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.stm.metric.entity.MetricTaskAlloc;
import org.stm.metric.mapper.MetricTaskAllocMapper;
import org.stm.metric.pojo.QueryMetricTaskAllocVo;
import org.stm.metric.service.IMetricTaskAllocService;

/**
 * @Description: 任务分配
 * @Author: jeecg-boot
 * @Date:   2023-07-15
 * @Version: V1.0
 */
@Service
public class MetricTaskAllocServiceImpl extends ServiceImpl<MetricTaskAllocMapper, MetricTaskAlloc> implements IMetricTaskAllocService {

    @Override
    public IPage<QueryMetricTaskAllocVo> queryMonitorSet(IPage<QueryMetricTaskAllocVo> page, QueryMetricTaskAllocVo queryVo) {
        IPage<QueryMetricTaskAllocVo> data = this.baseMapper.queryTaskAlloc(page,queryVo);
        return data;
    }
}
