package com.ruoyi.project.shiftmgr.mapper;

import java.util.List;
import com.ruoyi.framework.aspectj.lang.annotation.DataScope;
import com.ruoyi.project.shiftmgr.domain.TShiftImprovement;

/**
 * 合理化建议记录Mapper接口
 * 
 * @author ruoyi
 * @date 2022-07-28
 */
public interface TShiftImprovementMapper 
{
    /**
     * 查询合理化建议记录
     * 
     * @param id 合理化建议记录ID
     * @return 合理化建议记录
     */
    public TShiftImprovement selectTShiftImprovementById(Long id);

    /**
     * 查询合理化建议记录列表
     * 
     * @param tShiftImprovement 合理化建议记录
     * @return 合理化建议记录集合
     */
    @DataScope(deptAlias = "d")
    public List<TShiftImprovement> selectTShiftImprovementList(TShiftImprovement tShiftImprovement);

    /**
     * 新增合理化建议记录
     * 
     * @param tShiftImprovement 合理化建议记录
     * @return 结果
     */
    public int insertTShiftImprovement(TShiftImprovement tShiftImprovement);

    /**
     * 修改合理化建议记录
     * 
     * @param tShiftImprovement 合理化建议记录
     * @return 结果
     */
    public int updateTShiftImprovement(TShiftImprovement tShiftImprovement);

    /**
     * 删除合理化建议记录
     * 
     * @param id 合理化建议记录ID
     * @return 结果
     */
    public int deleteTShiftImprovementById(Long id);

    /**
     * 批量删除合理化建议记录
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteTShiftImprovementByIds(Long[] ids);
}
