106 lines
6.1 KiB
C#
106 lines
6.1 KiB
C#
namespace Model
|
|
{
|
|
using System;
|
|
using System.Data.Linq;
|
|
using System.Linq;
|
|
using System.Linq.Expressions;
|
|
using System.Data.Linq.Mapping;
|
|
using System.Reflection;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
|
|
public partial class SGGLDB : System.Data.Linq.DataContext
|
|
{
|
|
#region HJGL 焊接管理
|
|
/// <summary>
|
|
/// 单位工区进度分析
|
|
/// </summary>
|
|
/// <param name="baw_areano"></param>
|
|
/// <param name="bsu_unitcode"></param>
|
|
/// <returns></returns>
|
|
[Function(Name = "[dbo].[HJGL_sp_rpt_unit_baw_analyze]")]
|
|
public IEnumerable<HJGL_SpRptUnitBawAnalyze> HJGL_SpRptUnitBawAnalye([Parameter(DbType = "VARCHAR(400)")] string unitNo, [Parameter(DbType = "VARCHAR(50)")] string areaNo, [Parameter(DbType = "nvarchar(50)")] string installationId, [Parameter(DbType = "varchar(50)")] string ste_steeltype, [Parameter(DbType = "datetime")] DateTime? startTime, [Parameter(DbType = "datetime")] DateTime? endTime, [Parameter(DbType = "NVARCHAR(50)")] string projectId)
|
|
{
|
|
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), unitNo, areaNo, installationId, ste_steeltype, startTime, endTime, projectId);
|
|
return (ISingleResult<HJGL_SpRptUnitBawAnalyze>)result.ReturnValue;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 单位工区质量分析
|
|
/// </summary>
|
|
/// <param name="unitNo">单位</param>
|
|
/// <param name="areaNo">工区</param>
|
|
/// <param name="installationId">装置</param>
|
|
/// <param name="date1">起止日期</param>
|
|
/// <param name="date2">结束日期</param>
|
|
/// <returns></returns>
|
|
[Function(Name = "[dbo].[HJGL_sp_rpt_baw_zlfx]")]
|
|
public IEnumerable<HJGL_SpRptBawZlfx> HJGL_SpRptBawZlfx([Parameter(DbType = "VARCHAR(400)")] string unitNo, [Parameter(DbType = "VARCHAR(50)")] string areaNo, [Parameter(DbType = "nvarchar(50)")] string installationId, [Parameter(DbType = "datetime")] DateTime? date1, [Parameter(DbType = "datetime")] DateTime? date2, [Parameter(DbType = "VARCHAR(50)")] string ste_steeltype, [Parameter(DbType = "NVARCHAR(50)")] string projectId)
|
|
{
|
|
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), unitNo, areaNo, installationId, date1, date2, ste_steeltype, projectId);
|
|
return (ISingleResult<HJGL_SpRptBawZlfx>)result.ReturnValue;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 焊工业绩分析
|
|
/// </summary>
|
|
/// <param name="unitcode"></param>
|
|
/// <param name="workareacode"></param>
|
|
/// <param name="steel"></param>
|
|
/// <param name="wloName"></param>
|
|
/// <param name="date1"></param>
|
|
/// <param name="date2"></param>
|
|
/// <returns></returns>
|
|
[Function(Name = "[dbo].[HJGL_sp_rpt_welderPerformance]")]
|
|
public IEnumerable<HJGL_SpRpWelderPerformance> HJGL_SpRptWelderPerformance([Parameter(DbType = "varchar(50)")] string unitcode, [Parameter(DbType = "varchar(50)")] string workareacode, [Parameter(DbType = "varchar(50)")] string steel, [Parameter(DbType = "varchar(50)")] string wloName, [Parameter(DbType = "datetime")] DateTime? date1, [Parameter(DbType = "datetime")] DateTime? date2, [Parameter(DbType = "NVARCHAR(50)")] string projectId)
|
|
{
|
|
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), unitcode, workareacode, steel, wloName, date1, date2, projectId);
|
|
return (ISingleResult<HJGL_SpRpWelderPerformance>)result.ReturnValue;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 管线综合分析
|
|
/// </summary>
|
|
/// <param name="unitNo"></param>
|
|
/// <param name="isono"></param>
|
|
/// <param name="areaNo"></param>
|
|
/// <param name="steel"></param>
|
|
/// <returns></returns>
|
|
[Function(Name = "[dbo].[HJGL_sp_rpt_iso_analyze]")]
|
|
public IEnumerable<HJGL_SpRptIsoAnalyze> HJGL_SpRptIsoAnalyze([Parameter(DbType = "VARCHAR(400)")] string unitNo, [Parameter(DbType = "VARCHAR(100)")] string isono, [Parameter(DbType = "VARCHAR(50)")] string areaNo, [Parameter(DbType = "varchar(50)")] string steel, [Parameter(DbType = "NVARCHAR(50)")] string projectId)
|
|
{
|
|
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), unitNo, isono, areaNo, steel, projectId);
|
|
return (ISingleResult<HJGL_SpRptIsoAnalyze>)result.ReturnValue;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 预制安装进度
|
|
/// </summary>
|
|
/// <param name="unitNo"></param>
|
|
/// <param name="areaNo"></param>
|
|
/// <param name="steel"></param>
|
|
/// <returns></returns>
|
|
[Function(Name = "[dbo].[HJGL_sp_rpt_iso_yzazjd]")]
|
|
public IEnumerable<HJGL_SpRptIsoYzazjd> HJGL_SpRptIsoYzazjd([Parameter(DbType = "VARCHAR(400)")] string unitNo, [Parameter(DbType = "VARCHAR(50)")] string areaNo, [Parameter(DbType = "varchar(50)")] string steel, [Parameter(DbType = "NVARCHAR(50)")] string projectId)
|
|
{
|
|
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), unitNo, areaNo, steel, projectId);
|
|
return (ISingleResult<HJGL_SpRptIsoYzazjd>)result.ReturnValue;
|
|
}
|
|
|
|
/// <summary>
|
|
/// 介质综合分析
|
|
/// </summary>
|
|
/// <param name="unitcode"></param>
|
|
/// <param name="workareacode"></param>
|
|
/// <param name="sername"></param>
|
|
/// <returns></returns>
|
|
[Function(Name = "[dbo].[HJGL_sp_rpt_service]")]
|
|
public IEnumerable<HJGL_SpRptService> HJGL_SpRptService([Parameter(DbType = "varchar(50)")] string unitcode, [Parameter(DbType = "varchar(50)")]string workareacode, [Parameter(DbType = "varchar(50)")]string sername, [Parameter(DbType = "NVARCHAR(50)")] string projectId)
|
|
{
|
|
IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)MethodInfo.GetCurrentMethod()), unitcode, workareacode, sername, projectId);
|
|
return (ISingleResult<HJGL_SpRptService>)result.ReturnValue;
|
|
}
|
|
#endregion
|
|
}
|
|
}
|