Commit a194778d by 泽锋 李

fix

parent c49ad8d4
......@@ -245,8 +245,12 @@ namespace AutoTurnOver.DB
}
//所有需求标记为已下单
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)});
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) });
}
if (err_count)
{
......
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