/**
 * Copyright 2019 DH
 * All right reserved.
 * 项目名称: 运维系统
 * 创建日期:2022/8/23
 */
package org.springblade.modules.business.equipment.inspection.base.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;
import org.springblade.modules.business.equipment.inspection.base.dto.EquipmentInspectionInfoDTO;
import org.springblade.modules.business.equipment.inspection.base.entity.EquipmentInspectionInfoEntity;
import org.springblade.modules.business.equipment.inspection.base.vo.EquipmentInspectionInfoVO;
import org.springblade.modules.business.equipment.inspection.base.vo.EquipmentInspectionStatisticsVO;
import org.springblade.modules.business.equipment.inspection.report.vo.EquipmentInspectionReportVO;

import java.util.List;

/***
 * Date:2022/8/23
 * Title:文件所属模块（必须填写）
 * Description：对本文件的详细描述，原则上不能少于30字
 * @author dylan
 * @version 1.0
 * Remark：认为有必要的其他信息
 */
public interface EquipmentInspectionMapper  extends BaseMapper<EquipmentInspectionInfoEntity> {
	List<EquipmentInspectionStatisticsVO> inspectionReportCount(@Param("inspectionInfoDTO") EquipmentInspectionInfoDTO inspectionInfoDTO);
	Long inspectionCount(@Param("inspectionInfoDTO") EquipmentInspectionInfoDTO inspectionInfoDTO);
	List<EquipmentInspectionInfoVO> selectPage(IPage page, @Param("inspectionInfoDTO") EquipmentInspectionInfoDTO inspectionInfoDTO);
	List<EquipmentInspectionInfoVO> selectRtuPage(IPage page, @Param("inspectionInfoDTO") EquipmentInspectionInfoDTO inspectionInfoDTO);
	List<EquipmentInspectionInfoVO> selectUnfinishedInspectionEquipmentPage(IPage page, @Param("inspectionInfoDTO") EquipmentInspectionInfoDTO inspectionInfoDTO);
	List<EquipmentInspectionInfoVO> selectUnfinishedInspectionEquipmentList(@Param("inspectionInfoDTO") EquipmentInspectionInfoDTO inspectionInfoDTO);
}
