md
This commit is contained in:
parent
62ae54251e
commit
647c4b69cb
@ -57,7 +57,7 @@
|
|||||||
b.update_time, b.remark,a.bill_code,a.order_sn
|
b.update_time, b.remark,a.bill_code,a.order_sn
|
||||||
from emis_waybill a,emis_waybill_cargo b
|
from emis_waybill a,emis_waybill_cargo b
|
||||||
<where>
|
<where>
|
||||||
a.del_flag='0' and b.del_flag='0' and a.waybill_id=b.id and a.order_type='0'
|
a.del_flag='0' and b.del_flag='0' and b.waybill_id=a.id and a.order_type='0'
|
||||||
<if test="orderSn != null and orderSn != ''"> and ( FIND_IN_SET(b.`order_sn`,#{orderSn}) or b.order_sn like concat('%', #{orderSn}, '%') ) </if>
|
<if test="orderSn != null and orderSn != ''"> and ( FIND_IN_SET(b.`order_sn`,#{orderSn}) or b.order_sn like concat('%', #{orderSn}, '%') ) </if>
|
||||||
<if test="billCode != null and billCode != ''">
|
<if test="billCode != null and billCode != ''">
|
||||||
and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or b.bill_code like concat('%', #{billCode}, '%') )
|
and ( FIND_IN_SET(b.`bill_code`,#{billCode}) or b.bill_code like concat('%', #{billCode}, '%') )
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user