|
@@ -30,6 +30,7 @@ import org.apache.poi.poifs.filesystem.DocumentEntry;
|
|
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
|
import org.apache.poi.poifs.filesystem.POIFSFileSystem;
|
|
import org.apache.poi.ss.formula.functions.T;
|
|
import org.apache.poi.ss.formula.functions.T;
|
|
import org.ddr.poi.html.HtmlRenderPolicy;
|
|
import org.ddr.poi.html.HtmlRenderPolicy;
|
|
|
|
+import org.springframework.beans.factory.annotation.Value;
|
|
import org.springframework.context.annotation.Lazy;
|
|
import org.springframework.context.annotation.Lazy;
|
|
import org.springframework.stereotype.Service;
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
@@ -61,7 +62,8 @@ public class ReportDocumentService extends ServiceImpl<ReportDocumentMapper, Rep
|
|
private final TemplateConfigService templateConfigService;
|
|
private final TemplateConfigService templateConfigService;
|
|
private final ReportFieldPatentLinkService reportFieldPatentLinkService;
|
|
private final ReportFieldPatentLinkService reportFieldPatentLinkService;
|
|
private final CompareMessageService compareMessageService;
|
|
private final CompareMessageService compareMessageService;
|
|
-
|
|
|
|
|
|
+ @Value("${fileURL}")
|
|
|
|
+ private String fileURL;
|
|
public String reportDocument(ReportDocument reportDocument) {
|
|
public String reportDocument(ReportDocument reportDocument) {
|
|
|
|
|
|
return Response.success();
|
|
return Response.success();
|
|
@@ -236,7 +238,7 @@ public class ReportDocumentService extends ServiceImpl<ReportDocumentMapper, Rep
|
|
patentListMap.put("abstractStr", item.get("abstractStr"));
|
|
patentListMap.put("abstractStr", item.get("abstractStr"));
|
|
patentListMap.put("compareFileName", "对比文件" + (i + 1));
|
|
patentListMap.put("compareFileName", "对比文件" + (i + 1));
|
|
patentListMap.put("applicationDate", item.get("applicationDate"));
|
|
patentListMap.put("applicationDate", item.get("applicationDate"));
|
|
- patentListMap.put("abstractPath", "http://139.224.24.90:8081" + item.get("abstractPath"));
|
|
|
|
|
|
+ patentListMap.put("abstractPath", fileURL + item.get("abstractPath"));
|
|
patentListMap.put("disclosures", disclosures);
|
|
patentListMap.put("disclosures", disclosures);
|
|
patentListMaps.add(patentListMap);
|
|
patentListMaps.add(patentListMap);
|
|
//给出现的专利添加别名
|
|
//给出现的专利添加别名
|