소스 검색

Merge remote-tracking branch 'origin/dev2' into dev2

chendayu 2 년 전
부모
커밋
4348e04628
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      RMS/src/main/java/cn/cslg/report/common/utils/PatentRightUtils.java

+ 4 - 1
RMS/src/main/java/cn/cslg/report/common/utils/PatentRightUtils.java

@@ -168,7 +168,10 @@ public class PatentRightUtils {
             //英文专利的权要拆分 ↓
         } else {
             content = content.substring(content.indexOf("1."));
-            if (contentOut.contains("1.")) {
+            if(contentOut.equals("")){
+                contentOut="";
+            }
+            else if (contentOut.contains("1.")) {
                 contentOut = contentOut.substring(contentOut.indexOf("1."));
             } else {
                 contentOut = contentOut.substring(contentOut.indexOf("1、"));