提交代码
This commit is contained in:
commit
dd3f0cfafe
|
@ -329,7 +329,7 @@ namespace BLL
|
|||
}
|
||||
public static List<Model.View_CQMS_InspectionManagementDetail> getInspectionManagementDetailListByCNProfessionalIdAndDate(string projectId, string cNProfessionalId, DateTime startDate, DateTime SoptDate, bool isOnceQualified)
|
||||
{
|
||||
List<Model.View_CQMS_InspectionManagementDetail> InspectionMangementList = (from x in Funs.DB.View_CQMS_InspectionManagementDetail select x).ToList();
|
||||
List<Model.View_CQMS_InspectionManagementDetail> InspectionMangementList = (from x in Funs.DB.View_CQMS_InspectionManagementDetail select x).ToList();
|
||||
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
{
|
||||
|
@ -397,9 +397,9 @@ namespace BLL
|
|||
}
|
||||
}
|
||||
|
||||
public static List<Model.View_CQMS_InspectionManagementDetail> getInspectionManagementDetailListByDate(string projectId, DateTime startDate, DateTime SoptDate, bool isOnceQualified)
|
||||
public static List<Model.ProcessControl_InspectionManagement> getInspectionManagementDetailListByDate(string projectId, DateTime startDate, DateTime SoptDate, bool isOnceQualified)
|
||||
{
|
||||
List<Model.View_CQMS_InspectionManagementDetail> InspectionMangementList = (from x in Funs.DB.View_CQMS_InspectionManagementDetail where x.ProjectId == projectId select x).ToList();
|
||||
List<Model.ProcessControl_InspectionManagement> InspectionMangementList = (from x in Funs.DB.ProcessControl_InspectionManagement where x.ProjectId == projectId select x).ToList();
|
||||
if (isOnceQualified == true)
|
||||
{
|
||||
InspectionMangementList = (from x in InspectionMangementList where x.IsOnceQualified == isOnceQualified select x).ToList();
|
||||
|
@ -410,5 +410,48 @@ namespace BLL
|
|||
}
|
||||
return InspectionMangementList;
|
||||
}
|
||||
|
||||
public static List<Model.ProcessControl_InspectionManagement> getInspectionManagementByCNProfessionalIdAndDate(string projectId, string cNProfessionalId, DateTime startDate, DateTime SoptDate, bool isOnceQualified)
|
||||
{
|
||||
List<Model.ProcessControl_InspectionManagement> InspectionMangementList = (from x in Funs.DB.ProcessControl_InspectionManagement select x).ToList();
|
||||
|
||||
if (!string.IsNullOrEmpty(projectId))
|
||||
{
|
||||
InspectionMangementList = (from x in InspectionMangementList where x.ProjectId == projectId select x).ToList();
|
||||
}
|
||||
if (!string.IsNullOrEmpty(cNProfessionalId) && cNProfessionalId != "0")
|
||||
{
|
||||
InspectionMangementList = (from x in InspectionMangementList where x.CNProfessionalId == cNProfessionalId select x).ToList();
|
||||
}
|
||||
if (isOnceQualified == true)
|
||||
{
|
||||
InspectionMangementList = (from x in InspectionMangementList where x.IsOnceQualified == isOnceQualified select x).ToList();
|
||||
}
|
||||
if (startDate != null && SoptDate != null)
|
||||
{
|
||||
InspectionMangementList = (from x in InspectionMangementList where x.InspectionDate >= startDate && x.InspectionDate <= SoptDate select x).ToList();
|
||||
}
|
||||
|
||||
return InspectionMangementList;
|
||||
}
|
||||
|
||||
public static List<Model.ProcessControl_InspectionManagement> getInspectionManagementByUnitIdAndDate(string projectId, string unitId, DateTime startDate, DateTime SoptDate, bool isOnceQualified)
|
||||
{
|
||||
List<Model.ProcessControl_InspectionManagement> InspectionMangementList = (from x in Funs.DB.ProcessControl_InspectionManagement where x.ProjectId == projectId select x).ToList();
|
||||
if (!string.IsNullOrEmpty(unitId) && unitId != "0")
|
||||
{
|
||||
InspectionMangementList = (from x in InspectionMangementList where x.UnitId == unitId select x).ToList();
|
||||
}
|
||||
if (isOnceQualified == true)
|
||||
{
|
||||
InspectionMangementList = (from x in InspectionMangementList where x.IsOnceQualified == isOnceQualified select x).ToList();
|
||||
}
|
||||
if (startDate != null && SoptDate != null)
|
||||
{
|
||||
InspectionMangementList = (from x in InspectionMangementList where x.InspectionDate >= startDate && x.InspectionDate <= SoptDate select x).ToList();
|
||||
}
|
||||
|
||||
return InspectionMangementList;
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using FineUIPro;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Configuration;
|
||||
using System.Drawing;
|
||||
|
@ -87,6 +88,7 @@ namespace BLL
|
|||
{
|
||||
string url = file.AttachUrl.Replace('\\', '/');
|
||||
fileUrl = BLL.UploadAttachmentService.ShowAttachment2("../../", url);
|
||||
|
||||
}
|
||||
}
|
||||
return fileUrl;
|
||||
|
|
|
@ -3241,6 +3241,16 @@ namespace BLL
|
|||
/// </summary>
|
||||
public const string TestRun_TrainRecordsUrl = "File\\Word\\TestRun\\生产人员培训执行情况报告.doc";
|
||||
|
||||
/// <summary>
|
||||
/// 总包质量管理组织机构图
|
||||
/// </summary>
|
||||
public const string CQMS_OrganizationalUrl = "File\\Word\\CQMS\\总包质量管理组织机构图.doc";
|
||||
|
||||
/// <summary>
|
||||
/// 分包质量管理组织机构图
|
||||
/// </summary>
|
||||
public const string CQMS_SubOrganizationalUrl = "File\\Word\\CQMS\\分包质量管理组织机构图.doc";
|
||||
|
||||
/// <summary>
|
||||
/// 签到表
|
||||
/// </summary>
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
using System;
|
||||
using NPOI.SS.UserModel;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using System.Web.UI.WebControls;
|
||||
|
|
|
@ -1611,10 +1611,10 @@ namespace BLL
|
|||
}
|
||||
}
|
||||
|
||||
public static List<string> GetUserNameListsByWorkPostName(string projectId, string workPostName)
|
||||
{
|
||||
return (from x in Funs.DB.View_ProjectUserWorkPost where x.ProjectId == projectId && x.WorkPostName == workPostName select x.UserName).ToList();
|
||||
}
|
||||
//public static List<string> GetUserNameListsByWorkPostName(string projectId, string workPostName)
|
||||
//{
|
||||
// return (from x in Funs.DB.View_ProjectUserWorkPost where x.ProjectId == projectId && x.WorkPostName == workPostName select x.UserName).ToList();
|
||||
//}
|
||||
|
||||
public static List<string> GetUserNameListsByUnitIdWorkPostName(string projectId,string unitId, string workPostName)
|
||||
{
|
||||
|
|
|
@ -33,7 +33,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
|||
/// </summary>
|
||||
public void BindGrid()
|
||||
{
|
||||
string strSql = @"SELECT distinct P.InspectionId,
|
||||
string strSql = @"SELECT P.InspectionId,
|
||||
P.ProjectId,
|
||||
P.UnitId,
|
||||
P.CNProfessionalId,
|
||||
|
@ -50,14 +50,13 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
|||
(CASE WHEN IsOnceQualified='True' THEN '是' ELSE '否' END)AS IsOnceQualified,
|
||||
P.InspectionCode,
|
||||
P.InspectionDate"
|
||||
+ @" FROM ProcessControl_InspectionManagementDetail AS D"
|
||||
+ @" LEFT JOIN ProcessControl_InspectionManagement AS P on P.InspectionId=D.InspectionId"
|
||||
+ @" LEFT JOIN Base_Unit AS U ON U.UnitId = P.UnitId"
|
||||
+ @" LEFT JOIN Base_CNProfessional C ON C.CNProfessionalId = P.CNProfessionalId"
|
||||
+ @" LEFT JOIN WBS_UnitWork AS UnitWork ON UnitWork.UnitWorkId = P.UnitWorkId"
|
||||
+ @" LEFT JOIN WBS_DivisionProject AS DP ON DP.DivisionProjectId = P.Branch"
|
||||
+ @" LEFT JOIN WBS_BreakdownProject AS BP ON BP.BreakdownProjectId = P.ControlPointType"
|
||||
+ @" WHERE P.ProjectId=@ProjectId ";
|
||||
+ @" FROM ProcessControl_InspectionManagement AS P "
|
||||
+ @" LEFT JOIN Base_Unit AS U ON U.UnitId = P.UnitId"
|
||||
+ @" LEFT JOIN Base_CNProfessional C ON C.CNProfessionalId = P.CNProfessionalId"
|
||||
+ @" LEFT JOIN WBS_UnitWork AS UnitWork ON UnitWork.UnitWorkId = P.UnitWorkId"
|
||||
+ @" LEFT JOIN WBS_DivisionProject AS DP ON DP.DivisionProjectId = P.Branch"
|
||||
+ @" LEFT JOIN WBS_BreakdownProject AS BP ON BP.BreakdownProjectId = P.ControlPointType"
|
||||
+ @" WHERE P.ProjectId=@ProjectId ";
|
||||
List<SqlParameter> listStr = new List<SqlParameter>();
|
||||
listStr.Add(new SqlParameter("@ProjectId", this.CurrUser.LoginProjectId));
|
||||
if (drpUnitWork.SelectedValue != BLL.Const._Null)
|
||||
|
|
|
@ -60,21 +60,21 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
|||
{
|
||||
if (DateTime.Now < NewDate)
|
||||
{
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListSunNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListOneNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
if (ZyType == "1")
|
||||
{
|
||||
//统计所给时间段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
//统计所给时间段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
}
|
||||
else if (ZyType == "2")
|
||||
{
|
||||
//统计所给时间段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
//统计所给时间段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -99,23 +99,23 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
|||
}
|
||||
else
|
||||
{
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListSunNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListOneNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
NextDate = Convert.ToDateTime(StartDate.Year + "-" + StartDate.Month + "-25");
|
||||
if (ZyType == "1")
|
||||
{
|
||||
|
||||
//统计所给事件段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NextDate, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NextDate, false);
|
||||
//统计所给事件段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NextDate, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NextDate, true);
|
||||
}
|
||||
else if (ZyType == "2")
|
||||
{
|
||||
//统计所给事件段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NextDate, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NextDate, false);
|
||||
//统计所给事件段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NextDate, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NextDate, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -141,22 +141,22 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
|||
{
|
||||
if (DateTime.Now < NewDate)
|
||||
{
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListSunNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListOneNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
if (ZyType == "1")
|
||||
{
|
||||
//统计所给事件段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
//统计所给事件段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
|
||||
}
|
||||
else if(ZyType=="2")
|
||||
{
|
||||
//统计所给事件段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
//统计所给事件段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
|
||||
}
|
||||
else
|
||||
|
@ -185,21 +185,21 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
|||
}
|
||||
else
|
||||
{
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListSunNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListOneNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
if (ZyType == "1")
|
||||
{
|
||||
//统计所给事件段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, false);
|
||||
//统计所给事件段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
|
||||
}
|
||||
else if (ZyType == "2")
|
||||
{
|
||||
//统计所给事件段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, false);
|
||||
//统计所给事件段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -240,21 +240,21 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
|||
NewDate = Convert.ToDateTime(NextDate.Year + "-" + NextDate.Month + "-25");
|
||||
if (DateTime.Now < NewDate)
|
||||
{
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListSunNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListOneNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
if (ZyType == "1")
|
||||
{
|
||||
//统计所给事件段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
//统计所给事件段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
}
|
||||
else if(ZyType=="2")
|
||||
{
|
||||
//统计所给事件段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, false);
|
||||
//统计所给事件段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, DateTime.Now, true);
|
||||
|
||||
}
|
||||
else
|
||||
|
@ -281,20 +281,20 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
|||
}
|
||||
else
|
||||
{
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListSunNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListOneNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
if (ZyType == "1")
|
||||
{
|
||||
//统计所给事件段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, false);
|
||||
//统计所给事件段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
|
||||
}
|
||||
else if(ZyType=="2")
|
||||
{ //统计所给事件段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, false);
|
||||
//统计所给事件段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, NewDate, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -360,22 +360,22 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
|||
Model.InspectionManagementStatistics Statistics = new Model.InspectionManagementStatistics();
|
||||
|
||||
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListSunNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.View_CQMS_InspectionManagementDetail> managementListOneNumber = new List<Model.View_CQMS_InspectionManagementDetail>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||
if (ZyType == "1")
|
||||
{
|
||||
//统计所给时间段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, EndDate, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, EndDate, false);
|
||||
//统计所给时间段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, EndDate, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByCNProfessionalIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, EndDate, true);
|
||||
|
||||
}
|
||||
else if(ZyType=="2")
|
||||
{
|
||||
//统计所给时间段的全部数量
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, EndDate, false);
|
||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, EndDate, false);
|
||||
//统计所给时间段的合格数量
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, EndDate, true);
|
||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementByUnitIdAndDate(this.CurrUser.LoginProjectId, cNProfessionalId, StartDate, EndDate, true);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
|||
/// </summary>
|
||||
public void BindGrid()
|
||||
{
|
||||
string strSql = @"SELECT distinct P.InspectionId,
|
||||
string strSql = @"SELECT P.InspectionId,
|
||||
P.ProjectId,
|
||||
P.UnitId,
|
||||
P.CNProfessionalId,
|
||||
|
@ -50,8 +50,7 @@ namespace FineUIPro.Web.CQMS.ProcessControl
|
|||
BP.Class,
|
||||
P.AcceptanceSite,
|
||||
P.AcceptanceCheckMan"
|
||||
+ @" FROM ProcessControl_InspectionManagementDetail AS D"
|
||||
+ @" LEFT JOIN ProcessControl_InspectionManagement AS P on P.InspectionId=D.InspectionId"
|
||||
+ @" FROM ProcessControl_InspectionManagement AS P"
|
||||
+ @" LEFT JOIN Base_Unit AS U ON U.UnitId = P.UnitId"
|
||||
+ @" LEFT JOIN Base_CNProfessional C ON C.CNProfessionalId = P.CNProfessionalId"
|
||||
+ @" LEFT JOIN WBS_UnitWork AS UnitWork ON UnitWork.UnitWorkId = P.UnitWorkId"
|
||||
|
|
|
@ -6,202 +6,479 @@
|
|||
<head runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title>质量管理组织机构</title>
|
||||
|
||||
<style type="text/css">
|
||||
.auto-style91 {
|
||||
width: 1304px;
|
||||
height: 675px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
.auto-style92{
|
||||
width:1276px;
|
||||
height:672px;
|
||||
margin-bottom:0px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<form id="form1" runat="server">
|
||||
<table style="background-color: white;">
|
||||
<tr style="height: 50px">
|
||||
<td>
|
||||
<asp:Label ID="lblProjectName" runat="server" Text="项目名称:"></asp:Label>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div style="background-image: url('../../res/images/Organizational.png');" class="auto-style91">
|
||||
<table class="auto-style91">
|
||||
<tr style="height: 90px; vertical-align: central">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td colspan="3">
|
||||
<asp:Label ID="Label1" runat="server" Text="项目经理:"></asp:Label>
|
||||
</td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 75px">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 70px">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px">
|
||||
<asp:Label ID="Label2" runat="server" Text="设计经理:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px">
|
||||
<asp:Label ID="Label3" runat="server" Text="采购经理:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px">
|
||||
<asp:Label ID="Label4" runat="server" Text="施工经理:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px">
|
||||
<asp:Label ID="Label5" runat="server" Text="质量经理:"></asp:Label></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td colspan="2">
|
||||
<asp:Label ID="Label6" runat="server" Text="HSE经理:"></asp:Label></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px">
|
||||
<asp:Label ID="Label7" runat="server" Text="开车经理:"></asp:Label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 82px">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 85px">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px; vertical-align:top">
|
||||
<asp:Label ID="Label8" runat="server" Text="仓库管理员:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px; vertical-align:top">
|
||||
<asp:Label ID="Label9" runat="server" Text="文控工程师:"></asp:Label></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px; vertical-align:top">
|
||||
<asp:Label ID="Label10" runat="server" Text="HSE工程师:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px; vertical-align:top">
|
||||
<asp:Label ID="Label11" runat="server" Text="开车工程师:"></asp:Label></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 65px">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 100px">
|
||||
<td style="width: 25px"></td>
|
||||
<td colspan="2" style="vertical-align:top">
|
||||
<asp:Label ID="Label12" runat="server" Text="土建工程师:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td colspan="3" style="vertical-align:top">
|
||||
<asp:Label ID="Label13" runat="server" Text="设备工程师:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td colspan="2" style="vertical-align:top">
|
||||
<asp:Label ID="Label14" runat="server" Text="管道工程师:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px;vertical-align:top">
|
||||
<asp:Label ID="Label15" runat="server" Text="电气工程师:"></asp:Label></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td colspan="3" style="vertical-align:top">
|
||||
<asp:Label ID="Label16" runat="server" Text="仪表工程师:"></asp:Label></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<f:PageManager ID="PageManager1" runat="server" />
|
||||
<f:ContentPanel ID="ContentPanel1" IsFluid="true" runat="server" BodyPadding="0px"
|
||||
ShowBorder="true" ShowHeader="true" Title="内容面板">
|
||||
<div style="text-align:right">
|
||||
<f:Button ID="btnOut" EnablePostBack="true" runat="server" Text="导出" Icon="Printer" OnClick="btnOut_Click" EnableAjax="false" DisableControlBeforePostBack="false"></f:Button>
|
||||
</div>
|
||||
<div id="divOrganizational" runat="server" style="background-image: url('../../res/images/Organizational.png');" class="auto-style91">
|
||||
<table class="auto-style91">
|
||||
<tr style="height: 90px; vertical-align: central">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td colspan="3">
|
||||
|
||||
<asp:Label ID="Label1" runat="server" Text="项目经理:"></asp:Label>
|
||||
</td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 28px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 75px">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 28px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 70px">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px">
|
||||
<asp:Label ID="Label2" runat="server" Text="设计经理:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px">
|
||||
<asp:Label ID="Label3" runat="server" Text="采购经理:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px;">
|
||||
|
||||
<asp:Label ID="Label4" runat="server" Text="施工经理:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px">
|
||||
|
||||
<asp:Label ID="Label5" runat="server" Text="质量经理:"></asp:Label></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td colspan="2" style="text-align:center">
|
||||
<asp:Label ID="Label6" runat="server" Text="HSE经理:"></asp:Label></td>
|
||||
<td style="width: 28px"></td>
|
||||
<td style="width: 170px;text-align:center">
|
||||
<asp:Label ID="Label7" runat="server" Text="开车经理:"></asp:Label>
|
||||
</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 82px">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 28px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 85px">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px; vertical-align: top">
|
||||
|
||||
<asp:Label ID="Label8" runat="server" Text="仓库管理员:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px; vertical-align: top">
|
||||
|
||||
<asp:Label ID="Label9" runat="server" Text="文控工程师:"></asp:Label></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px; vertical-align: top">
|
||||
|
||||
<asp:Label ID="Label10" runat="server" Text="HSE工程师:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 28px"></td>
|
||||
<td style="width: 170px;vertical-align: top">
|
||||
|
||||
<asp:Label ID="Label11" runat="server" Text="开车工程师:"></asp:Label></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 65px">
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 28px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr style="height: 100px">
|
||||
<td style="width: 25px"></td>
|
||||
<td colspan="2" style="vertical-align: top">
|
||||
<asp:Label ID="Label12" runat="server" Text="土建工程师:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td colspan="3" style="vertical-align: top">
|
||||
|
||||
<asp:Label ID="Label13" runat="server" Text="设备工程师:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td colspan="2" style="vertical-align: top">
|
||||
|
||||
<asp:Label ID="Label14" runat="server" Text="管道工程师:"></asp:Label></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px; vertical-align: top">
|
||||
|
||||
<asp:Label ID="Label15" runat="server" Text="电气工程师:"></asp:Label></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td colspan="3" style="vertical-align: top">
|
||||
|
||||
<asp:Label ID="Label16" runat="server" Text="仪表工程师:"></asp:Label></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 25px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 17px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 160px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td style="width: 35px"></td>
|
||||
<td style="width: 150px"></td>
|
||||
<td style="width: 20px"></td>
|
||||
<td style="width: 28px"></td>
|
||||
<td style="width: 170px"></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="divSubOrganizational" runat="server" style="background-image: url('../../res/images/SubOrganizational.png');" class="auto-style92" >
|
||||
<table class="auto-style92">
|
||||
<tr style="height:35px">
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:150px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:120px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:190px;">
|
||||
</td>
|
||||
<td style="width:40px;">
|
||||
</td>
|
||||
<td style="width:100px;">
|
||||
</td>
|
||||
<td style="width:85px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:155px;">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr><tr style="height:45px">
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:150px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:120px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:190px;">
|
||||
|
||||
<asp:Label ID="Label17" runat="server" Text="项目经理:"></asp:Label>
|
||||
</td>
|
||||
<td style="width:40px;">
|
||||
</td>
|
||||
<td style="width:100px;">
|
||||
</td>
|
||||
<td style="width:85px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:155px;">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr><tr style="height:110px">
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:150px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:120px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:190px;">
|
||||
</td>
|
||||
<td style="width:40px;">
|
||||
</td>
|
||||
<td style="width:100px;">
|
||||
</td>
|
||||
<td style="width:85px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:155px;">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr><tr style="height:55px">
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:150px;">
|
||||
</td>
|
||||
<td colspan="3"><asp:Label ID="Label18" runat="server" Text="施工经理:"></asp:Label>
|
||||
</td>
|
||||
<td style="width:120px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:190px;"> <asp:Label ID="Label19" runat="server" Text="质量经理:"></asp:Label>
|
||||
</td>
|
||||
<td style="width:40px;">
|
||||
</td>
|
||||
<td style="width:100px;">
|
||||
</td>
|
||||
<td colspan="3"> <asp:Label ID="Label20" runat="server" Text="HSE经理:"></asp:Label>
|
||||
</td>
|
||||
<td style="width:155px;">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr><tr style="height:60px">
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:150px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:120px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:190px;">
|
||||
</td>
|
||||
<td style="width:40px;">
|
||||
</td>
|
||||
<td style="width:100px;">
|
||||
</td>
|
||||
<td style="width:85px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:155px;">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr><tr style="height:90px">
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:150px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:120px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:190px;vertical-align: top"> <asp:Label ID="Label21" runat="server" Text="文控工程师:"></asp:Label>
|
||||
</td>
|
||||
<td style="width:40px;">
|
||||
</td>
|
||||
<td style="width:100px;">
|
||||
</td>
|
||||
<td colspan="3" style="vertical-align: top"> <asp:Label ID="Label22" runat="server" Text="HSE工程师:"></asp:Label>
|
||||
</td>
|
||||
<td style="width:155px;">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr><tr style="height:90px">
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:150px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:120px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:190px;">
|
||||
</td>
|
||||
<td style="width:40px;">
|
||||
</td>
|
||||
<td style="width:100px;">
|
||||
</td>
|
||||
<td style="width:85px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:155px;">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr><tr style="height:90px">
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td colspan="2" style="vertical-align: top"><asp:Label ID="Label23" runat="server" Text="土建工程师:"></asp:Label>
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td colspan="2" style="vertical-align: top"> <asp:Label ID="Label24" runat="server" Text="设备工程师:"></asp:Label>
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:190px;vertical-align: top"> <asp:Label ID="Label25" runat="server" Text="管道工程师:"></asp:Label>
|
||||
</td>
|
||||
<td style="width:40px;">
|
||||
</td>
|
||||
<td colspan="2" style="vertical-align: top"> <asp:Label ID="Label26" runat="server" Text="电气工程师:"></asp:Label>
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td colspan="2" style="vertical-align: top"> <asp:Label ID="Label27" runat="server" Text="仪表工程师:"></asp:Label>
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr><tr>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:150px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:60px;">
|
||||
</td>
|
||||
<td style="width:120px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:190px;">
|
||||
</td>
|
||||
<td style="width:40px;">
|
||||
</td>
|
||||
<td style="width:100px;">
|
||||
</td>
|
||||
<td style="width:85px;">
|
||||
</td>
|
||||
<td style="width:50px;">
|
||||
</td>
|
||||
<td style="width:30px;">
|
||||
</td>
|
||||
<td style="width:155px;">
|
||||
</td>
|
||||
<td>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</f:ContentPanel>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
using Aspose.Words;
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
@ -23,46 +24,510 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
string projectId = this.CurrUser.LoginProjectId;
|
||||
string unitId = this.CurrUser.UnitId;
|
||||
|
||||
this.lblProjectName.Text = "项目名称:" + BLL.ProjectService.GetProjectNameByProjectId(projectId);
|
||||
|
||||
|
||||
this.ContentPanel1.Title = "项目名称:" + BLL.ProjectService.GetProjectNameByProjectId(projectId);
|
||||
|
||||
var unit = (from x in Funs.DB.Project_ProjectUnit
|
||||
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||
where x.ProjectId == projectId
|
||||
&& x.UnitType == BLL.Const.ProjectUnitType_2
|
||||
&& x.UnitId == unitId
|
||||
select y).Count();
|
||||
if (unit>0)
|
||||
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||
where x.ProjectId == projectId
|
||||
//&& x.UnitType == BLL.Const.ProjectUnitType_2
|
||||
&& x.UnitId == unitId
|
||||
select x).FirstOrDefault();
|
||||
if (unit != null)
|
||||
{
|
||||
string projectManagerName = string.Empty;
|
||||
var projectManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "项目经理");
|
||||
if (projectManager != null)
|
||||
if (unit.UnitType == BLL.Const.ProjectUnitType_1)
|
||||
{
|
||||
foreach (var item in projectManager)
|
||||
this.divSubOrganizational.Visible = false;
|
||||
this.divOrganizational.Visible = true;
|
||||
|
||||
string projectManagerName = string.Empty;
|
||||
var projectManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "项目经理");
|
||||
if (projectManager != null)
|
||||
{
|
||||
projectManagerName += item + ",";
|
||||
foreach (var item in projectManager)
|
||||
{
|
||||
projectManagerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(projectManagerName))
|
||||
{
|
||||
this.Label1.Text = "项目经理:" + projectManagerName.Substring(0, projectManagerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
if (!string.IsNullOrEmpty(projectManagerName))
|
||||
|
||||
string sjName = string.Empty;
|
||||
var sj = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "设计经理");
|
||||
if (sj != null)
|
||||
{
|
||||
this.Label1.Text = "项目经理:" + projectManagerName.Substring(0, projectManagerName.LastIndexOf(','));
|
||||
foreach (var item in sj)
|
||||
{
|
||||
sjName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(sjName))
|
||||
{
|
||||
this.Label2.Text = "设计经理:" + sjName.Substring(0, sjName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
|
||||
string cgName = string.Empty;
|
||||
var cg = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "采购经理");
|
||||
if (cg != null)
|
||||
{
|
||||
foreach (var item in cg)
|
||||
{
|
||||
cgName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(cgName))
|
||||
{
|
||||
this.Label3.Text = "采购经理:" + cgName.Substring(0, cgName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
|
||||
string name4 = string.Empty;
|
||||
var con = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "施工经理");
|
||||
if (con != null)
|
||||
{
|
||||
foreach (var item in con)
|
||||
{
|
||||
name4 += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(name4))
|
||||
{
|
||||
this.Label4.Text = "施工经理:" + name4.Substring(0, name4.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
|
||||
string name5 = string.Empty;
|
||||
var qa = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "质量经理");
|
||||
if (qa != null)
|
||||
{
|
||||
foreach (var item in qa)
|
||||
{
|
||||
name5 += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(name5))
|
||||
{
|
||||
this.Label5.Text = "质量经理:" + name5.Substring(0, name5.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
|
||||
string name6 = string.Empty;
|
||||
var hseManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "HSE经理");
|
||||
if (hseManager != null)
|
||||
{
|
||||
foreach (var item in hseManager)
|
||||
{
|
||||
name6 += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(name6))
|
||||
{
|
||||
this.Label6.Text = "HSE经理:" + name6.Substring(0, name6.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
|
||||
string name7 = string.Empty;
|
||||
var carManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "开车经理");
|
||||
if (carManager != null)
|
||||
{
|
||||
foreach (var item in carManager)
|
||||
{
|
||||
name7 += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(name7))
|
||||
{
|
||||
this.Label7.Text = "开车经理:" + name7.Substring(0, name7.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
|
||||
string warehousemanName = string.Empty;
|
||||
var warehousemanLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "仓库管理员");
|
||||
if (warehousemanLists != null)
|
||||
{
|
||||
foreach (var item in warehousemanLists)
|
||||
{
|
||||
warehousemanName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(warehousemanName))
|
||||
{
|
||||
warehousemanName = warehousemanName.Substring(0, warehousemanName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label8.Text = "仓库管理员:" + warehousemanName;
|
||||
|
||||
string docName = string.Empty;
|
||||
var doc = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "文控工程师");
|
||||
if (doc != null)
|
||||
{
|
||||
foreach (var item in doc)
|
||||
{
|
||||
docName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(docName))
|
||||
{
|
||||
docName = docName.Substring(0, docName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label9.Text = "文控工程师:" + docName;
|
||||
|
||||
string hseEngineerName = string.Empty;
|
||||
var hseEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "HSE工程师");
|
||||
if (hseEngineerLists != null)
|
||||
{
|
||||
foreach (var item in hseEngineerLists)
|
||||
{
|
||||
hseEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(hseEngineerName))
|
||||
{
|
||||
hseEngineerName = hseEngineerName.Substring(0, hseEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label10.Text = "HSE工程师:" + hseEngineerName;
|
||||
|
||||
string carEngineerName = string.Empty;
|
||||
var carEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "开车工程师");
|
||||
if (carEngineerLists != null)
|
||||
{
|
||||
foreach (var item in carEngineerLists)
|
||||
{
|
||||
carEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(carEngineerName))
|
||||
{
|
||||
carEngineerName = carEngineerName.Substring(0, carEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label11.Text = "开车工程师:" + carEngineerName;
|
||||
|
||||
string CVEngineerName = string.Empty;
|
||||
var CVEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "土建工程师");
|
||||
if (CVEngineerLists != null)
|
||||
{
|
||||
foreach (var item in CVEngineerLists)
|
||||
{
|
||||
CVEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(CVEngineerName))
|
||||
{
|
||||
CVEngineerName = CVEngineerName.Substring(0, CVEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label12.Text = "土建工程师:" + CVEngineerName;
|
||||
|
||||
string FEEngineerName = string.Empty;
|
||||
var FEEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "设备工程师");
|
||||
if (FEEngineerLists != null)
|
||||
{
|
||||
foreach (var item in FEEngineerLists)
|
||||
{
|
||||
FEEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(FEEngineerName))
|
||||
{
|
||||
FEEngineerName = FEEngineerName.Substring(0, FEEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label13.Text = "设备工程师:" + FEEngineerName;
|
||||
|
||||
string PDEngineerName = string.Empty;
|
||||
var PDEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "管道工程师");
|
||||
if (PDEngineerLists != null)
|
||||
{
|
||||
foreach (var item in PDEngineerLists)
|
||||
{
|
||||
PDEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(PDEngineerName))
|
||||
{
|
||||
PDEngineerName = PDEngineerName.Substring(0, PDEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label14.Text = "管道工程师:" + PDEngineerName;
|
||||
|
||||
string EHEngineerName = string.Empty;
|
||||
var EHEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "电气工程师");
|
||||
if (EHEngineerLists != null)
|
||||
{
|
||||
foreach (var item in EHEngineerLists)
|
||||
{
|
||||
EHEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(EHEngineerName))
|
||||
{
|
||||
EHEngineerName = EHEngineerName.Substring(0, EHEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label15.Text = "电气工程师:" + EHEngineerName;
|
||||
|
||||
string EAEngineerName = string.Empty;
|
||||
var EAEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "仪表工程师");
|
||||
if (EAEngineerLists != null)
|
||||
{
|
||||
foreach (var item in EAEngineerLists)
|
||||
{
|
||||
EAEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(EAEngineerName))
|
||||
{
|
||||
EAEngineerName = EAEngineerName.Substring(0, EAEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label16.Text = "仪表工程师:" + EAEngineerName;
|
||||
}
|
||||
else if (unit.UnitType == BLL.Const.ProjectUnitType_2)
|
||||
{
|
||||
this.divSubOrganizational.Visible = true;
|
||||
this.divOrganizational.Visible = false;
|
||||
|
||||
string projectManagerName = string.Empty;
|
||||
var projectManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "项目经理");
|
||||
if (projectManager != null)
|
||||
{
|
||||
foreach (var item in projectManager)
|
||||
{
|
||||
projectManagerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(projectManagerName))
|
||||
{
|
||||
projectManagerName = projectManagerName.Substring(0, projectManagerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label17.Text = "项目经理:" + projectManagerName;
|
||||
|
||||
string name4 = string.Empty;
|
||||
var con = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "施工经理");
|
||||
if (con != null)
|
||||
{
|
||||
foreach (var item in con)
|
||||
{
|
||||
name4 += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(name4))
|
||||
{
|
||||
name4 = name4.Substring(0, name4.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label8.Text = "施工经理:" + name4;
|
||||
|
||||
string name5 = string.Empty;
|
||||
var qa = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "质量经理");
|
||||
if (qa != null)
|
||||
{
|
||||
foreach (var item in qa)
|
||||
{
|
||||
name5 += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(name5))
|
||||
{
|
||||
name5 = name5.Substring(0, name5.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label9.Text = "质量经理:" + name5;
|
||||
|
||||
string name6 = string.Empty;
|
||||
var hseManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "HSE经理");
|
||||
if (hseManager != null)
|
||||
{
|
||||
foreach (var item in hseManager)
|
||||
{
|
||||
name6 += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(name6))
|
||||
{
|
||||
name6 = name6.Substring(0, name6.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label20.Text = "HSE经理:" + name6;
|
||||
|
||||
string docName = string.Empty;
|
||||
var doc = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "文控工程师");
|
||||
if (doc != null)
|
||||
{
|
||||
foreach (var item in doc)
|
||||
{
|
||||
docName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(docName))
|
||||
{
|
||||
docName = docName.Substring(0, docName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label21.Text = "文控工程师:" + docName;
|
||||
|
||||
string hseEngineerName = string.Empty;
|
||||
var hseEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "HSE工程师");
|
||||
if (hseEngineerLists != null)
|
||||
{
|
||||
foreach (var item in hseEngineerLists)
|
||||
{
|
||||
hseEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(hseEngineerName))
|
||||
{
|
||||
hseEngineerName = hseEngineerName.Substring(0, hseEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label22.Text = "HSE工程师:" + hseEngineerName;
|
||||
|
||||
string CVEngineerName = string.Empty;
|
||||
var CVEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "土建工程师");
|
||||
if (CVEngineerLists != null)
|
||||
{
|
||||
foreach (var item in CVEngineerLists)
|
||||
{
|
||||
CVEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(CVEngineerName))
|
||||
{
|
||||
CVEngineerName = CVEngineerName.Substring(0, CVEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label23.Text = "土建工程师:" + CVEngineerName;
|
||||
|
||||
string FEEngineerName = string.Empty;
|
||||
var FEEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "设备工程师");
|
||||
if (FEEngineerLists != null)
|
||||
{
|
||||
foreach (var item in FEEngineerLists)
|
||||
{
|
||||
FEEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(FEEngineerName))
|
||||
{
|
||||
FEEngineerName = FEEngineerName.Substring(0, FEEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label24.Text = "设备工程师:" + FEEngineerName;
|
||||
|
||||
string PDEngineerName = string.Empty;
|
||||
var PDEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "管道工程师");
|
||||
if (PDEngineerLists != null)
|
||||
{
|
||||
foreach (var item in PDEngineerLists)
|
||||
{
|
||||
PDEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(PDEngineerName))
|
||||
{
|
||||
PDEngineerName = PDEngineerName.Substring(0, PDEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label25.Text = "管道工程师:" + PDEngineerName;
|
||||
|
||||
string EHEngineerName = string.Empty;
|
||||
var EHEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "电气工程师");
|
||||
if (EHEngineerLists != null)
|
||||
{
|
||||
foreach (var item in EHEngineerLists)
|
||||
{
|
||||
EHEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(EHEngineerName))
|
||||
{
|
||||
EHEngineerName = EHEngineerName.Substring(0, EHEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label26.Text = "电气工程师:" + EHEngineerName;
|
||||
|
||||
string EAEngineerName = string.Empty;
|
||||
var EAEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "仪表工程师");
|
||||
if (EAEngineerLists != null)
|
||||
{
|
||||
foreach (var item in EAEngineerLists)
|
||||
{
|
||||
EAEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(EAEngineerName))
|
||||
{
|
||||
EAEngineerName = EAEngineerName.Substring(0, EAEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label27.Text = "仪表工程师:" + EAEngineerName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
/// <summary>
|
||||
/// 导出
|
||||
/// </summary>
|
||||
/// <param name="sender"></param>
|
||||
/// <param name="e"></param>
|
||||
protected void btnOut_Click(object sender, EventArgs e)
|
||||
{
|
||||
string rootPath = Server.MapPath("~/");
|
||||
string initTemplatePath = string.Empty;
|
||||
string uploadfilepath = string.Empty;
|
||||
string newUrl = string.Empty;
|
||||
string filePath = string.Empty;
|
||||
|
||||
string projectId = this.CurrUser.LoginProjectId;
|
||||
string unitId = this.CurrUser.UnitId;
|
||||
|
||||
var pModel = Funs.DB.Base_Project.FirstOrDefault(x => x.ProjectId == projectId);
|
||||
|
||||
var unit = (from x in Funs.DB.Project_ProjectUnit
|
||||
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||
where x.ProjectId == projectId
|
||||
//&& x.UnitType == BLL.Const.ProjectUnitType_2
|
||||
&& x.UnitId == unitId
|
||||
select x).FirstOrDefault();
|
||||
if (unit != null)
|
||||
{
|
||||
if (unit.UnitType == BLL.Const.ProjectUnitType_1)
|
||||
{
|
||||
initTemplatePath = Const.CQMS_OrganizationalUrl;
|
||||
uploadfilepath = rootPath + initTemplatePath;
|
||||
|
||||
newUrl = uploadfilepath.Replace("总包质量管理组织机构图", "总包质量管理组织机构图(" + pModel.ShortName + ")");
|
||||
//filePath = initTemplatePath.Replace(".doc", trainRecords.TrainRecordsId.Replace("/", "-") + ".pdf");
|
||||
if (File.Exists(newUrl))
|
||||
{
|
||||
File.Delete(newUrl);
|
||||
}
|
||||
|
||||
string sjName = string.Empty;
|
||||
var sj = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "设计经理");
|
||||
if (sj != null)
|
||||
File.Copy(uploadfilepath, newUrl);
|
||||
Document doc = new Aspose.Words.Document(uploadfilepath);
|
||||
|
||||
|
||||
Bookmark projectName = doc.Range.Bookmarks["ProjectName"];
|
||||
if (projectName != null)
|
||||
{
|
||||
foreach (var item in sj)
|
||||
projectName.Text = "项目名称:" + BLL.ProjectService.GetProjectNameByProjectId(projectId);
|
||||
}
|
||||
|
||||
Bookmark projectManager = doc.Range.Bookmarks["ProjectManager"];
|
||||
string pm = string.Empty;
|
||||
var lists1 = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "项目经理");
|
||||
if (lists1 != null)
|
||||
{
|
||||
foreach (var item in lists1)
|
||||
{
|
||||
pm += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(pm))
|
||||
{
|
||||
pm = pm.Substring(0, pm.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
projectManager.Text = "项目经理:" + pm;
|
||||
|
||||
Bookmark sj = doc.Range.Bookmarks["sjManager"];
|
||||
string sjName = string.Empty;
|
||||
var sjLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "设计经理");
|
||||
if (sjLists != null)
|
||||
{
|
||||
foreach (var item in sjLists)
|
||||
{
|
||||
sjName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(sjName))
|
||||
{
|
||||
this.Label2.Text = "设计经理:" + sjName.Substring(0, sjName.LastIndexOf(','));
|
||||
sjName = sjName.Substring(0, sjName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
sj.Text = "设计经理:" + sjName;
|
||||
|
||||
Bookmark cgManager = doc.Range.Bookmarks["cgManager"];
|
||||
string cgName = string.Empty;
|
||||
var cg = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "采购经理");
|
||||
if (cg != null)
|
||||
|
@ -73,10 +538,12 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
}
|
||||
if (!string.IsNullOrEmpty(cgName))
|
||||
{
|
||||
this.Label3.Text = "采购经理:" + cgName.Substring(0, cgName.LastIndexOf(','));
|
||||
cgName = cgName.Substring(0, cgName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
cgManager.Text = "采购经理:" + cgName;
|
||||
|
||||
Bookmark sgManager = doc.Range.Bookmarks["sgManager"];
|
||||
string name4 = string.Empty;
|
||||
var con = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "施工经理");
|
||||
if (con != null)
|
||||
|
@ -87,10 +554,12 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
}
|
||||
if (!string.IsNullOrEmpty(name4))
|
||||
{
|
||||
this.Label4.Text = "施工经理:" + name4.Substring(0, name4.LastIndexOf(','));
|
||||
name4 = name4.Substring(0, name4.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
sgManager.Text = "施工经理:" + name4;
|
||||
|
||||
Bookmark qaManager = doc.Range.Bookmarks["qaManager"];
|
||||
string name5 = string.Empty;
|
||||
var qa = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "质量经理");
|
||||
if (qa != null)
|
||||
|
@ -101,10 +570,12 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
}
|
||||
if (!string.IsNullOrEmpty(name5))
|
||||
{
|
||||
this.Label5.Text = "质量经理:" + name5.Substring(0, name5.LastIndexOf(','));
|
||||
name5 = name5.Substring(0, name5.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
qaManager.Text = "质量经理:" + name5;
|
||||
|
||||
Bookmark hse = doc.Range.Bookmarks["hseManager"];
|
||||
string name6 = string.Empty;
|
||||
var hseManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "HSE经理");
|
||||
if (hseManager != null)
|
||||
|
@ -115,10 +586,12 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
}
|
||||
if (!string.IsNullOrEmpty(name6))
|
||||
{
|
||||
this.Label6.Text = "HSE经理:" + name6.Substring(0, name6.LastIndexOf(','));
|
||||
name6 = name6.Substring(0, name6.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
hse.Text = "HSE经理:" + name6;
|
||||
|
||||
Bookmark car = doc.Range.Bookmarks["carManager"];
|
||||
string name7 = string.Empty;
|
||||
var carManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "开车经理");
|
||||
if (carManager != null)
|
||||
|
@ -129,10 +602,12 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
}
|
||||
if (!string.IsNullOrEmpty(name7))
|
||||
{
|
||||
this.Label7.Text = "开车经理:" + name7.Substring(0, name7.LastIndexOf(','));
|
||||
name7 = name7.Substring(0, name7.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
car.Text = "开车经理:" + name7;
|
||||
|
||||
Bookmark warehouse = doc.Range.Bookmarks["warehouseManager"];
|
||||
string warehousemanName = string.Empty;
|
||||
var warehousemanLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "仓库管理员");
|
||||
if (warehousemanLists != null)
|
||||
|
@ -146,13 +621,14 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
warehousemanName = warehousemanName.Substring(0, warehousemanName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label8.Text = "仓库管理员:" + warehousemanName;
|
||||
warehouse.Text = "仓库管理员:" + warehousemanName;
|
||||
|
||||
Bookmark docManager = doc.Range.Bookmarks["docManager"];
|
||||
string docName = string.Empty;
|
||||
var doc = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "文控工程师");
|
||||
if (doc != null)
|
||||
var docm = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "文控工程师");
|
||||
if (docm != null)
|
||||
{
|
||||
foreach (var item in doc)
|
||||
foreach (var item in docm)
|
||||
{
|
||||
docName += item + ",";
|
||||
}
|
||||
|
@ -161,8 +637,9 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
docName = docName.Substring(0, docName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label9.Text = "文控工程师:" + docName;
|
||||
docManager.Text = "文控工程师:" + docName;
|
||||
|
||||
Bookmark hseEngineer = doc.Range.Bookmarks["hseEngineer"];
|
||||
string hseEngineerName = string.Empty;
|
||||
var hseEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "HSE工程师");
|
||||
if (hseEngineerLists != null)
|
||||
|
@ -176,8 +653,9 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
hseEngineerName = hseEngineerName.Substring(0, hseEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label10.Text = "HSE工程师:" + hseEngineerName;
|
||||
hseEngineer.Text = "HSE工程师:" + hseEngineerName;
|
||||
|
||||
Bookmark carEngineer = doc.Range.Bookmarks["carEngineer"];
|
||||
string carEngineerName = string.Empty;
|
||||
var carEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "开车工程师");
|
||||
if (carEngineerLists != null)
|
||||
|
@ -191,8 +669,9 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
carEngineerName = carEngineerName.Substring(0, carEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label11.Text = "开车工程师:" + carEngineerName;
|
||||
carEngineer.Text = "开车工程师:" + carEngineerName;
|
||||
|
||||
Bookmark CVEngineer = doc.Range.Bookmarks["CVEngineer"];
|
||||
string CVEngineerName = string.Empty;
|
||||
var CVEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "土建工程师");
|
||||
if (CVEngineerLists != null)
|
||||
|
@ -206,8 +685,9 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
CVEngineerName = CVEngineerName.Substring(0, CVEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label12.Text = "土建工程师:" + CVEngineerName;
|
||||
CVEngineer.Text = "土建工程师:" + CVEngineerName;
|
||||
|
||||
Bookmark FEEngineer = doc.Range.Bookmarks["FEEngineer"];
|
||||
string FEEngineerName = string.Empty;
|
||||
var FEEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "设备工程师");
|
||||
if (FEEngineerLists != null)
|
||||
|
@ -221,8 +701,9 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
FEEngineerName = FEEngineerName.Substring(0, FEEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label13.Text = "设备工程师:" + FEEngineerName;
|
||||
FEEngineer.Text = "设备工程师:" + FEEngineerName;
|
||||
|
||||
Bookmark PDEngineer = doc.Range.Bookmarks["PDEngineer"];
|
||||
string PDEngineerName = string.Empty;
|
||||
var PDEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "管道工程师");
|
||||
if (PDEngineerLists != null)
|
||||
|
@ -236,8 +717,9 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
PDEngineerName = PDEngineerName.Substring(0, PDEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label14.Text = "管道工程师:" + PDEngineerName;
|
||||
PDEngineer.Text = "管道工程师:" + PDEngineerName;
|
||||
|
||||
Bookmark EHEngineer = doc.Range.Bookmarks["EHEngineer"];
|
||||
string EHEngineerName = string.Empty;
|
||||
var EHEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "电气工程师");
|
||||
if (EHEngineerLists != null)
|
||||
|
@ -251,8 +733,9 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
EHEngineerName = EHEngineerName.Substring(0, EHEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label15.Text = "电气工程师:" + EHEngineerName;
|
||||
EHEngineer.Text = "电气工程师:" + EHEngineerName;
|
||||
|
||||
Bookmark EAEngineer = doc.Range.Bookmarks["EAEngineer"];
|
||||
string EAEngineerName = string.Empty;
|
||||
var EAEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "仪表工程师");
|
||||
if (EAEngineerLists != null)
|
||||
|
@ -266,54 +749,50 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
EAEngineerName = EAEngineerName.Substring(0, EAEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label16.Text = "仪表工程师:" + EAEngineerName;
|
||||
EAEngineer.Text = "仪表工程师:" + EAEngineerName;
|
||||
|
||||
doc.Save(newUrl);
|
||||
}
|
||||
else
|
||||
else if(unit.UnitType == BLL.Const.ProjectUnitType_2)
|
||||
{
|
||||
string projectManagerName = string.Empty;
|
||||
var projectManager = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "项目经理");
|
||||
if (projectManager != null)
|
||||
initTemplatePath = Const.CQMS_SubOrganizationalUrl;
|
||||
uploadfilepath = rootPath + initTemplatePath;
|
||||
|
||||
newUrl = uploadfilepath.Replace("分包质量管理组织机构图", "分包质量管理组织机构图(" + pModel.ShortName + ")");
|
||||
//filePath = initTemplatePath.Replace(".doc", trainRecords.TrainRecordsId.Replace("/", "-") + ".pdf");
|
||||
if (File.Exists(newUrl))
|
||||
{
|
||||
foreach (var item in projectManager)
|
||||
{
|
||||
projectManagerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(projectManagerName))
|
||||
{
|
||||
this.Label1.Text = "项目经理:" + projectManagerName.Substring(0, projectManagerName.LastIndexOf(','));
|
||||
}
|
||||
File.Delete(newUrl);
|
||||
}
|
||||
|
||||
string sjName = string.Empty;
|
||||
var sj = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "设计经理");
|
||||
if (sj != null)
|
||||
File.Copy(uploadfilepath, newUrl);
|
||||
Document doc = new Aspose.Words.Document(uploadfilepath);
|
||||
|
||||
Bookmark projectName = doc.Range.Bookmarks["ProjectName"];
|
||||
if (projectName != null)
|
||||
{
|
||||
foreach (var item in sj)
|
||||
{
|
||||
sjName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(sjName))
|
||||
{
|
||||
this.Label2.Text = "设计经理:" + sjName.Substring(0, sjName.LastIndexOf(','));
|
||||
}
|
||||
projectName.Text = "项目名称:" + BLL.ProjectService.GetProjectNameByProjectId(projectId);
|
||||
}
|
||||
|
||||
string cgName = string.Empty;
|
||||
var cg = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "采购经理");
|
||||
if (cg != null)
|
||||
Bookmark projectManager = doc.Range.Bookmarks["ProjectManager"];
|
||||
string pm = string.Empty;
|
||||
var lists1 = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "项目经理");
|
||||
if (lists1 != null)
|
||||
{
|
||||
foreach (var item in cg)
|
||||
foreach (var item in lists1)
|
||||
{
|
||||
cgName += item + ",";
|
||||
pm += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(cgName))
|
||||
if (!string.IsNullOrEmpty(pm))
|
||||
{
|
||||
this.Label3.Text = "采购经理:" + cgName.Substring(0, cgName.LastIndexOf(','));
|
||||
pm = pm.Substring(0, pm.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
projectManager.Text = "项目经理:" + pm;
|
||||
|
||||
Bookmark sgManager = doc.Range.Bookmarks["sgManager"];
|
||||
string name4 = string.Empty;
|
||||
var con = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "施工经理");
|
||||
var con = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "施工经理");
|
||||
if (con != null)
|
||||
{
|
||||
foreach (var item in con)
|
||||
|
@ -322,12 +801,14 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
}
|
||||
if (!string.IsNullOrEmpty(name4))
|
||||
{
|
||||
this.Label4.Text = "施工经理:" + name4.Substring(0, name4.LastIndexOf(','));
|
||||
name4 = name4.Substring(0, name4.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
sgManager.Text = "施工经理:" + name4;
|
||||
|
||||
Bookmark qaManager = doc.Range.Bookmarks["qaManager"];
|
||||
string name5 = string.Empty;
|
||||
var qa = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "质量经理");
|
||||
var qa = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "质量经理");
|
||||
if (qa != null)
|
||||
{
|
||||
foreach (var item in qa)
|
||||
|
@ -336,12 +817,14 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
}
|
||||
if (!string.IsNullOrEmpty(name5))
|
||||
{
|
||||
this.Label5.Text = "质量经理:" + name5.Substring(0, name5.LastIndexOf(','));
|
||||
name5 = name5.Substring(0, name5.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
qaManager.Text = "质量经理:" + name5;
|
||||
|
||||
Bookmark hse = doc.Range.Bookmarks["hseManager"];
|
||||
string name6 = string.Empty;
|
||||
var hseManager = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "HSE经理");
|
||||
var hseManager = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "HSE经理");
|
||||
if (hseManager != null)
|
||||
{
|
||||
foreach (var item in hseManager)
|
||||
|
@ -350,44 +833,17 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
}
|
||||
if (!string.IsNullOrEmpty(name6))
|
||||
{
|
||||
this.Label6.Text = "HSE经理:" + name6.Substring(0, name6.LastIndexOf(','));
|
||||
name6 = name6.Substring(0, name6.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
hse.Text = "HSE经理:" + name6;
|
||||
|
||||
string name7 = string.Empty;
|
||||
var carManager = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "开车经理");
|
||||
if (carManager != null)
|
||||
{
|
||||
foreach (var item in carManager)
|
||||
{
|
||||
name7 += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(name7))
|
||||
{
|
||||
this.Label7.Text = "开车经理:" + name7.Substring(0, name7.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
|
||||
string warehousemanName = string.Empty;
|
||||
var warehousemanLists = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "仓库管理员");
|
||||
if (warehousemanLists != null)
|
||||
{
|
||||
foreach (var item in warehousemanLists)
|
||||
{
|
||||
warehousemanName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(warehousemanName))
|
||||
{
|
||||
warehousemanName = warehousemanName.Substring(0, warehousemanName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label8.Text = "仓库管理员:" + warehousemanName;
|
||||
|
||||
Bookmark docManager = doc.Range.Bookmarks["docManager"];
|
||||
string docName = string.Empty;
|
||||
var doc = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "文控工程师");
|
||||
if (doc != null)
|
||||
var docm = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "文控工程师");
|
||||
if (docm != null)
|
||||
{
|
||||
foreach (var item in doc)
|
||||
foreach (var item in docm)
|
||||
{
|
||||
docName += item + ",";
|
||||
}
|
||||
|
@ -396,10 +852,11 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
docName = docName.Substring(0, docName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label9.Text = "文控工程师:" + docName;
|
||||
docManager.Text = "文控工程师:" + docName;
|
||||
|
||||
Bookmark hseEngineer = doc.Range.Bookmarks["hseEngineer"];
|
||||
string hseEngineerName = string.Empty;
|
||||
var hseEngineerLists = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "HSE工程师");
|
||||
var hseEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "HSE工程师");
|
||||
if (hseEngineerLists != null)
|
||||
{
|
||||
foreach (var item in hseEngineerLists)
|
||||
|
@ -411,25 +868,11 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
hseEngineerName = hseEngineerName.Substring(0, hseEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label10.Text = "HSE工程师:" + hseEngineerName;
|
||||
|
||||
string carEngineerName = string.Empty;
|
||||
var carEngineerLists = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "开车工程师");
|
||||
if (carEngineerLists != null)
|
||||
{
|
||||
foreach (var item in carEngineerLists)
|
||||
{
|
||||
carEngineerName += item + ",";
|
||||
}
|
||||
if (!string.IsNullOrEmpty(carEngineerName))
|
||||
{
|
||||
carEngineerName = carEngineerName.Substring(0, carEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label11.Text = "开车工程师:" + carEngineerName;
|
||||
hseEngineer.Text = "HSE工程师:" + hseEngineerName;
|
||||
|
||||
Bookmark CVEngineer = doc.Range.Bookmarks["CVEngineer"];
|
||||
string CVEngineerName = string.Empty;
|
||||
var CVEngineerLists = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "土建工程师");
|
||||
var CVEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "土建工程师");
|
||||
if (CVEngineerLists != null)
|
||||
{
|
||||
foreach (var item in CVEngineerLists)
|
||||
|
@ -441,10 +884,11 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
CVEngineerName = CVEngineerName.Substring(0, CVEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label12.Text = "土建工程师:" + CVEngineerName;
|
||||
CVEngineer.Text = "土建工程师:" + CVEngineerName;
|
||||
|
||||
Bookmark FEEngineer = doc.Range.Bookmarks["FEEngineer"];
|
||||
string FEEngineerName = string.Empty;
|
||||
var FEEngineerLists = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "设备工程师");
|
||||
var FEEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "设备工程师");
|
||||
if (FEEngineerLists != null)
|
||||
{
|
||||
foreach (var item in FEEngineerLists)
|
||||
|
@ -456,10 +900,11 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
FEEngineerName = FEEngineerName.Substring(0, FEEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label13.Text = "设备工程师:" + FEEngineerName;
|
||||
FEEngineer.Text = "设备工程师:" + FEEngineerName;
|
||||
|
||||
Bookmark PDEngineer = doc.Range.Bookmarks["PDEngineer"];
|
||||
string PDEngineerName = string.Empty;
|
||||
var PDEngineerLists = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "管道工程师");
|
||||
var PDEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "管道工程师");
|
||||
if (PDEngineerLists != null)
|
||||
{
|
||||
foreach (var item in PDEngineerLists)
|
||||
|
@ -471,10 +916,11 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
PDEngineerName = PDEngineerName.Substring(0, PDEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label14.Text = "管道工程师:" + PDEngineerName;
|
||||
PDEngineer.Text = "管道工程师:" + PDEngineerName;
|
||||
|
||||
Bookmark EHEngineer = doc.Range.Bookmarks["EHEngineer"];
|
||||
string EHEngineerName = string.Empty;
|
||||
var EHEngineerLists = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "电气工程师");
|
||||
var EHEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "电气工程师");
|
||||
if (EHEngineerLists != null)
|
||||
{
|
||||
foreach (var item in EHEngineerLists)
|
||||
|
@ -486,10 +932,11 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
EHEngineerName = EHEngineerName.Substring(0, EHEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label15.Text = "电气工程师:" + EHEngineerName;
|
||||
EHEngineer.Text = "电气工程师:" + EHEngineerName;
|
||||
|
||||
Bookmark EAEngineer = doc.Range.Bookmarks["EAEngineer"];
|
||||
string EAEngineerName = string.Empty;
|
||||
var EAEngineerLists = BLL.UserService.GetUserNameListsByWorkPostName(projectId, "仪表工程师");
|
||||
var EAEngineerLists = BLL.UserService.GetUserNameListsByUnitIdWorkPostName(projectId, unitId, "仪表工程师");
|
||||
if (EAEngineerLists != null)
|
||||
{
|
||||
foreach (var item in EAEngineerLists)
|
||||
|
@ -501,10 +948,23 @@ namespace FineUIPro.Web.CQMS.QualityPlanning
|
|||
EAEngineerName = EAEngineerName.Substring(0, EAEngineerName.LastIndexOf(','));
|
||||
}
|
||||
}
|
||||
this.Label16.Text = "仪表工程师:" + EAEngineerName;
|
||||
EAEngineer.Text = "仪表工程师:" + EAEngineerName;
|
||||
|
||||
doc.Save(newUrl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
string fileName = Path.GetFileName(newUrl);
|
||||
FileInfo info = new FileInfo(newUrl);
|
||||
long fileSize = info.Length;
|
||||
Response.Clear();
|
||||
Response.ContentType = "application/x-zip-compressed";
|
||||
Response.AddHeader("Content-Disposition", "attachment;filename=" + System.Web.HttpUtility.UrlEncode(fileName, System.Text.Encoding.UTF8));
|
||||
Response.AddHeader("Content-Length", fileSize.ToString());
|
||||
Response.TransmitFile(newUrl, 0, fileSize);
|
||||
Response.Flush();
|
||||
Response.Close();
|
||||
File.Delete(newUrl);
|
||||
}
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
}
|
|
@ -22,13 +22,40 @@ namespace FineUIPro.Web.CQMS.QualityPlanning {
|
|||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// lblProjectName 控件。
|
||||
/// PageManager1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label lblProjectName;
|
||||
protected global::FineUIPro.PageManager PageManager1;
|
||||
|
||||
/// <summary>
|
||||
/// ContentPanel1 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.ContentPanel ContentPanel1;
|
||||
|
||||
/// <summary>
|
||||
/// btnOut 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::FineUIPro.Button btnOut;
|
||||
|
||||
/// <summary>
|
||||
/// divOrganizational 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divOrganizational;
|
||||
|
||||
/// <summary>
|
||||
/// Label1 控件。
|
||||
|
@ -173,5 +200,113 @@ namespace FineUIPro.Web.CQMS.QualityPlanning {
|
|||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label16;
|
||||
|
||||
/// <summary>
|
||||
/// divSubOrganizational 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlGenericControl divSubOrganizational;
|
||||
|
||||
/// <summary>
|
||||
/// Label17 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label17;
|
||||
|
||||
/// <summary>
|
||||
/// Label18 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label18;
|
||||
|
||||
/// <summary>
|
||||
/// Label19 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label19;
|
||||
|
||||
/// <summary>
|
||||
/// Label20 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label20;
|
||||
|
||||
/// <summary>
|
||||
/// Label21 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label21;
|
||||
|
||||
/// <summary>
|
||||
/// Label22 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label22;
|
||||
|
||||
/// <summary>
|
||||
/// Label23 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label23;
|
||||
|
||||
/// <summary>
|
||||
/// Label24 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label24;
|
||||
|
||||
/// <summary>
|
||||
/// Label25 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label25;
|
||||
|
||||
/// <summary>
|
||||
/// Label26 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label26;
|
||||
|
||||
/// <summary>
|
||||
/// Label27 控件。
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// 自动生成的字段。
|
||||
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.Label Label27;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,378 @@
|
|||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:参数化查询 '(@ProjectId nvarchar(4000),@InspectionDate datetime)SELECT disti' 需要参数 '@ProjectId',但未提供该参数。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.BindGrid() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 84
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.btnSearch_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 136
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:06/04/2024 15:32:58
|
||||
出错文件:http://localhost:8579/CQMS/ProcessControl/InspectionManagement.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:06/04/2024 15:32:58
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:参数化查询 '(@ProjectId nvarchar(4000))SELECT distinct P.InspectionId,
|
||||
' 需要参数 '@ProjectId',但未提供该参数。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.BindGrid() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 84
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.btnSearch_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 136
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:06/04/2024 15:33:03
|
||||
出错文件:http://localhost:8579/CQMS/ProcessControl/InspectionManagement.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:06/04/2024 15:33:03
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:参数化查询 '(@ProjectId nvarchar(4000))SELECT distinct P.InspectionId,
|
||||
' 需要参数 '@ProjectId',但未提供该参数。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.BindGrid() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 84
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.btnSearch_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 136
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:06/04/2024 15:33:04
|
||||
出错文件:http://localhost:8579/CQMS/ProcessControl/InspectionManagement.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:06/04/2024 15:33:04
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:参数化查询 '(@ProjectId nvarchar(4000))SELECT distinct P.InspectionId,
|
||||
' 需要参数 '@ProjectId',但未提供该参数。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.BindGrid() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 84
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.btnSearch_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 136
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:06/04/2024 15:33:05
|
||||
出错文件:http://localhost:8579/CQMS/ProcessControl/InspectionManagement.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:06/04/2024 15:33:05
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:参数化查询 '(@ProjectId nvarchar(4000))SELECT distinct P.InspectionId,
|
||||
' 需要参数 '@ProjectId',但未提供该参数。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.BindGrid() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 84
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.btnSearch_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 136
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:06/04/2024 15:33:05
|
||||
出错文件:http://localhost:8579/CQMS/ProcessControl/InspectionManagement.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:06/04/2024 15:33:05
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:参数化查询 '(@ProjectId nvarchar(4000))SELECT distinct P.InspectionId,
|
||||
' 需要参数 '@ProjectId',但未提供该参数。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.BindGrid() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 84
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.btnSearch_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 136
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:06/04/2024 15:33:05
|
||||
出错文件:http://localhost:8579/CQMS/ProcessControl/InspectionManagement.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:06/04/2024 15:33:05
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:参数化查询 '(@ProjectId nvarchar(4000))SELECT distinct P.InspectionId,
|
||||
' 需要参数 '@ProjectId',但未提供该参数。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.BindGrid() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 84
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.btnSearch_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 136
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:06/04/2024 15:33:05
|
||||
出错文件:http://localhost:8579/CQMS/ProcessControl/InspectionManagement.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:06/04/2024 15:33:05
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:参数化查询 '(@ProjectId nvarchar(4000))SELECT distinct P.InspectionId,
|
||||
' 需要参数 '@ProjectId',但未提供该参数。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.BindGrid() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 84
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.btnSearch_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 136
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:06/04/2024 15:33:05
|
||||
出错文件:http://localhost:8579/CQMS/ProcessControl/InspectionManagement.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:06/04/2024 15:33:05
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:参数化查询 '(@ProjectId nvarchar(4000))SELECT distinct P.InspectionId,
|
||||
' 需要参数 '@ProjectId',但未提供该参数。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.BindGrid() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 84
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.btnSearch_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 136
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:06/04/2024 15:33:06
|
||||
出错文件:http://localhost:8579/CQMS/ProcessControl/InspectionManagement.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:06/04/2024 15:33:06
|
||||
|
||||
|
||||
错误信息开始=====>
|
||||
错误类型:SqlException
|
||||
错误信息:参数化查询 '(@ProjectId nvarchar(4000),@CNProfessionalId nvarchar(36))SELECT' 需要参数 '@ProjectId',但未提供该参数。
|
||||
错误堆栈:
|
||||
在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
|
||||
在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
|
||||
在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
|
||||
在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
|
||||
在 System.Data.SqlClient.SqlDataReader.get_MetaData()
|
||||
在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
|
||||
在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
|
||||
在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior)
|
||||
在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable)
|
||||
在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\五环\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.BindGrid() 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 84
|
||||
在 FineUIPro.Web.CQMS.ProcessControl.InspectionManagement.btnSearch_Click(Object sender, EventArgs e) 位置 E:\五环\SGGL_CWCEC\SGGL\FineUIPro.Web\CQMS\ProcessControl\InspectionManagement.aspx.cs:行号 136
|
||||
在 FineUIPro.Button.OnClick(EventArgs e)
|
||||
在 (Button , EventArgs )
|
||||
在 FineUIPro.Button.RaisePostBackEvent(String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
|
||||
在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
|
||||
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|
||||
出错时间:06/04/2024 15:38:02
|
||||
出错文件:http://localhost:8579/CQMS/ProcessControl/InspectionManagement.aspx
|
||||
IP地址:::1
|
||||
操作人员:JT
|
||||
|
||||
出错时间:06/04/2024 15:38:02
|
||||
|
|
@ -0,0 +1,223 @@
|
|||
ĐĎࡱá |