Commit 9febe042 by 泽锋 李

fix

parent 7e966dc3
......@@ -193,7 +193,7 @@ namespace AutoTurnOver.Services
{
throw new Exception("导已过期的数据务必带上时间范围");
}
double days = 31;
double days = 11;
try
{
days = (search_data.end_date.Value - search_data.start_date.Value).TotalDays;
......@@ -203,9 +203,9 @@ namespace AutoTurnOver.Services
{
}
if (days >= 30)
if (days >= 10)
{
throw new Exception("已经过期的数据时间范围不可超过30天");
throw new Exception("已经过期的数据时间范围不可超过10天");
}
}
......
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