namespace Model
{
using System.Collections.Generic;
using System.Data.Linq;
using System.Data.Linq.Mapping;
using System.Reflection;
using System;
public partial class SGGLDB : DataContext
{
///
/// 获取当前用户在移动端待办事项
///
///
///
///
[Function(Name = "[dbo].[Sp_APP_GetToDoItems]")]
public IEnumerable Sp_APP_GetToDoItems([Parameter(DbType = "nvarchar(50)")] string projectId, [Parameter(DbType = "nvarchar(50)")] string userId)
{
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, userId);
return (ISingleResult)result.ReturnValue;
}
///
/// 获取当前用户在本部待办事项
///
///
///
[Function(Name = "[dbo].[Sp_Main_GetToDoItems]")]
public IEnumerable Sp_Main_GetToDoItems([Parameter(DbType = "nvarchar(50)")] string userId)
{
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), userId);
return (ISingleResult)result.ReturnValue;
}
///
/// 获取人员培训教材
///
///
///
///
[Function(Name = "[dbo].[Sp_GetTraining_TaskItemTraining]")]
public IEnumerable Sp_GetTraining_TaskItemTraining([Parameter(DbType = "nvarchar(50)")] string planId, [Parameter(DbType = "nvarchar(200)")] string workPostId)
{
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), planId, workPostId);
return (ISingleResult)result.ReturnValue;
}
///
/// 获取隐患整改单
///
///
///
///
///
///
[Function(Name = "[dbo].[SP_RectifyNoticesListByProjectStates]")]
public IEnumerable SP_RectifyNoticesListByProjectStates([Parameter(DbType = "nvarchar(50)")] string projectId, [Parameter(DbType = "nvarchar(50)")] string states, [Parameter(DbType = "INT")] int pageIndex, [Parameter(DbType = "INT")] int pageSize)
{
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, states, pageIndex, pageSize);
return (ISingleResult)result.ReturnValue;
}
///
/// 获取现场单位考勤
///
///
///
///
///
///
///
[Function(Name = "[dbo].[spInOutManHoursReport]")]
public IEnumerable 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);
return (ISingleResult)result.ReturnValue;
}
///
/// 获取现场单位考勤
///
///
///
///
///
///
///
[Function(Name = "[dbo].[spAbsenceDutyReport]")]
public IEnumerable spAbsenceDutyReport([Parameter(DbType = "nvarchar(50)")] string projectId, [Parameter(DbType = "nvarchar(max)")] string unitId, [Parameter(DbType = "nvarchar(max)")] string workPostId, [Parameter(DbType = "DateTime")] DateTime? day)
{
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, unitId, workPostId, day);
return (ISingleResult)result.ReturnValue;
}
///
/// 获取当前用户在项目待办事项
///
///
///
///
[Function(Name = "[dbo].[Sp_Project_GetToDoItems]")]
public IEnumerable Sp_Project_GetToDoItems([Parameter(DbType = "nvarchar(50)")] string projectId, [Parameter(DbType = "nvarchar(50)")] string userId)
{
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, userId);
return (ISingleResult)result.ReturnValue;
}
}
}