From 2e72cd063e8c5ab79fbae9530790a2ffc476d113 Mon Sep 17 00:00:00 2001 From: linfso Date: Fri, 3 Jan 2025 17:23:35 +0800 Subject: [PATCH] md --- .../src/main/resources/mapper/EmisWarehouseInMapper.xml | 6 ++++++ 1 file changed, 6 insertions(+) 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}, '%')