package com.ruoyi.worktecket.service;

import java.util.List;
import com.ruoyi.worktecket.domain.WorkTicketSafetyMeasures;
import com.ruoyi.worktecket.dto.WorkTicketSafetyMeasuresDTO;

/**
 * 作业票安全措施模板Service接口
 *
 * @author ruoyi
 * @date 2023-08-04
 */
public interface IWorkTicketSafetyMeasuresService
{
    /**
     * 查询作业票安全措施模板
     *
     * @param id 作业票安全措施模板主键
     * @return 作业票安全措施模板
     */
    public WorkTicketSafetyMeasuresDTO selectWorkTicketSafetyMeasuresById(String id);

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

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

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

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

    /**
     * 列表分页查询
     * @param workTicketSafetyMeasures
     * @return
     */
    List<WorkTicketSafetyMeasures> selectList(WorkTicketSafetyMeasuresDTO workTicketSafetyMeasures);
}
