|
@@ -253,7 +253,9 @@
|
|
|
<if test="billNo != null and billNo != ''"> and item.bill_no = #{billNo}</if>
|
|
|
<if test="actId != null and actId != ''"> and item.act_id = #{actId}</if>
|
|
|
<if test="refno2 != null and refno2 != ''"> and item.refno2 = #{refno2}</if>
|
|
|
- <if test="refno3 != null and refno3 != ''"> and item.refno3 = #{refno3}</if>
|
|
|
+ <if test="refno3 != null and refno3 != ''">
|
|
|
+ and item.refno3 like concat('%', #{refno3}, '%') or item.bill_no like concat('%', #{refno3}, '%')
|
|
|
+ </if>
|
|
|
<if test="billId != null and billId != ''"> and item.bill_id like concat('%', #{billId}, '%')</if>
|
|
|
<if test="refno1 != null and refno1 != ''"> and corp.f_name like concat('%', #{refno1}, '%')</if>
|
|
|
<if test="sendUserId != null and sendUserId != ''"> and item.send_user_id like concat('%', #{sendUserId}, '%')</if>
|
|
@@ -406,4 +408,4 @@
|
|
|
order by a.id desc
|
|
|
</select>
|
|
|
|
|
|
-</mapper>
|
|
|
+</mapper>
|