于继渤 2 anni fa
parent
commit
1ef75ddfbe
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      src/main/java/com/dk/mdm/mapper/ivt/OutboundMapper.xml

+ 5 - 0
src/main/java/com/dk/mdm/mapper/ivt/OutboundMapper.xml

@@ -226,6 +226,11 @@
             <if test="flgValidList != null and flgValidList.size()>0">
                 AND t.flg_valid =any(#{flgValidList, typeHandler=BooleanListTypeHandler})
             </if>
+            <if test="searchText !=null">
+                AND (  t.out_no LIKE concat('%', my_ex.likequery(#{searchText}), '%')
+                OR   t.remarks LIKE concat('%', my_ex.likequery(#{searchText}), '%')
+                )
+            </if>
         </where>
     </sql>