This commit is contained in:
linfso 2025-01-03 17:24:28 +08:00
parent 2e72cd063e
commit f25d7489ed

View File

@ -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}, '%')
)
)