Commit a0f4962c by 泽锋 李

fix

parent fd3fbd5c
...@@ -229,7 +229,8 @@ namespace AutoTurnOver.DB ...@@ -229,7 +229,8 @@ namespace AutoTurnOver.DB
}, t); }, t);
} }
//所有需求标记为已下单
conn.Execute(" update dc_auto_first_order_sku set order_time=@order_time where id in @ids ", new { ids = itemGroup.Select(s => s.id), order_time = DateTime.Now }, t);
} }
catch (Exception ex) catch (Exception ex)
...@@ -251,11 +252,7 @@ namespace AutoTurnOver.DB ...@@ -251,11 +252,7 @@ namespace AutoTurnOver.DB
} }
if(sku_list!=null && sku_list.Count >= 1)
{
//所有需求标记为已下单
conn.Execute(" update dc_auto_first_order_sku set order_time=@order_time where id in @ids ", new { ids = sku_list.Select(s => s.id),order_time =DateTime.Now },t);
}
t.Commit(); t.Commit();
......
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