diff --git a/emis-biz/src/main/resources/mapper/EmisWaybillAttachmentMapper.xml b/emis-biz/src/main/resources/mapper/EmisWaybillAttachmentMapper.xml index 0941a31be..5af924f4e 100644 --- a/emis-biz/src/main/resources/mapper/EmisWaybillAttachmentMapper.xml +++ b/emis-biz/src/main/resources/mapper/EmisWaybillAttachmentMapper.xml @@ -29,7 +29,7 @@ and id = #{id} and waybill_id = #{waybillId} and ( FIND_IN_SET(`bill_code`,#{billCode}) or bill_code like concat('%', #{billCode}, '%') ) - and attach_type=#{attachType} + and FIND_IN_SET(attach_type,#{attachType}) and file_name like concat('%', #{fileName}, '%') and file_url like concat('%', #{fileUrl}, '%') and file_siez = #{fileSiez}