|
@@ -45,7 +45,7 @@
|
|
|
<if test="name != null and name != ''">
|
|
|
and `name` LIKE CONCAT('%', #{name}, '%')
|
|
|
</if>
|
|
|
- <if test="inchargerId != null and inchargerId == '' ">
|
|
|
+ <if test="inchargerId != null and inchargerId != '' ">
|
|
|
and incharger_id = #{inchargerId}
|
|
|
</if>
|
|
|
<if test="startTime != null and endTime != null ">
|
|
@@ -55,7 +55,7 @@
|
|
|
and contacts_id in (select id from contacts where `name`LIKE CONCAT('%', #{contactsName}, '%'))
|
|
|
</if>
|
|
|
<if test="customerName != null and customerName != ''">
|
|
|
- and customer_id in (select id from custom where `name`LIKE CONCAT('%', #{customerName}, '%'))
|
|
|
+ and customer_id in (select id from custom where `custom_name`LIKE CONCAT('%', #{customerName}, '%'))
|
|
|
</if>
|
|
|
<if test="stageId != null ">
|
|
|
and stage_id = #{stageId}
|
|
@@ -75,7 +75,7 @@
|
|
|
<if test="name != null and name != ''">
|
|
|
and `name` LIKE CONCAT('%', #{name}, '%')
|
|
|
</if>
|
|
|
- <if test="inchargerId != null ">
|
|
|
+ <if test="inchargerId != null and inchargerId != ''">
|
|
|
and incharger_id = #{inchargerId}
|
|
|
</if>
|
|
|
<if test="startTime != null and endTime != null ">
|