数据大屏优化
This commit is contained in:
+21
-4
@@ -11,13 +11,30 @@ namespace Model
|
||||
/// <summary>
|
||||
/// 安全危害因素统计
|
||||
/// </summary>
|
||||
/// <param name="userId"></param>
|
||||
/// <param name="year"></param>
|
||||
/// <param name="month"></param>
|
||||
/// <param name="unitId"></param>
|
||||
/// <param name="projectId"></param>
|
||||
/// <returns></returns>
|
||||
[Function(Name = "[dbo].[Sp_HazardFactor_Statistics]")]
|
||||
public IEnumerable<Statistics> Sp_HazardFactor_Statistics([Parameter(DbType = "nvarchar(20)")] string year, [Parameter(DbType = "nvarchar(20)")] string month, [Parameter(DbType = "nvarchar(200)")] string projectId)
|
||||
public IEnumerable<Statistics> Sp_HazardFactor_Statistics([Parameter(DbType = "nvarchar(20)")] string year, [Parameter(DbType = "nvarchar(20)")] string month, [Parameter(DbType = "nvarchar(200)")] string unitId, [Parameter(DbType = "nvarchar(200)")] string projectId)
|
||||
{
|
||||
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), year, month, projectId);
|
||||
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), year, month, unitId, projectId);
|
||||
return (ISingleResult<Statistics>)result.ReturnValue;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 职业健康危害因素统计
|
||||
/// </summary>
|
||||
/// <param name="year"></param>
|
||||
/// <param name="month"></param>
|
||||
/// <param name="unitId"></param>
|
||||
/// <param name="projectId"></param>
|
||||
/// <returns></returns>
|
||||
[Function(Name = "[dbo].[Sp_HazardFactorOccHealth_Statistics]")]
|
||||
public IEnumerable<Statistics> Sp_HazardFactorOccHealth_Statistics([Parameter(DbType = "nvarchar(20)")] string year, [Parameter(DbType = "nvarchar(20)")] string month, [Parameter(DbType = "nvarchar(200)")] string unitId, [Parameter(DbType = "nvarchar(200)")] string projectId)
|
||||
{
|
||||
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), year, month, unitId, projectId);
|
||||
return (ISingleResult<Statistics>)result.ReturnValue;
|
||||
}
|
||||
|
||||
@@ -86,7 +103,7 @@ namespace Model
|
||||
[Function(Name = "[dbo].[spInOutManHoursReport]")]
|
||||
public IEnumerable<InOutstatisticsItem> spInOutManHoursReport([Parameter(DbType = "nvarchar(50)")] string projectId, [Parameter(DbType = "nvarchar(max)")] string unitId, [Parameter(DbType = "nvarchar(max)")] string postId, [Parameter(DbType = "DateTime")] DateTime? startTime, [Parameter(DbType = "DateTime")] DateTime? endTime)
|
||||
{
|
||||
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, unitId, postId, startTime,endTime);
|
||||
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, unitId, postId, startTime, endTime);
|
||||
return (ISingleResult<InOutstatisticsItem>)result.ReturnValue;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user