package cn.cslg.report.service;

import cn.cslg.report.common.model.dto.AvoidDesignDirectionDTO;
import cn.cslg.report.common.model.vo.AvoidDesignWholeVO;
import org.springframework.transaction.annotation.Transactional;

/**
 * 回避设计方向的Service层接口
 *
 * @Author chenyu
 * @Data 2023/2/2
 */
public interface IAvoidDesignDirectionService {
    /**
     * 新增回避设计方案
     *
     * @param avoidDesignDirectionDTO 回避设计方案数据对象
     */
    @Transactional
    void addAvoidDesignDirection(AvoidDesignDirectionDTO avoidDesignDirectionDTO);

    /**
     * 查询回避设计方案
     *
     * @param reportId 报告id
     * @return 返回查询到的数据
     */
    AvoidDesignWholeVO getAvoidDesignDirection(Integer reportId);

    /**
     * 删除回避设计方案
     *
     * @param reportId 报告id
     */
    void deleteAvoidDesignDirection(Integer reportId);


}
