package com.backendsys.service.Ai.Aiivh;

import com.backendsys.entity.Ai.Aiivh.AiivhMakeBroadcastAudioTask.AiivhMakeBroadcastAudioTaskDTO;
import org.springframework.transaction.annotation.Transactional;

import java.io.IOException;
import java.util.Map;

public interface AiivhMakeBroadcastAudioTaskService {
    Map<String, Object> queryAiivhMakeBroadcastAudioTask(Integer pageNum, Integer pageSize, AiivhMakeBroadcastAudioTaskDTO aiivhMakeBroadcastTaskDTO);
    Map<String, Object> queryAiivhMakeBroadcastAudioTaskDetail(AiivhMakeBroadcastAudioTaskDTO aiivhMakeBroadcastTaskDTO) throws IOException;
    Map<String, Object> insertAiivhMakeBroadcastAudioTask(AiivhMakeBroadcastAudioTaskDTO aiivhMakeBroadcastTaskDTO) throws IOException;

    @Transactional(rollbackFor = Exception.class)
    Map<String, Object> updateAiivhMakeBroadcastAudioTask(AiivhMakeBroadcastAudioTaskDTO aiivhMakeBroadcastAudioTaskDTO);

    Map<String, Object> deleteAiivhMakeBroadcastAudioTask(AiivhMakeBroadcastAudioTaskDTO aiivhMakeBroadcastTaskDTO);
}
