20240331 质量月报
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user