package com.estate.expert.admin.service;
|
|
import com.alibaba.fastjson.JSONObject;
|
import com.deepoove.poi.XWPFTemplate;
|
|
import java.io.OutputStream;
|
|
/**
|
* 报告服务
|
**/
|
public interface ReportService {
|
|
/**
|
* 模糊评价
|
* @param checkTaskId 检查任务ID
|
* @param templateId 模板ID
|
* @return 模糊评价数据
|
*/
|
JSONObject fuzzyReportData(Integer checkTaskId, Integer templateId);
|
|
/**
|
* 模糊评价
|
* @param checkTaskId 检查任务ID
|
* @param templateId 模板ID
|
* @return 模糊评价模板
|
*/
|
XWPFTemplate fuzzyReport(Integer checkTaskId, Integer templateId);
|
|
/**
|
* 模糊评价PDF
|
* @param checkTaskId 检查任务ID
|
* @param templateId 模板ID
|
* @param outputStream 输出流
|
*/
|
void fuzzyReportPdf(Integer checkTaskId, Integer templateId, OutputStream outputStream);
|
|
/**
|
* 打分评价
|
* @param checkTaskId 检查任务ID
|
* @param templateId 模板ID
|
* @return 打分评价数据
|
*/
|
JSONObject scoreReportData(Integer checkTaskId, Integer templateId);
|
|
/**
|
* 打分评价
|
* @param checkTaskId 检查任务ID
|
* @param templateId 模板ID
|
* @return 打分评价模板
|
*/
|
XWPFTemplate scoreReport(Integer checkTaskId, Integer templateId);
|
|
/**
|
* 打分评价PDF
|
* @param checkTaskId 检查任务ID
|
* @param templateId 模板ID
|
* @param outputStream 输出流
|
*/
|
void scoreReportPdf(Integer checkTaskId, Integer templateId, OutputStream outputStream);
|
}
|