diff --git a/ruoyi-admin/src/main/resources/mapper/bas/BasStockMapper.xml b/ruoyi-admin/src/main/resources/mapper/bas/BasStockMapper.xml index 3bb6000..b9d6c4e 100644 --- a/ruoyi-admin/src/main/resources/mapper/bas/BasStockMapper.xml +++ b/ruoyi-admin/src/main/resources/mapper/bas/BasStockMapper.xml @@ -60,7 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" and bs.lot_no = #{lotNo} and bs.in_date between #{params.beginInDate} and #{params.endInDate} and bs.back_date between #{params.beginBackDate} and #{params.endBackDate} - and bs.product_id = #{productId} + and bs.product_id like concat('%', #{productId}, '%') and bs.product_name like concat('%', #{productName}, '%') and bs.roller_number like concat('%', #{rollerNumber}, '%') and bs.length = #{length}