package com.njcn.supervision.mapper.device;

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.device.SupervisionTempLineDebugPO;
import com.njcn.supervision.pojo.vo.device.SupervisionDevMainReportVO;
import com.njcn.supervision.pojo.vo.device.SupervisionTempLineDebugVO;
import org.apache.ibatis.annotations.Param;

/**
 * Description:
 * Date: 2024/5/17  15:26【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
public interface SupervisionTempLineDebugPOMapper extends BaseMapper<SupervisionTempLineDebugPO> {

    Page<SupervisionTempLineDebugVO> page(@Param("page") Page<Object> objectPage,
                                          @Param("ew") QueryWrapper<SupervisionDevMainReportVO> queryWrapper);

    Page<SupervisionTempLineDebugVO> pageHasDebug(@Param("page") Page<Object> objectPage,
                                                  @Param("ew") QueryWrapper<SupervisionDevMainReportVO> queryWrapper);

    /**
     * 问题分页并查询是否有告警单
     */
    Page<SupervisionTempLineDebugVO> pageProblem(@Param("page") Page<Object> objectPage,
                                                  @Param("ew") QueryWrapper<SupervisionDevMainReportVO> queryWrapper);

}
