md
This commit is contained in:
parent
e2cbba0415
commit
ba1724184c
@ -707,10 +707,13 @@
|
||||
<if test="params.isNeedPack != null and params.isNeedPack == 1">
|
||||
and not EXISTS ( select 1 from emis_tms_pack_dtl etp where etp.del_flag='0' and etp.main_bill_code=a.bill_code )
|
||||
and a.trans_line_type in(
|
||||
select line_code from emis_trans_line etl where etl.trans_type=1
|
||||
select line_code from emis_trans_line etl where etl.trans_type=1
|
||||
)
|
||||
and bl_sign!='1' and waybill_status!='40'
|
||||
and a.send_site_code=#{params.privSiteCode} and a.current_site_code=#{params.privSiteCode}
|
||||
|
||||
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
|
||||
and (a.send_site_code=#{params.privSiteCode} or a.current_site_code=#{params.privSiteCode})
|
||||
</if>
|
||||
</if>
|
||||
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user