ruoyi-system/src/main/resources/mapper/system/TErpGoodsMapper.xml
@@ -131,6 +131,9 @@ LEFT JOIN t_crm_supplier t4 on t3.supplier_clinic_id = t4.id LEFT JOIN t_erp_supplier_outbound_goods t5 on t5.warehousing_batch_id =t1.id where t2.disabled = 0 and t2.warehouse_id = #{query.warehouseId} <if test="query.type != null and query.type ==1"> and #{time} > t1.expiry_date </if> <if test="query.goodsName != null and query.goodsName != ''"> and t3.goods_name like concat('%',#{query.goodsName},'%') </if>