package org.jeecg.modules.stm.metric.service.impl;

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

/**
 * @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;
    }
}
