This commit is contained in:
linfso 2024-12-29 13:34:20 +08:00
parent 1da174394d
commit 5fe2fc6a67

View File

@ -171,7 +171,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</if>
<if test="params.privSiteCode != null and params.privSiteCode != '88888'">
and EXISTS (select 1 from emis_waybill ewb where a.bill_code=ewb.bill_code and ewb.into_warehouse_code=#{params.privSiteCode})
and EXISTS (
select 1 from emis_waybill ewb where a.bill_code=ewb.bill_code and ewb.pickup_method in('1','3') and ewb.order_status in ('0','1','3') and ewb.into_warehouse_code=#{params.privSiteCode}
)
</if>
</where>