package com.ruoyi.worktecket.mapper;

import java.util.List;

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

/**
 * 作业票安全措施模板Mapper接口
 * 
 * @author ruoyi
 * @date 2023-08-04
 */
public interface WorkTicketSafetyMeasuresMapper extends BaseMapper<WorkTicketSafetyMeasures>
{
    /**
     * 查询作业票安全措施模板
     * 
     * @param id 作业票安全措施模板主键
     * @return 作业票安全措施模板
     */
    public WorkTicketSafetyMeasures selectWorkTicketSafetyMeasuresById(String id);

    /**
     * 查询作业票安全措施模板列表
     * 
     * @param workTicketSafetyMeasures 作业票安全措施模板
     * @return 作业票安全措施模板集合
     */
    public List<WorkTicketSafetyMeasures> selectWorkTicketSafetyMeasuresList(WorkTicketSafetyMeasures workTicketSafetyMeasures);

    /**
     * 新增作业票安全措施模板
     * 
     * @param workTicketSafetyMeasures 作业票安全措施模板
     * @return 结果
     */
    public int insertWorkTicketSafetyMeasures(WorkTicketSafetyMeasures workTicketSafetyMeasures);

    /**
     * 修改作业票安全措施模板
     * 
     * @param workTicketSafetyMeasures 作业票安全措施模板
     * @return 结果
     */
    public int updateWorkTicketSafetyMeasures(WorkTicketSafetyMeasures workTicketSafetyMeasures);

    /**
     * 删除作业票安全措施模板
     * 
     * @param id 作业票安全措施模板主键
     * @return 结果
     */
    public int deleteWorkTicketSafetyMeasuresById(String id);

    /**
     * 批量删除作业票安全措施模板
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWorkTicketSafetyMeasuresByIds(String[] ids);
}
