Commit 44e968e1 by guanzhenshan

监控头程变化的服务增加运行日志记录

parent bbb8614f
......@@ -59,6 +59,9 @@ namespace Bailun.DC.CostFirstMonitoring
sql = "update dc_base_cost_first_finish set change_rate="+(item.diff*100/item.pre_avl_sku_cost_first)+ ",exception_type="+(item.diff>0?1:(item.diff<0?2:0))+" where id="+item.id;
cn.Execute(sql);
}
Console.WriteLine("本次更新" + list.Count + "条记录 " + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss"));
}
}
}
......
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