|
|
@@ -91,6 +91,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="parentWaybillId != null "> and parent_waybill_id = #{parentWaybillId}</if>
|
|
|
<if test="invoiceFlag != null and invoiceFlag != ''"> and invoice_flag = #{invoiceFlag}</if>
|
|
|
<if test="adjustFlag != null and adjustFlag != ''"> and adjust_flag = #{adjustFlag}</if>
|
|
|
+ <if test="searchKeyword != null and searchKeyword != ''"> and (external_waybill_no like concat('%', #{searchKeyword}, '%') or
|
|
|
+ sender_name like concat('%', #{searchKeyword}, '%') or
|
|
|
+ sender_phone like concat('%', #{searchKeyword}, '%') or
|
|
|
+ receiver_name like concat('%', #{searchKeyword}, '%') or
|
|
|
+ receiver_phone like concat('%', #{searchKeyword}, '%'))</if>
|
|
|
|
|
|
<!-- 数据范围过滤 -->
|
|
|
${params.dataScope}
|