package com.aucma.dms.service;

import com.aucma.dms.domain.DmsBillsInspectInstanceActivity;

import java.util.List;

/**
 * 点巡检工单实例节点Service接口
 *
 * @author Open Platform
 * @date 2024-01-23
 */
public interface IDmsBillsInspectInstanceActivityService
{
    /**
     * 查询点巡检工单实例节点
     *
     * @param instanceActivityId 点巡检工单实例节点主键
     * @return 点巡检工单实例节点
     */
    public DmsBillsInspectInstanceActivity selectDmsBillsInspectInstanceActivityByInstanceActivityId(Long instanceActivityId);

    /**
     * 查询点巡检工单实例节点列表
     *
     * @param dmsBillsInspectInstanceActivity 点巡检工单实例节点
     * @return 点巡检工单实例节点集合
     */
    public List<DmsBillsInspectInstanceActivity> selectDmsBillsInspectInstanceActivityList(DmsBillsInspectInstanceActivity dmsBillsInspectInstanceActivity);

    /**
     * 新增点巡检工单实例节点
     *
     * @param dmsBillsInspectInstanceActivity 点巡检工单实例节点
     * @return 结果
     */
    public int insertDmsBillsInspectInstanceActivity(DmsBillsInspectInstanceActivity dmsBillsInspectInstanceActivity);

    /**
     * 修改点巡检工单实例节点
     *
     * @param dmsBillsInspectInstanceActivity 点巡检工单实例节点
     * @return 结果
     */
    public int updateDmsBillsInspectInstanceActivity(DmsBillsInspectInstanceActivity dmsBillsInspectInstanceActivity);

    /**
     * 批量删除点巡检工单实例节点
     *
     * @param instanceActivityIds 需要删除的点巡检工单实例节点主键集合
     * @return 结果
     */
    public int deleteDmsBillsInspectInstanceActivityByInstanceActivityIds(Long[] instanceActivityIds);

    /**
     * 删除点巡检工单实例节点信息
     *
     * @param instanceActivityId 点巡检工单实例节点主键
     * @return 结果
     */
    public int deleteDmsBillsInspectInstanceActivityByInstanceActivityId(Long instanceActivityId);

    // ===== 审批流相关方法 - 已废弃 =====
    /**
     * @deprecated 审批流功能已废弃,不再使用
     */
    @Deprecated
    boolean selectUserIdByDmsBillsInspectInstanceActivityId(Long lubeInstanceId,Long userId);
    // ===== 审批流相关方法结束 =====

}
