From 94e455b7de3e4fcff533016c988048bb718ce7b0 Mon Sep 17 00:00:00 2001 From: linfso Date: Mon, 31 Mar 2025 11:32:54 +0800 Subject: [PATCH] md --- .../resources/mapper/EmisWaybillAttachmentMapper.xml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillAttachmentMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillAttachmentMapper.xml index 36a4eb0c2..f50037a64 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillAttachmentMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillAttachmentMapper.xml @@ -29,11 +29,12 @@ and id = #{id} and waybill_id = #{waybillId} - and bill_code in - - #{item} - - + + and `bill_code` ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) and FIND_IN_SET(attach_type,#{attachType}) and file_name like concat('%', #{fileName}, '%')