src/main/resources/mapper/stock/ProductBorrowMapper.xml
@@ -75,6 +75,9 @@
            <if test="ew.model != null and ew.model != ''">
                AND pm.model LIKE CONCAT('%', #{ew.model}, '%')
            </if>
            <if test="ew.productName != null and ew.productName != ''">
                AND p.product_name LIKE CONCAT('%', #{ew.productName}, '%')
            </if>
        </where>
        ORDER BY pb.create_time DESC
    </select>