guoyuji
2024-03-15 3c87c3ff67c2193ab5bfaa31f0fb1ad5a68cd5af
north-glass-erp/src/main/resources/mapper/mm/FinishedGoodsInventory.xml
@@ -162,7 +162,7 @@
                 left join sd.order_detail od on fgi.order_id = od.order_id and fgi.order_number = od.order_number
                 left join sd.`order` o on fgi.order_id = o.order_id
        <where>
                and fgi.quantity_available>0
                and fgi.status = 0 and fgi.quantity_available>0
            <if test="orderDetail.finishedGoodsInventory.orderId != null and orderDetail.finishedGoodsInventory.orderId != ''">
                and fgi.order_id regexp #{orderDetail.finishedGoodsInventory.orderId}
            </if>