
package cn.orionsec.ops.service.api;

import cn.orionsec.ops.entity.domain.SchedulerTaskMachineDO;

import java.util.List;

public interface SchedulerTaskMachineService {

    /**
     * 通过 taskId 查询
     *
     * @param taskId taskId
     * @return rows
     */
    List<SchedulerTaskMachineDO> selectByTaskId(Long taskId);

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

    /**
     * 通过 机器id 删除
     *
     * @param machineIdList machineIdList
     * @return effect
     */
    Integer deleteByMachineIdList(List<Long> machineIdList);

}
