package com.njcn.supervision.mapper.survey;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njcn.supervision.pojo.po.survey.SurveyTest;
import com.njcn.supervision.pojo.vo.survey.SurveyTestVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 普测测试的管理表 Mapper 接口
 * </p>
 *
 * @author hongawen
 * @since 2024-05-30
 */
public interface SurveyTestMapper extends BaseMapper<SurveyTest> {

    Page<SurveyTestVO> surveyTestPage(Page<Object> objectPage, @Param("ew")QueryWrapper<SurveyTestVO> surveyTestVOQueryWrapper);

    /**
     * 根据条件查询待测试的计划
     * @param queryWrapper 查询条件
     * @return 待测试的计划
     */
    List<SurveyTestVO> getTodoBusiness(@Param("ew")QueryWrapper<SurveyTestVO> queryWrapper);
}
