src/main/resources/mapper/stock/StockUninventoryMapper.xml
@@ -25,7 +25,7 @@
            </if>
            update_time = now()
        </set>
        where product_model_id = #{ew.productModelId} and qualitity >= #{ew.qualitity}
        where product_model_id = #{ew.productModelId} and stock_location = #{ew.stockLocation} and qualitity >= #{ew.qualitity}
    </update>
    <update id="updateAddStockUnInventory">
        update stock_uninventory
@@ -41,7 +41,7 @@
            </if>
            update_time = now()
        </set>
        where product_model_id = #{ew.productModelId}
        where product_model_id = #{ew.productModelId} and stock_location = #{ew.stockLocation}
    </update>
    <select id="pageStockUninventory" resultType="com.ruoyi.stock.dto.StockUninventoryDto">
        select su.id,