|
@@ -82,7 +82,7 @@
|
|
|
and c.email LIKE CONCAT('%', #{email}, '%')
|
|
|
</if>
|
|
|
<if test="companyPhone != null and companyPhone != '' ">
|
|
|
- and c.company_phone = #{companyPhone}
|
|
|
+ and c.company_phone LIKE CONCAT('%', #{companyPhone}, '%')
|
|
|
</if>
|
|
|
<if test="customerLevelId != null ">
|
|
|
and c.customer_level_id = #{customerLevelId}
|
|
@@ -130,7 +130,7 @@
|
|
|
and email = #{email}
|
|
|
</if>
|
|
|
<if test="companyPhone != null ">
|
|
|
- and company_phone = #{companyPhone}
|
|
|
+ and company_phone LIKE CONCAT('%', #{companyPhone}, '%')
|
|
|
</if>
|
|
|
<if test="customerLevelId != null ">
|
|
|
and customer_level_id = #{customerLevelId}
|
|
@@ -184,7 +184,7 @@
|
|
|
and c.email LIKE CONCAT('%', #{email}, '%')
|
|
|
</if>
|
|
|
<if test="companyPhone != null ">
|
|
|
- and c.company_phone = #{companyPhone}
|
|
|
+ and c.company_phone LIKE CONCAT('%', #{companyPhone}, '%')
|
|
|
</if>
|
|
|
<if test="customerLevelId != null ">
|
|
|
and c.customer_level_id = #{customerLevelId}
|
|
@@ -235,7 +235,7 @@
|
|
|
and email = #{email}
|
|
|
</if>
|
|
|
<if test="companyPhone != null ">
|
|
|
- and company_phone = #{companyPhone}
|
|
|
+ and company_phone LIKE CONCAT('%', #{companyPhone}, '%')
|
|
|
</if>
|
|
|
<if test="customerLevelId != null ">
|
|
|
and customer_level_id = #{customerLevelId}
|
|
@@ -287,7 +287,7 @@
|
|
|
and email LIKE CONCAT('%', #{email}, '%')
|
|
|
</if>
|
|
|
<if test="companyPhone != null ">
|
|
|
- and company_phone = #{companyPhone}
|
|
|
+ and company_phone LIKE CONCAT('%', #{companyPhone}, '%')
|
|
|
</if>
|
|
|
<if test="customerLevelId != null ">
|
|
|
and customer_level_id = #{customerLevelId}
|
|
@@ -323,7 +323,7 @@
|
|
|
and email = #{email}
|
|
|
</if>
|
|
|
<if test="companyPhone != null ">
|
|
|
- and company_phone = #{companyPhone}
|
|
|
+ and company_phone LIKE CONCAT('%', #{companyPhone}, '%')
|
|
|
</if>
|
|
|
<if test="customerLevelId != null ">
|
|
|
and customer_level_id = #{customerLevelId}
|