diff --git a/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml b/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml index 0f3dd7633..4d096f85e 100644 --- a/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWarehouseInMapper.xml @@ -103,7 +103,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" or a.bill_code like concat('%', #{searchValue}, '%') or a.order_sn like concat('%', #{searchValue}, '%') or exists ( - select 1 from emis_waybill ew where a.bill_code=ew.bill_code and ( + select 1 from emis_waybill ew where a.bill_code=ew.bill_code and ew.pickup_method in('1','3') and ew.order_status in ('0','1','3') and ( ew.receive_name like concat('%', #{searchValue}, '%') or ew.receive_mobile like concat('%', #{searchValue}, '%') ) )