| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  | 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 | 
					
						
							|  |  |  |  |     { | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// <20><>ȡ<EFBFBD><C8A1>ǰ<EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD>ƶ<EFBFBD><C6B6>˴<EFBFBD><CBB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         /// <param name="unitcode"></param> | 
					
						
							|  |  |  |  |         /// <param name="isono"></param> | 
					
						
							|  |  |  |  |         /// <returns></returns> | 
					
						
							|  |  |  |  |         [Function(Name = "[dbo].[Sp_APP_GetToDoItems]")]
 | 
					
						
							|  |  |  |  |         public IEnumerable<ToDoItem> 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<ToDoItem>)result.ReturnValue; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// <20><>ȡ<EFBFBD><C8A1>ǰ<EFBFBD>û<EFBFBD><C3BB>ڱ<EFBFBD><DAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         /// <param name="userId"></param> | 
					
						
							|  |  |  |  |         /// <returns></returns> | 
					
						
							|  |  |  |  |         [Function(Name = "[dbo].[Sp_Main_GetToDoItems]")]
 | 
					
						
							|  |  |  |  |         public IEnumerable<ToDoItem> Sp_Main_GetToDoItems([Parameter(DbType = "nvarchar(50)")] string userId) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), userId); | 
					
						
							|  |  |  |  |             return (ISingleResult<ToDoItem>)result.ReturnValue; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// <20><>ȡ<EFBFBD><C8A1>Ա<EFBFBD><D4B1>ѵ<EFBFBD>̲<EFBFBD> | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         /// <param name="planId"></param> | 
					
						
							|  |  |  |  |         /// <param name="workPostId"></param> | 
					
						
							|  |  |  |  |         /// <returns></returns> | 
					
						
							|  |  |  |  |         [Function(Name = "[dbo].[Sp_GetTraining_TaskItemTraining]")]
 | 
					
						
							|  |  |  |  |         public IEnumerable<TrainingTaskItemItem> 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<TrainingTaskItemItem>)result.ReturnValue; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// <20><>ȡ<EFBFBD><C8A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ĵ<EFBFBD> | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         /// <param name="projectId"></param> | 
					
						
							|  |  |  |  |         /// <param name="states"></param> | 
					
						
							|  |  |  |  |         /// <param name="pageIndex"></param> | 
					
						
							|  |  |  |  |         /// <param name="pageSize"></param> | 
					
						
							|  |  |  |  |         /// <returns></returns> | 
					
						
							|  |  |  |  |         [Function(Name = "[dbo].[SP_RectifyNoticesListByProjectStates]")]
 | 
					
						
							|  |  |  |  |         public IEnumerable<RectifyNoticesItem> 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<RectifyNoticesItem>)result.ReturnValue; | 
					
						
							|  |  |  |  |         } | 
					
						
							| 
									
										
										
										
											2025-03-29 00:01:50 +08:00
										 |  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// <20><>ȡ<EFBFBD>ֳ<EFBFBD><D6B3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD> | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         /// <param name="projectId"></param> | 
					
						
							|  |  |  |  |         /// <param name="unitId"></param> | 
					
						
							|  |  |  |  |         /// <param name="postId"></param> | 
					
						
							|  |  |  |  |         /// <param name="startTime"></param> | 
					
						
							|  |  |  |  |         /// <param name="endTime"></param> | 
					
						
							|  |  |  |  |         /// <returns></returns> | 
					
						
							|  |  |  |  |         [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) | 
					
						
							|  |  |  |  |         { | 
					
						
							| 
									
										
										
										
											2021-06-18 20:37:07 +08:00
										 |  |  |  |             IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), projectId, unitId, postId, startTime, endTime); | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |             return (ISingleResult<InOutstatisticsItem>)result.ReturnValue; | 
					
						
							|  |  |  |  |         } | 
					
						
							|  |  |  |  | 
 | 
					
						
							|  |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// <20><>ȡ<EFBFBD>ֳ<EFBFBD><D6B3><EFBFBD>λ<EFBFBD><CEBB><EFBFBD><EFBFBD> | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         /// <param name="projectId"></param> | 
					
						
							|  |  |  |  |         /// <param name="unitId"></param> | 
					
						
							|  |  |  |  |         /// <param name="postId"></param> | 
					
						
							|  |  |  |  |         /// <param name="day"></param> | 
					
						
							|  |  |  |  |         /// <param name="endTime"></param> | 
					
						
							|  |  |  |  |         /// <returns></returns> | 
					
						
							|  |  |  |  |         [Function(Name = "[dbo].[spAbsenceDutyReport]")]
 | 
					
						
							|  |  |  |  |         public IEnumerable<AbsenceDutyItem> 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<AbsenceDutyItem>)result.ReturnValue; | 
					
						
							|  |  |  |  |         } | 
					
						
							| 
									
										
										
										
											2023-07-24 21:06:07 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// <20><>ȡ<EFBFBD><C8A1>ǰ<EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         /// <param name="unitcode"></param> | 
					
						
							|  |  |  |  |         /// <param name="isono"></param> | 
					
						
							|  |  |  |  |         /// <returns></returns> | 
					
						
							|  |  |  |  |         [Function(Name = "[dbo].[Sp_Project_GetToDoItems]")]
 | 
					
						
							|  |  |  |  |         public IEnumerable<ToDoItem> 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<ToDoItem>)result.ReturnValue; | 
					
						
							|  |  |  |  |         } | 
					
						
							| 
									
										
										
										
											2025-03-29 00:01:50 +08:00
										 |  |  |  | 
 | 
					
						
							|  |  |  |  |         /// <summary> | 
					
						
							|  |  |  |  |         /// <20><>ȡ<EFBFBD><C8A1>ǰ<EFBFBD>û<EFBFBD><C3BB><EFBFBD><EFBFBD><EFBFBD>̨<EFBFBD><CCA8><EFBFBD><EFBFBD>Ԥ<EFBFBD><D4A4> | 
					
						
							|  |  |  |  |         /// </summary> | 
					
						
							|  |  |  |  |         /// <param name="userId"></param> | 
					
						
							|  |  |  |  |         /// <param name="sType"></param> | 
					
						
							|  |  |  |  |         /// <returns></returns> | 
					
						
							|  |  |  |  |         [Function(Name = "[dbo].[Sp_WorkBench_GetToDoItems]")]
 | 
					
						
							|  |  |  |  |         public IEnumerable<ToDoItem> Sp_WorkBench_GetToDoItems([Parameter(DbType = "nvarchar(200)")] string userId, [Parameter(DbType = "nvarchar(10)")] string sType) | 
					
						
							|  |  |  |  |         { | 
					
						
							|  |  |  |  |             IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), userId, sType); | 
					
						
							|  |  |  |  |             return (ISingleResult<ToDoItem>)result.ReturnValue; | 
					
						
							|  |  |  |  |         } | 
					
						
							| 
									
										
										
										
											2021-04-30 10:28:37 +08:00
										 |  |  |  |     } | 
					
						
							|  |  |  |  | } |