chendayu 2 년 전
부모
커밋
a456ae1367
2개의 변경된 파일206개의 추가작업 그리고 60개의 파일을 삭제
  1. 203 59
      PAS/src/main/java/cn/cslg/pas/common/utils/PatentRightUtils.java
  2. 3 1
      PAS/src/main/java/cn/cslg/pas/service/UploadPatentBatchService.java

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 203 - 59
PAS/src/main/java/cn/cslg/pas/common/utils/PatentRightUtils.java


+ 3 - 1
PAS/src/main/java/cn/cslg/pas/service/UploadPatentBatchService.java

@@ -697,7 +697,9 @@ public class UploadPatentBatchService {
         patent.setPublicNo(patentCell.getPublicNo());
         uploadParamsVO.setSimpleStatus(patentCell.getStatue());
         uploadParamsVO.setPatent(patent);
-        uploadParamsVO.getPatent().setAgencyId(patentAgencyService.getAgencyStringIdByName(patentCell.getAgency()));
+        if (patentCell.getAgency() != null && !patentCell.getAgency().equals("")) {
+            uploadParamsVO.getPatent().setAgencyId(patentAgencyService.getAgencyStringIdByName(patentCell.getAgency()));
+        }
         try {
             //专利信息 OS_PATENT
             if (uploadParamsVO.getPatent() != null) {