package com.ruoyi.project.production.mapper;

import java.util.List;
import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
import com.ruoyi.project.production.domain.TFivesRecordDetails;

/**
 * 整改记录详情Mapper接口
 * 
 * @author ruoyi
 * @date 2023-04-04
 */
public interface TFivesRecordDetailsMapper 
{
    /**
     * 查询整改记录详情
     * 
     * @param id 整改记录详情ID
     * @return 整改记录详情
     */
    public TFivesRecordDetails selectTFivesRecordDetailsById(Long id);

    /**
     * 查询整改记录详情列表
     * 
     * @param tFivesRecordDetails 整改记录详情
     * @return 整改记录详情集合
     */
    @DataScope(deptAlias = "d")
    public List<TFivesRecordDetails> selectTFivesRecordDetailsList(TFivesRecordDetails tFivesRecordDetails);

    /**
     * 新增整改记录详情
     * 
     * @param tFivesRecordDetails 整改记录详情
     * @return 结果
     */
    public int insertTFivesRecordDetails(TFivesRecordDetails tFivesRecordDetails);

    /**
     * 修改整改记录详情
     * 
     * @param tFivesRecordDetails 整改记录详情
     * @return 结果
     */
    public int updateTFivesRecordDetails(TFivesRecordDetails tFivesRecordDetails);

    /**
     * 删除整改记录详情
     * 
     * @param id 整改记录详情ID
     * @return 结果
     */
    public int deleteTFivesRecordDetailsById(Long id);

    /**
     * 批量删除整改记录详情
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTFivesRecordDetailsByIds(Long[] ids);
}
