20230920 HSE管理月报
This commit is contained in:
@@ -102,5 +102,10 @@ namespace BLL
|
||||
db.SubmitChanges();
|
||||
}
|
||||
}
|
||||
|
||||
public static int GetAccidentHandleByAccidentDate(DateTime startTime, DateTime endTime, string projectId, string unitId)
|
||||
{
|
||||
return (from x in Funs.DB.Accident_AccidentHandle where x.AccidentDate >= startTime && x.AccidentDate < endTime && x.ProjectId == projectId && x.UnitId == unitId select x).Count();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user