diff --git a/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml b/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml index a9d099c5c..0f3dd7633 100644 --- a/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml @@ -91,6 +91,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and confirm_status= '2' + + 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 ( a.in_no like concat('%', #{searchValue}, '%')