package com.ruoyi.project.production.mapper;

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

/**
 * 区域月度检查Mapper接口
 * 
 * @author ruoyi
 * @date 2023-03-30
 */
public interface TFivesMonthlyInspectionMapper 
{
    /**
     * 查询区域月度检查
     * 
     * @param id 区域月度检查ID
     * @return 区域月度检查
     */
    public TFivesMonthlyInspection selectTFivesMonthlyInspectionById(Long id);

    /**
     * 查询区域月度检查列表
     * 
     * @param tFivesMonthlyInspection 区域月度检查
     * @return 区域月度检查集合
     */
    @DataScope(deptAlias = "d")
    public List<TFivesMonthlyInspection> selectTFivesMonthlyInspectionList(TFivesMonthlyInspection tFivesMonthlyInspection);

    /**
     * 新增区域月度检查
     * 
     * @param tFivesMonthlyInspection 区域月度检查
     * @return 结果
     */
    public int insertTFivesMonthlyInspection(TFivesMonthlyInspection tFivesMonthlyInspection);

    /**
     * 修改区域月度检查
     * 
     * @param tFivesMonthlyInspection 区域月度检查
     * @return 结果
     */
    public int updateTFivesMonthlyInspection(TFivesMonthlyInspection tFivesMonthlyInspection);

    /**
     * 删除区域月度检查
     * 
     * @param id 区域月度检查ID
     * @return 结果
     */
    public int deleteTFivesMonthlyInspectionById(Long id);

    /**
     * 批量删除区域月度检查
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTFivesMonthlyInspectionByIds(Long[] ids);
}
