package com.yeejoin.precontrol.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.precontrol.common.dto.HazardousWorkPageDto;
import com.yeejoin.precontrol.common.entity.HazardousWork;
import com.yeejoin.precontrol.common.vo.HazardousWorkPageVo;
import org.apache.ibatis.annotations.Param;

/**
 * 危险作业表 Mapper 接口
 *
 * @author duanwei
 * @date 2020-08-24
 */
public interface HazardousWorkMapper extends BaseMapper<HazardousWork> {

    IPage<HazardousWorkPageVo> findByAll(@Param("page") Page<HazardousWorkPageVo> page, @Param("hazardousWorkPageDto") HazardousWorkPageDto hazardousWorkPageDto);

}
