解决当月代码OEE计算错误

main
xiaoguo 9 months ago
parent a6c632cc8e
commit 747257edc9

Binary file not shown.

@ -742,7 +742,8 @@ namespace PVDEMCS.Services.Repositories.Impl
if (item.TotalMonth == DateTime.Now.ToString("yyyy-MM"))
{
//初尝值不包括今天
// days = now.Day - 1;
//days = now.Day - 1;
days = now.Day;
//获取当月到当前的分钟
minutes = days * 60 * 24 + (now.Hour - 1) * 60 + now.Minute;
}

Loading…
Cancel
Save