package com.ruoyi.worktecket.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.worktecket.domain.WorkTicketSignOptionRun;

/**
 * 执行-作业票签字项Mapper接口
 * 
 * @author ruoyi
 * @date 2023-08-04
 */
public interface WorkTicketSignOptionRunMapper extends BaseMapper<WorkTicketSignOptionRun>
{
    /**
     * 查询执行-作业票签字项
     * 
     * @param id 执行-作业票签字项主键
     * @return 执行-作业票签字项
     */
    public WorkTicketSignOptionRun selectWorkTicketSignOptionRunById(String id);

    /**
     * 查询执行-作业票签字项列表
     * 
     * @param workTicketSignOptionRun 执行-作业票签字项
     * @return 执行-作业票签字项集合
     */
    public List<WorkTicketSignOptionRun> selectWorkTicketSignOptionRunList(WorkTicketSignOptionRun workTicketSignOptionRun);

    /**
     * 新增执行-作业票签字项
     * 
     * @param workTicketSignOptionRun 执行-作业票签字项
     * @return 结果
     */
    public int insertWorkTicketSignOptionRun(WorkTicketSignOptionRun workTicketSignOptionRun);

    /**
     * 修改执行-作业票签字项
     * 
     * @param workTicketSignOptionRun 执行-作业票签字项
     * @return 结果
     */
    public int updateWorkTicketSignOptionRun(WorkTicketSignOptionRun workTicketSignOptionRun);

    /**
     * 删除执行-作业票签字项
     * 
     * @param id 执行-作业票签字项主键
     * @return 结果
     */
    public int deleteWorkTicketSignOptionRunById(String id);

    /**
     * 批量删除执行-作业票签字项
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkTicketSignOptionRunByIds(String[] ids);
}
