20230920 HSE管理月报

This commit is contained in:
2023-09-20 13:55:00 +08:00
parent 47f9a0e959
commit 374cad03f1
48 changed files with 6674 additions and 8104 deletions
+14 -1
View File
@@ -1,4 +1,5 @@
using System.Linq;
using System;
using System.Linq;
namespace BLL
{
@@ -100,5 +101,17 @@ namespace BLL
db.SubmitChanges();
}
}
/// <summary>
/// 根据时间段获取班前会议集合
/// </summary>
/// <param name="startTime"></param>
/// <param name="endTime"></param>
/// <param name="projectId"></param>
/// <returns></returns>
public static int GetCountByTime(DateTime startTime, DateTime endTime, string projectId)
{
return (from x in Funs.DB.Meeting_ClassMeeting where x.ClassMeetingDate >= startTime && x.ClassMeetingDate < endTime && x.ProjectId == projectId select x).Count();
}
}
}