package com.gci.boot.modules.customer.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gci.boot.modules.customer.entity.TbInspectionTask;
import com.gci.boot.modules.customer.vo.InspectionTaskVo;

/**
 * <p>
 * 巡检任务 Mapper 接口
 * </p>
 *
 * @author 2464
 * @since 2023-10-16
 */
public interface TbInspectionTaskMapper extends BaseMapper<TbInspectionTask> {

    IPage<TbInspectionTask> pageBuild(@Param("page") Page<TbInspectionTask> page,@Param(Constants.WRAPPER) LambdaQueryWrapper<TbInspectionTask> lambdaQueryWrapper);

    TbInspectionTask getItemById(@Param("id") String id);
    
	List<InspectionTaskVo> getInspectionTaskStatis( InspectionTaskVo params);
	
	List<InspectionTaskVo> getInspectionTaskMonthStatis( InspectionTaskVo params);

}
