|
|
@@ -1319,7 +1319,7 @@
|
|
|
and b.contract_no = #{contractNo}
|
|
|
</if>
|
|
|
<if test="userName !=null">
|
|
|
- and e.buyer_name like concat( #{userName},'%')
|
|
|
+ and e.buyer_name like concat('%', #{userName},'%')
|
|
|
</if>
|
|
|
<if test="declarationBatch !=null">
|
|
|
and a.declaration_batch = #{declarationBatch}
|
|
|
@@ -1424,7 +1424,7 @@
|
|
|
and b.contract_no = #{contractNo}
|
|
|
</if>
|
|
|
<if test="userName !=null">
|
|
|
- and e.buyer_name like concat( #{userName},'%')
|
|
|
+ and e.buyer_name like concat('%', #{userName},'%')
|
|
|
</if>
|
|
|
<if test="declarationBatch !=null">
|
|
|
and a.declaration_batch = #{declarationBatch}
|