|
|
@@ -1077,7 +1077,7 @@
|
|
|
and a.approval = #{approval,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
<if test="buyerName != null and buyerName != ''">
|
|
|
- and b.nickname = #{buyerName,jdbcType=VARCHAR}
|
|
|
+ and b.nickname like concat('%', #{buyerName},'%')
|
|
|
</if>
|
|
|
<if test="salesmanName != null and salesmanName != ''">
|
|
|
and c.name = #{salesmanName,jdbcType=VARCHAR}
|
|
|
@@ -1152,7 +1152,7 @@
|
|
|
and a.approval = #{approval,jdbcType=INTEGER}
|
|
|
</if>
|
|
|
<if test="buyerName != null and buyerName != ''">
|
|
|
- and b.nickname = #{buyerName,jdbcType=VARCHAR}
|
|
|
+ and b.nickname like concat('%', #{buyerName},'%')
|
|
|
</if>
|
|
|
<if test="salesmanName != null and salesmanName != ''">
|
|
|
and c.name = #{salesmanName,jdbcType=VARCHAR}
|
|
|
@@ -1338,7 +1338,7 @@
|
|
|
and a.finance_id is not null
|
|
|
</if>
|
|
|
<if test="buyerName != null and buyerName != ''">
|
|
|
- and b.nickname = #{buyerName,jdbcType=VARCHAR}
|
|
|
+ and b.nickname like concat('%',#{buyerName,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="depId != null">
|
|
|
and c.department_id = #{depId,jdbcType=VARCHAR}
|
|
|
@@ -1393,7 +1393,7 @@
|
|
|
and a.finance_id is not null
|
|
|
</if>
|
|
|
<if test="buyerName != null and buyerName != ''">
|
|
|
- and b.nickname = #{buyerName,jdbcType=VARCHAR}
|
|
|
+ and b.nickname like concat('%',#{buyerName,jdbcType=VARCHAR},'%')
|
|
|
</if>
|
|
|
<if test="depId != null">
|
|
|
and c.department_id = #{depId,jdbcType=VARCHAR}
|