Commit aa7ad4d1 by 泽锋 李

fix

parent 2d8c2cbc
......@@ -269,7 +269,7 @@ namespace AutoTurnOver.DB
data_detailed_list[tempIndex].quantity++;
data_detailed_list[tempIndex].share_quantity++;
demandQuantity--;
if(data_detailed_list.Count - 1 >= tempIndex)
if(data_detailed_list.Count - 1 > tempIndex)
{
throw new Exception($" {data_detailed_list.Count - 1} - {tempIndex} ");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment