liyong
2026-05-11 d6388d041cc58b9f2be3ddcddfb6042e7af094f7
src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -63,6 +63,17 @@
                and batch_no = #{ew.batchNo}
            </if>
    </update>
    <update id="updateLocked">
        update stock_inventory
        set locked = #{locked}
        where product_model_id = #{ew.productModelId}
        <if test="batchNo == null">
            and batch_no is null
        </if>
            <if test="batchNo != null">
                and batch_no = #{ew.batchNo}
            </if>
    </update>
    <select id="pagestockInventory" resultType="com.ruoyi.stock.dto.StockInventoryDto">
        select si.id,
        si.qualitity,