package com.ruoyi.worktecket.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.model.SysUserSimple;
import com.ruoyi.worktecket.domain.WorkTicketSignOption;
import com.ruoyi.worktecket.dto.SysPostSimpleDTO;
import org.apache.ibatis.annotations.Param;

/**
 * 作业票签字模板-签字项Mapper接口
 * 
 * @author ruoyi
 * @date 2023-08-04
 */
public interface WorkTicketSignOptionMapper extends BaseMapper<WorkTicketSignOption>
{

    /**
     * 查询作业票签字模板-签字项列表
     * 
     * @param workTicketSignOption 作业票签字模板-签字项
     * @return 作业票签字模板-签字项集合
     */
    public List<WorkTicketSignOption> selectWorkTicketSignOptionList(WorkTicketSignOption workTicketSignOption);

    /**
     * 查询签字项下用户信息
     * @param signOptionIdList
     * @return
     */
    public List<SysUserSimple> selectWorkTicketSignOptionUserBySignOptionIdList(@Param("signOptionIdList") List<String> signOptionIdList);


    /**
     * 查询签字项下岗位信息
     * @param signOptionIdList
     * @return
     */
    public List<SysPostSimpleDTO> selectWorkTicketSignOptionPostBySignOptionIdList(@Param("signOptionIdList") List<String> signOptionIdList);

}
