Commit e5133238 by 泽锋 李

fix 缺货订单计算异常

parent dc9a2d52
...@@ -1693,7 +1693,15 @@ Truncate table dc_base_oms_sku_outofstock_temp; ...@@ -1693,7 +1693,15 @@ Truncate table dc_base_oms_sku_outofstock_temp;
foreach (var item in datas) foreach (var item in datas)
{ {
_connection.Insert(item); try
{
_connection.Insert(item);
}
catch (Exception ex)
{
Console.WriteLine("加载缺货订单异常"+ex.Message);
}
} }
_connection.Execute(@" _connection.Execute(@"
......
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