package com.ruoyi.frequency.worksshield.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.frequency.worksshield.entity.WorksShield;
import com.ruoyi.vo.UserVo;
import org.apache.ibatis.annotations.Param;

/**
 * 作品屏蔽Mapper接口
 * 
 * @author liwenlong
 * @date 2023-11-30
 */
public interface WorksShieldMapper  extends BaseMapper<WorksShield>
{
    /**
     * 查询作品屏蔽
     * 
     * @param id 作品屏蔽主键
     * @return 作品屏蔽
     */
    public WorksShield selectWorksShieldById(Long id);

    /**
     * 查询作品屏蔽列表
     * 
     * @param worksShield 作品屏蔽
     * @return 作品屏蔽集合
     */
    public List<WorksShield> selectWorksShieldList(WorksShield worksShield);

    /**
     * 新增作品屏蔽
     * 
     * @param worksShield 作品屏蔽
     * @return 结果
     */
    public int insertWorksShield(WorksShield worksShield);

    /**
     * 修改作品屏蔽
     * 
     * @param worksShield 作品屏蔽
     * @return 结果
     */
    public int updateWorksShield(WorksShield worksShield);

    void worksShield(@Param("req") WorksShield worksShield,@Param("userVo") UserVo userVo);
}
