From 5fe2fc6a67f6a5641667dde6537a9849569aa89e Mon Sep 17 00:00:00 2001 From: linfso Date: Sun, 29 Dec 2024 13:34:20 +0800 Subject: [PATCH] md --- emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml b/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml index 72502fbe0..0a2ed000f 100644 --- a/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml @@ -171,7 +171,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" - 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} + )