|
@@ -1484,13 +1484,18 @@
|
|
|
a.agencyid as agency_id, a.num2 as right_num, a.quoteno as quote_num, a.quotedno as quoted_num,
|
|
|
a.patsnap_family as patSnapFamily, a.patsnapfamilynum as patSnapFamilyNum
|
|
|
from os_patent a
|
|
|
- where patentno in
|
|
|
+ <where> patentno="0"
|
|
|
+ <if test="patentNo != null and patentNo.size!=0">
|
|
|
+ or patentno in
|
|
|
<foreach item="item" collection="patentNo" index="index" open="(" separator="," close=")">
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
+
|
|
|
+ </if>
|
|
|
<if test="n!=-1 and p!=-1">
|
|
|
limit #{n},#{p}
|
|
|
</if>
|
|
|
+ </where>
|
|
|
</select>
|
|
|
<!-- int getPatentNumber(@Param("patentNo")List<String> patentNo);-->
|
|
|
<select id="getPatentNumber" resultType="java.lang.Integer">
|