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