|
@@ -450,6 +450,8 @@
|
|
|
<if test="searchText !=null">
|
|
<if test="searchText !=null">
|
|
|
AND ( t.order_no LIKE concat('%', my_ex.likequery(#{searchText}), '%')
|
|
AND ( t.order_no LIKE concat('%', my_ex.likequery(#{searchText}), '%')
|
|
|
OR t.contact_phone LIKE concat('%', my_ex.likequery(#{searchText}), '%')
|
|
OR t.contact_phone LIKE concat('%', my_ex.likequery(#{searchText}), '%')
|
|
|
|
|
+ OR tmc.cus_name LIKE concat('%', my_ex.likequery(#{searchText}), '%')
|
|
|
|
|
+ OR tmc.cus_phone LIKE concat('%', my_ex.likequery(#{searchText}), '%')
|
|
|
OR t.address_full 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}), '%')
|
|
OR t.remarks LIKE concat('%', my_ex.likequery(#{searchText}), '%')
|
|
|
)
|
|
)
|