|
@@ -1263,10 +1263,12 @@
|
|
|
or a.id in (select pid from os_thematic_pid where zid = #{params.projectId})
|
|
|
</if>
|
|
|
<if test="params.importTaskId != null and params.importTaskId.size()!=0">
|
|
|
- or a.id in
|
|
|
- <foreach item="item" collection="params.importTaskId" index="index" open="(" separator="," close=")">
|
|
|
+ or a.patentno in
|
|
|
+ ( select PATENT_NO from ASSO_IMPORTTASK_PATENT where IMPORTTASK_ID in
|
|
|
+ <foreach item="item" collection="params.importTaskId" index="index" open="(" separator="," close=") ">
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
+ )
|
|
|
</if>
|
|
|
|
|
|
<if test="params.patentNos != null and params.patentNos.size()!=0">
|