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