demand: TMS系统 - 运单管理 -寄件运单查询新、寄件运单查询、派件运单查询、中心运单查询-查询条件 增加 ‘始发网点’
committer: heyu
This commit is contained in:
parent
d26740e8f3
commit
d0a64c9549
@ -592,6 +592,9 @@
|
||||
<if test="sendSiteCode != null and sendSiteCode != ''">
|
||||
and a.send_site_code=#{sendSiteCode}
|
||||
</if>
|
||||
<if test="startSiteCode != null and startSiteCode != ''">
|
||||
and a.start_site_code=#{startSiteCode}
|
||||
</if>
|
||||
and (a.bl_virtual is null or a.bl_virtual != '1')
|
||||
<if test="billCode != null and billCode != ''">
|
||||
and a.bill_code like concat('%', #{billCode}, '%')
|
||||
@ -807,6 +810,10 @@
|
||||
and a.send_site_code=#{sendSiteCode}
|
||||
</if>
|
||||
|
||||
<if test="startSiteCode != null and startSiteCode != ''">
|
||||
and a.start_site_code=#{startSiteCode}
|
||||
</if>
|
||||
|
||||
<if test="blSign != null and blSign !=''">
|
||||
and a.bl_sign=#{blSign}
|
||||
</if>
|
||||
@ -1334,7 +1341,10 @@
|
||||
<if test="paymentRemark != null and paymentRemark != ''"> and payment_remark like concat('%', #{paymentRemark}, '%')</if>
|
||||
<if test="orderRemark != null and orderRemark != ''"> and order_remark like concat('%', #{orderRemark}, '%')</if>
|
||||
|
||||
<if test="sendSiteCode != null and sendSiteCode != ''">and (FIND_IN_SET(`send_site_code`,#{sendSiteCode}) or FIND_IN_SET(`start_site_code`,#{sendSiteCode}))
|
||||
<if test="sendSiteCode != null and sendSiteCode != ''">and FIND_IN_SET(`send_site_code`,#{sendSiteCode})
|
||||
</if>
|
||||
<if test="startSiteCode != null and startSiteCode != ''">
|
||||
and a.start_site_code=#{startSiteCode}
|
||||
</if>
|
||||
|
||||
<if test="remark != null and remark != ''"> and a.remark like concat('%', #{remark}, '%')</if>
|
||||
@ -1737,6 +1747,8 @@
|
||||
|
||||
<if test="sendSiteCode != null and sendSiteCode != ''"> and FIND_IN_SET(`send_site_code`,#{sendSiteCode})</if>
|
||||
|
||||
<if test="startSiteCode != null and startSiteCode != ''"> and FIND_IN_SET(`start_site_code`,#{startSiteCode})</if>
|
||||
|
||||
<if test="remark != null and remark != ''"> and a.remark like concat('%', #{remark}, '%')</if>
|
||||
<if test="createBy != null and createBy != ''"> and a.create_by= #{createBy}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and a.update_by=#{updateBy}</if>
|
||||
@ -1952,6 +1964,7 @@
|
||||
<where>
|
||||
a.del_flag='0' and a.order_status !='0' and a.order_status!='2'
|
||||
<if test="sendSiteCode != null and sendSiteCode != ''"> and a.send_site_code= #{sendSiteCode}</if>
|
||||
<if test="startSiteCode != null and startSiteCode != ''"> and a.start_site_code= #{startSiteCode}</if>
|
||||
<if test="sendCenterCode != null and sendCenterCode != ''"> and a.send_center_code= #{sendCenterCode}</if>
|
||||
<if test="dispatchUnderlingSiteCode != null and dispatchUnderlingSiteCode != ''">
|
||||
and a.dispatch_underling_site_code= #{dispatchUnderlingSiteCode}
|
||||
@ -2005,6 +2018,7 @@
|
||||
<where>
|
||||
a.del_flag='0' and a.order_status !='0' and a.order_status!='2'
|
||||
<if test="sendSiteCode != null and sendSiteCode != ''"> and a.send_site_code= #{sendSiteCode}</if>
|
||||
<if test="startSiteCode != null and startSiteCode != ''"> and a.start_site_code= #{startSiteCode}</if>
|
||||
<if test="sendCenterCode != null and sendCenterCode != ''"> and a.send_center_code= #{sendCenterCode}</if>
|
||||
<if test="dispatchUnderlingSiteCode != null and dispatchUnderlingSiteCode != ''">
|
||||
and a.dispatch_underling_site_code= #{dispatchUnderlingSiteCode}
|
||||
@ -2208,6 +2222,8 @@
|
||||
|
||||
<if test="sendSiteCode != null and sendSiteCode != ''"> and FIND_IN_SET(a.`send_site_code`,#{sendSiteCode})</if>
|
||||
|
||||
<if test="startSiteCode != null and startSiteCode != ''"> and FIND_IN_SET(a.`start_site_code`,#{startSiteCode})</if>
|
||||
|
||||
<if test="remark != null and remark != ''"> and a.remark like concat('%', #{remark}, '%')</if>
|
||||
<if test="createBy != null and createBy != ''"> and a.create_by= #{createBy}</if>
|
||||
<if test="updateBy != null and updateBy != ''"> and a.update_by=#{updateBy}</if>
|
||||
@ -2520,6 +2536,7 @@
|
||||
|
||||
<if test="dispatchUnderlingSiteCode != null and dispatchUnderlingSiteCode != ''"> and a.dispatch_underling_site_code=#{dispatchUnderlingSiteCode}</if>
|
||||
<if test="sendSiteCode != null and sendSiteCode != ''"> and a.send_site_code= #{sendSiteCode}</if>
|
||||
<if test="startSiteCode != null and startSiteCode != ''"> and a.start_site_code= #{startSiteCode}</if>
|
||||
|
||||
<if test="custNo != null and custNo != ''"> and a.cust_no=#{custNo}</if>
|
||||
<if test="transLineType != null and transLineType != ''"> and a.trans_line_type=#{transLineType}</if>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user