|
@@ -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) {
|