@@ -225,7 +225,11 @@
</foreach>
</if>
<if test="fb_customer_phone != null and fb_customer_phone !=''">
- and fb_customer_phone like "%"#{fb_customer_phone,jdbcType=VARCHAR}"%"
+ and
+ ( fb_customer_phone like "%"#{fb_customer_phone,jdbcType=VARCHAR}"%"
+ or
+ fb_customer_name like "%"#{fb_customer_phone,jdbcType=VARCHAR}"%"
+ )
<if test="branche_name != null ">
and branche_name in
@@ -50,7 +50,7 @@
+ and ( fb_customer_phone like "%"#{fb_customer_phone,jdbcType=VARCHAR}"%" or fb_customer_name like "%"#{fb_customer_phone,jdbcType=VARCHAR}"%" )