md
This commit is contained in:
parent
647c4b69cb
commit
9a65990f8e
@ -58,9 +58,9 @@
|
|||||||
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 b.waybill_id=a.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(a.`order_sn`,#{orderSn}) or a.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(a.`bill_code`,#{billCode}) or a.bill_code like concat('%', #{billCode}, '%') )
|
||||||
</if>
|
</if>
|
||||||
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
|
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
|
||||||
and (
|
and (
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user