package com.aucma.dms.mapper;

import com.aucma.dms.domain.DmsBillsLubeInstanceActivity;

import java.util.List;

/**
 * 润滑工单实例节点Mapper接口
 *
 * @author Open Platform
 * @date 2024-02-26
 */
public interface DmsBillsLubeInstanceActivityMapper
{
    /**
     * 查询润滑工单实例节点
     *
     * @param instanceActivityId 润滑工单实例节点主键
     * @return 润滑工单实例节点
     */
    public DmsBillsLubeInstanceActivity selectDmsBillsLubeInstanceActivityByInstanceActivityId(Long instanceActivityId);

    /**
     * 查询润滑工单实例节点列表
     *
     * @param dmsBillsLubeInstanceActivity 润滑工单实例节点
     * @return 润滑工单实例节点集合
     */
    public List<DmsBillsLubeInstanceActivity> selectDmsBillsLubeInstanceActivityList(DmsBillsLubeInstanceActivity dmsBillsLubeInstanceActivity);

    /**
     * 新增润滑工单实例节点
     *
     * @param dmsBillsLubeInstanceActivity 润滑工单实例节点
     * @return 结果
     */
    public int insertDmsBillsLubeInstanceActivity(DmsBillsLubeInstanceActivity dmsBillsLubeInstanceActivity);

    /**
     * 修改润滑工单实例节点
     *
     * @param dmsBillsLubeInstanceActivity 润滑工单实例节点
     * @return 结果
     */
    public int updateDmsBillsLubeInstanceActivity(DmsBillsLubeInstanceActivity dmsBillsLubeInstanceActivity);

    /**
     * 删除润滑工单实例节点
     *
     * @param instanceActivityId 润滑工单实例节点主键
     * @return 结果
     */
    public int deleteDmsBillsLubeInstanceActivityByInstanceActivityId(Long instanceActivityId);

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

    // ===== 审批流相关方法 - 已废弃 =====
    /**
     * @deprecated 审批流功能已废弃,不再使用
     */
    @Deprecated
    Long[] selectUserIdByDmsBillsLubeInstanceActivityId(Long repairInstanceId);
    // ===== 审批流相关方法结束 =====
}
