src/main/resources/mapper/stock/StockInventoryMapper.xml
@@ -31,6 +31,9 @@ <if test="ew.lockedQuantity != null and ew.lockedQuantity !=''"> locked_quantity = locked_quantity + #{ew.lockedQuantity}, </if> <if test="ew.source != null and ew.source != ''"> source = #{ew.source}, </if> update_time = now() </set> where product_model_id = #{ew.productModelId}