|
@@ -41,6 +41,9 @@ public class PatentSimpleFamilyService extends ServiceImpl<PatentSimpleFamilyMap
|
|
|
queryWrapper.in(PatentSimpleFamily::getId, ids);
|
|
|
queryWrapper.eq(PatentSimpleFamily::getType, type);
|
|
|
List<PatentSimpleFamily> patentSimpleFamilies =this.list(queryWrapper);
|
|
|
+ if(patentSimpleFamilies.size()==0){
|
|
|
+ return null;
|
|
|
+ }
|
|
|
return patentSimpleFamilies.get(0);
|
|
|
}
|
|
|
|