Closed timmyse2 closed 4 months ago
old order-records without reserved col function before => 新增關鍵欄位後, 遇到新舊格式的資料記錄差異使庫存處理發生偏差
if stock == 0 and reserved <0 then it allows to add in shopping cart and passes checkOrder();
e.g. select list limit = 0-(-4) = 4 <= 可下單量變成正值! 庫存0、預購-4
old order-records without reserved col function before
=> 新增關鍵欄位後, 遇到新舊格式的資料記錄差異使庫存處理發生偏差