20240331 质量月报

This commit is contained in:
2024-03-31 01:12:53 +08:00
parent 1791d28bde
commit 4aa229ef1f
54 changed files with 6959 additions and 1709 deletions
@@ -18,6 +18,16 @@ namespace BLL
return Funs.DB.TestRun_MonthReport.FirstOrDefault(e => e.MonthReportId == monthReportId);
}
/// <summary>
/// 获取最新一条月报信息
/// </summary>
/// <param name="projectId"></param>
/// <returns></returns>
public static Model.TestRun_MonthReport GetReportByMaxDate(string projectId)
{
return (from x in Funs.DB.TestRun_MonthReport where x.ProjectId == projectId select x).OrderByDescending(e => e.MonthReportDate).FirstOrDefault();
}
/// <summary>
/// 根据月份获取开车月报告
/// </summary>