
package cn.orionsec.ops.service.api;

import cn.orionsec.ops.entity.domain.ApplicationPipelineTaskDetailDO;
import cn.orionsec.ops.entity.vo.app.ApplicationPipelineTaskDetailVO;

import java.util.List;

public interface ApplicationPipelineTaskDetailService {

    /**
     * 获取流水线详情明细
     *
     * @param taskId taskId
     * @return rows
     */
    List<ApplicationPipelineTaskDetailVO> getTaskDetails(Long taskId);

    /**
     * 获取流水线详情明细
     *
     * @param taskId taskId
     * @return rows
     */
    List<ApplicationPipelineTaskDetailDO> selectTaskDetails(Long taskId);

    /**
     * 获取流水线详情明细
     *
     * @param taskIdList taskIdList
     * @return rows
     */
    List<ApplicationPipelineTaskDetailDO> selectTaskDetails(List<Long> taskIdList);

    /**
     * 通过 taskId 删除详情明细
     *
     * @param taskId taskId
     * @return effect
     */
    Integer deleteByTaskId(Long taskId);

    /**
     * 通过 taskId 删除详情明细
     *
     * @param taskIdList taskIdList
     * @return effect
     */
    Integer deleteByTaskIdList(List<Long> taskIdList);

}
