Commit 52959f2b by 泽锋 李

fix

parent f53b3492
......@@ -771,7 +771,7 @@ namespace AutoTurnOver.Services
// 取开始结束时间
var btime = DateTime.Parse(col.ColumnName.Substring(2,10));
var etime = DateTime.Parse(col.ColumnName.Substring(13,10));
var s_sales =( (sales / ((int)Math.Ceiling((etime - btime).TotalDays)) ) + 1);
var s_sales =( sales / ((int)Math.Ceiling((etime - btime).TotalDays +1)) ) ;
while (btime.ToDayHome()<= etime.ToDayEnd())
{
var new_data = new sales_day_config_input_dto
......
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