|
@@ -311,7 +311,27 @@ public class GetPatentFromExcelThread extends Thread {
|
|
|
patent.setCpc(patentClassifies);
|
|
|
}
|
|
|
|
|
|
-
|
|
|
+ //装载说明书
|
|
|
+ if ( uploadParamsVO.getPatentInstructionText()!=null) {
|
|
|
+ List<Text> texts = new ArrayList<>();
|
|
|
+ if (uploadParamsVO.getPatentInstructionText().getManual() != null) {
|
|
|
+ Text text = new Text();
|
|
|
+ text.setTextContent(uploadParamsVO.getPatentInstructionText().getManual());
|
|
|
+ text.setIfOrigin(true);
|
|
|
+ text.setLanguage(contry);
|
|
|
+ texts.add(text);
|
|
|
+ }
|
|
|
+ if (uploadParamsVO.getPatentInstructionText().getManualOut() != null) {
|
|
|
+ Text text = new Text();
|
|
|
+ text.setTextContent(uploadParamsVO.getPatentInstructionText().getManualOut());
|
|
|
+ text.setIfOrigin(false);
|
|
|
+ text.setLanguage("CN");
|
|
|
+ texts.add(text);
|
|
|
+ }
|
|
|
+ if (texts.size() != 0) {
|
|
|
+ patent.setPublicFullText(texts);
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
|