package com.zd.laboratory.mapper;

import com.zd.system.api.laboratory.domain.LabGradeManageRecordDetail;

import java.util.List;

/**
 * 管控执行记录详情Mapper接口
 *
 * @author liubo
 * @date 2022-02-10
 */
public interface LabGradeManageRecordDetailMapper
{
    /**
     * 查询管控执行记录详情
     *
     * @param id 管控执行记录详情主键
     * @return 管控执行记录详情
     */
    public LabGradeManageRecordDetail selectLabGradeManageRecordDetailById(Long id);

    /**
     * 查询管控执行记录详情列表
     *
     * @param labGradeManageRecordDetail 管控执行记录详情
     * @return 管控执行记录详情集合
     */
    public List<LabGradeManageRecordDetail> selectLabGradeManageRecordDetailList(LabGradeManageRecordDetail labGradeManageRecordDetail);

    /**
     * 新增管控执行记录详情
     *
     * @param labGradeManageRecordDetail 管控执行记录详情
     * @return 结果
     */
    public int insertLabGradeManageRecordDetail(LabGradeManageRecordDetail labGradeManageRecordDetail);

    /**
     * 修改管控执行记录详情
     *
     * @param labGradeManageRecordDetail 管控执行记录详情
     * @return 结果
     */
    public int updateLabGradeManageRecordDetail(LabGradeManageRecordDetail labGradeManageRecordDetail);

    /**
     * 删除管控执行记录详情
     *
     * @param id 管控执行记录详情主键
     * @return 结果
     */
    public int deleteLabGradeManageRecordDetailById(Long id);

    /**
     * 批量删除管控执行记录详情
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteLabGradeManageRecordDetailByIds(Long[] ids);

    LabGradeManageRecordDetail selectLabGradeManageRecordDetailByRecordId(Long recordId);
}
