package com.goldenwater.slaj.hazard.mapper;

import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import com.goldenwater.slaj.hazard.domain.BisHazMajRegWrit;

/**
 * 重大危险源备案核销 数据层
 */
@Mapper
public interface BisHazMajRegWritMapper {

    /**
     * 查询重大危险源备案核销信息
     * @param guid 查询条件
     * @return 重大危险源备案核销信息
     */
    BisHazMajRegWrit selectBisHazMajRegWritByGuid(String guid);

    /**
     * 查询重大危险源备案核销列表
     * @param bisHazMajRegWrit 重大危险源备案核销查询条件
     * @return 重大危险源备案核销集合
     */
    List<BisHazMajRegWrit> selectBisHazMajRegWritList(BisHazMajRegWrit bisHazMajRegWrit);

    /**
     * 新增重大危险源备案核销
     * @param bisHazMajRegWrit 重大危险源备案核销信息
     * @return 影响行数
     */
    int insertBisHazMajRegWrit(BisHazMajRegWrit bisHazMajRegWrit);

    /**
     * 修改重大危险源备案核销
     * @param bisHazMajRegWrit 重大危险源备案核销信息
     * @return 影响行数
     */
    int updateBisHazMajRegWrit(BisHazMajRegWrit bisHazMajRegWrit);

    /**
     * 删除重大危险源备案核销
     * @param guid 重大危险源备案核销主键
     * @return 影响行数
     */
    int deleteBisHazMajRegWritByGuid(String guid);

    /**
     * 批量删除重大危险源备案核销
     * @param guids 重大危险源备案核销主键数组
     * @return 影响行数
     */
    int deleteBisHazMajRegWritByGuids(String[] guids);
}
