对接IDP系统项目开车数据
This commit is contained in:
@@ -448,12 +448,13 @@ namespace FineUIPro.Web.ZHGL.Information
|
||||
{
|
||||
a += item.TotalWorkNum ?? 0;
|
||||
}
|
||||
}
|
||||
decimal b = a / list.Count();
|
||||
if (d > b * 5)
|
||||
{
|
||||
err = name + "的总工时数超过前三个月平均值5倍,请核对后重新录入!";
|
||||
break;
|
||||
|
||||
//decimal b = a / list.Count();
|
||||
//if (d > b * 5)
|
||||
//{
|
||||
// err = name + "的总工时数超过前三个月平均值5倍,请核对后重新录入!";
|
||||
// break;
|
||||
//}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user