Ver código fonte

查询修改 2/9 lrj

lwhhszx 2 anos atrás
pai
commit
0393781047
1 arquivos alterados com 9 adições e 0 exclusões
  1. 9 0
      PAS/src/main/resources/mapper/PatentMapper.xml

+ 9 - 0
PAS/src/main/resources/mapper/PatentMapper.xml

@@ -1329,6 +1329,15 @@
                                 #{item}
                             </foreach>
                         </if>
+                        <if test="params.importTaskId != null and params.importTaskId.size()!=0">
+                            or 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>
                     <if test="params.projectId == null and params.patentNos != null and params.patentNos.size()!=0">