package com.njcn.advance.service.assess;

import com.njcn.advance.pojo.dto.assess.AssessTreeDTO;
import com.njcn.advance.pojo.param.assess.AssessParam;
import com.njcn.advance.pojo.vo.assess.AssessResultVO;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

/**
 * Description:
 * Date: 2025/06/06  下午 3:22【需求编号】
 *
 * @author clam
 * @version V1.0.0
 */
public interface SecondaryEvaluationService {

    void evaluation(AssessParam param, MultipartFile file);

    List<AssessTreeDTO> evaluationTree(String deptId);

    /**
     * 查询评估结果
     * @param assessId
     * @return
     */
    AssessResultVO assessResult(String assessId);

    /**
     * 导出评估结果
     * @param response
     */
    void downAssessResult(HttpServletResponse response,String assessId) throws IOException;

    /**
     * 导出pms3.0模板
     * @param response
     * @param
     * @throws IOException
     */
    void downTemplateAssessResult(HttpServletResponse response) throws IOException;
}
