Ver Fonte

查询专利详情更新 2022/12/1

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

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

@@ -1441,28 +1441,28 @@
                     <if test="params.applicationName !=null and params.applicationName !=''  ">
                         and c.name like concat("%",#{params.applicationName}, "%")
                     </if>
-                    <if test="params.obligeeName!=null and params.obligeeName!=''">
+                    <if test="params.obligeeName !=null and params.obligeeName!=''">
                         and e.name like concat("%", #{params.obligeeName}, "%")
                     </if>
-                    <if test="params.numberIpc!=null and params.numberIpc!=''">
+                    <if test="params.numberIpc !=null and params.numberIpc!=''">
                         and f.code like concat("%", #{params.numberIpc}, "%")
                     </if>
-                    <if test="params.numberCpc!=null and params.numberCpc!=''">
+                    <if test="params.numberCpc !=null and params.numberCpc!=''">
                         and g.code like concat("%", #{params.numberCpc}, "%")
                     </if>
-                    <if test="params.numberUpc!=null and params.numberUpc!=''">
+                    <if test="params.numberUpc !=null and params.numberUpc!=''">
                         and h.code like concat("%", #{params.numberUpc}, "%")
                     </if>
-                    <if test="params.patentNo!=null">
-                        and a.patentNo like concat("%",#{params.patentNo} , "%")
+                    <if test="params.patentNo !=null and params.patentNo !=''">
+                        and a.patentNo like concat("%",#{params.patentNo}, "%")
                     </if>
-                    <if test="params.applicationNo!=null">
+                    <if test="params.applicationNo !=null and params.applicationNo !=''">
                         and a.applicationNo like concat("%", #{params.applicationNo}, "%")
                     </if>
-                    <if test="params.abstractStr!=null">
+                    <if test="params.abstractStr !=null and params.abstractStr !=''">
                         and a.abstract like concat("%", #{params.abstractStr}, "%")
                     </if>
-                    <if test="params.patentName!=null">
+                    <if test="params.patentName !=null and params.patentName !=''">
                         and a.`name` like concat("%", #{params.patentName}, "%")
                     </if>
                 </when>