20240604 修改各项目巡查汇总
This commit is contained in:
parent
864ba2551b
commit
d340e503ac
|
@ -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
|
||||
|
|
@ -89,6 +89,10 @@
|
|||
<HintPath>..\FineUIPro\Reference BLL\Interop.WIA.dll</HintPath>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="Microsoft.Office.Interop.Word, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c, processorArchitecture=MSIL">
|
||||
<HintPath>..\packages\Microsoft.Office.Interop.Word.15.0.4797.1004\lib\net20\Microsoft.Office.Interop.Word.dll</HintPath>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</Reference>
|
||||
<Reference Include="Microsoft.QualityTools.Testing.Fakes, Version=12.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
</Reference>
|
||||
|
@ -1726,6 +1730,7 @@
|
|||
<Content Include="res\assets\js\video-7.15.0.min.js" />
|
||||
<Content Include="res\assets\js\world.js" />
|
||||
<Content Include="res\images\Organizational.png" />
|
||||
<Content Include="res\images\SubOrganizational.png" />
|
||||
<Content Include="res\index\images\logocenter.png" />
|
||||
<Content Include="res\js\swiper-bundle.min.css" />
|
||||
<Content Include="res\js\swiper-bundle.min.js" />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
有关如何配置 ASP.NET 应用程序的详细消息,请访问
|
||||
|
||||
|
@ -6,50 +6,50 @@
|
|||
-->
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false"/>
|
||||
<section name="FineUIPro" type="FineUIPro.ConfigSection, FineUIPro" requirePermission="false" />
|
||||
</configSections>
|
||||
<FineUIPro DebugMode="true" Theme="Cupertino"/>
|
||||
<FineUIPro DebugMode="true" Theme="Cupertino" />
|
||||
<appSettings>
|
||||
<!--连接字符串-->
|
||||
<!--<add key="ConnectionString" value="Server=.;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>-->
|
||||
<add key="ConnectionString" value="Server=.\SQL2012;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200"/>
|
||||
<add key="ConnectionString" value="Server=.\SQL2012;Database=SGGLDB_WH;Integrated Security=False;User ID=sa;Password=1111;MultipleActiveResultSets=true;Connect Timeout=1200" />
|
||||
<!--系统名称-->
|
||||
<add key="SystemName" value="智慧施工管理信息系统V1.0"/>
|
||||
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;"/>
|
||||
<add key="aspnet:MaxHttpCollectionKeys" value="50000"/>
|
||||
<add key="SGGLUrl" value="http://localhost:8579/"/>
|
||||
<add key="SystemVersion" value="SGGLPackFile_V2021-02-01-001"/>
|
||||
<add key="SystemName" value="智慧施工管理信息系统V1.0" />
|
||||
<add key="ChartImageHandler" value="storage=file;timeout=20;url=~/Images/;" />
|
||||
<add key="aspnet:MaxHttpCollectionKeys" value="50000" />
|
||||
<add key="SGGLUrl" value="http://localhost:8579/" />
|
||||
<add key="SystemVersion" value="SGGLPackFile_V2021-02-01-001" />
|
||||
<!--启用与集团实名制 True启用 False 不启用-->
|
||||
<add key="EnableRealName" value="False"/>
|
||||
<add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour1"/>
|
||||
<add key="ControlApiUrl" value="http://webwh02.cwcec.com:9123/api/services/app"/>
|
||||
<add key="Intervaltime" value="20"/>
|
||||
<add key="EnableRealName" value="False" />
|
||||
<add key="RealNameApiUrl" value="https://lwsm.cncecoa.com/share-labour1" />
|
||||
<add key="ControlApiUrl" value="http://webwh02.cwcec.com:9123/api/services/app" />
|
||||
<add key="Intervaltime" value="20" />
|
||||
<!--<add key="RealNameClientId" value="1338326379741057025"/>
|
||||
<add key="RealNameUserName" value="zgwhgcyxgs@CNCEC"/>
|
||||
<add key="RealNamePassWord" value="0nkbqy9n0"/>-->
|
||||
<!--附件上传物理路径-->
|
||||
<add key="localRoot" value="D:\CWCEC\SGGL_CWCEC\SGGL\FineUIPro.Web\"/>
|
||||
<add key="localRoot" value="D:\CWCEC\SGGL_CWCEC\SGGL\FineUIPro.Web\" />
|
||||
<!--视频服务器-->
|
||||
<add key="Video_URL" value="http://camera.cwcec.com:10000/"/>
|
||||
<add key="Video_URL" value="http://camera.cwcec.com:10000/" />
|
||||
<!--BAIDU AI配置-->
|
||||
<add key="APP_ID" value="23518716"/>
|
||||
<add key="API_KEY" value="9UGmBxS0TOIDGM5adGrOcBnr"/>
|
||||
<add key="SECRET_KEY" value="6yq7q5PTTGfocWDmSN7hjxuiixsfURe1"/>
|
||||
<add key="APP_ID" value="23518716" />
|
||||
<add key="API_KEY" value="9UGmBxS0TOIDGM5adGrOcBnr" />
|
||||
<add key="SECRET_KEY" value="6yq7q5PTTGfocWDmSN7hjxuiixsfURe1" />
|
||||
<!--人脸检测参数-->
|
||||
<!--人脸活体检测参数1最好,0最差 建议0.995 -->
|
||||
<add key="BD_face_liveness" value="0.3"/>
|
||||
<add key="BD_face_liveness" value="0.3" />
|
||||
<!--人脸高宽建议100-200-->
|
||||
<!--<add key="BD_width" value="200" />-->
|
||||
<!--<add key="BD_height" value="200" />-->
|
||||
<!--人脸角度-->
|
||||
<add key="BD_roll" value="40"/>
|
||||
<add key="BD_roll" value="40" />
|
||||
<!--人脸遮档度0最好,1最不好-->
|
||||
<add key="BD_occlusion" value="1"/>
|
||||
<add key="BD_occlusion" value="1" />
|
||||
<!--人脸模糊度0最好,1最不好-->
|
||||
<add key="BD_blur" value="0.1"/>
|
||||
<add key="CEMS_IMG_URL" value="http://localhost/SGGL/"/>
|
||||
<add key="BD_blur" value="0.1" />
|
||||
<add key="CEMS_IMG_URL" value="http://localhost/SGGL/" />
|
||||
<!--跳转小程序类型:developer为开发版;trial为体验版;formal为正式版;默认为正式版-->
|
||||
<add key="miniprogram_state" value="developer"/>
|
||||
<add key="miniprogram_state" value="developer" />
|
||||
</appSettings>
|
||||
<!--
|
||||
有关 web.config 更改的说明,请参见 http://go.microsoft.com/fwlink/?LinkId=235367。
|
||||
|
@ -61,116 +61,116 @@
|
|||
-->
|
||||
<system.web>
|
||||
<!-- 会话状态设置 默认情况下,ASP.NET 使用 Cookie 来标识哪些请求属于特定的会话。如果 Cookie 不可用,则可以通过将会话标识符添加到 URL 来跟踪会话。若要禁用 Cookie,请设置 sessionState cookieless="true" -->
|
||||
<sessionState mode="InProc" cookieless="UseCookies" timeout="1200"/>
|
||||
<sessionState mode="InProc" cookieless="UseCookies" timeout="1200" />
|
||||
<pages controlRenderingCompatibilityVersion="4.0" clientIDMode="AutoID">
|
||||
<controls>
|
||||
<add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f"/>
|
||||
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add assembly="FineUIPro" namespace="FineUIPro" tagPrefix="f" />
|
||||
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
<add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
</controls>
|
||||
</pages>
|
||||
<httpModules>
|
||||
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
|
||||
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
|
||||
<add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
</httpModules>
|
||||
<httpHandlers>
|
||||
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false"/>
|
||||
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
|
||||
<add verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" validate="false" />
|
||||
<add path="ChartImg.axd" verb="GET,POST,HEAD" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false" />
|
||||
</httpHandlers>
|
||||
<compilation debug="true" targetFramework="4.6.1"/>
|
||||
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000"/>
|
||||
<compilation debug="true" targetFramework="4.6.1" />
|
||||
<httpRuntime requestValidationMode="2.0" maxRequestLength="2147483647" executionTimeout="36000" />
|
||||
<authentication mode="Forms">
|
||||
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/"/>
|
||||
<forms loginUrl="Login.aspx" name="PUBLISHERCOOKIE" protection="All" timeout="1440" path="/" />
|
||||
</authentication>
|
||||
<membership>
|
||||
<providers>
|
||||
<clear/>
|
||||
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/"/>
|
||||
<clear />
|
||||
<add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
|
||||
</providers>
|
||||
</membership>
|
||||
<profile>
|
||||
<providers>
|
||||
<clear/>
|
||||
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/"/>
|
||||
<clear />
|
||||
<add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
|
||||
</providers>
|
||||
</profile>
|
||||
<roleManager enabled="false">
|
||||
<providers>
|
||||
<clear/>
|
||||
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/"/>
|
||||
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/"/>
|
||||
<clear />
|
||||
<add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
|
||||
<add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
|
||||
</providers>
|
||||
</roleManager>
|
||||
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx"/>
|
||||
<customErrors mode="RemoteOnly" defaultRedirect="LogOff.aspx" />
|
||||
</system.web>
|
||||
<location path="res.axd"/>
|
||||
<location path="res.axd" />
|
||||
<system.webServer>
|
||||
<staticContent>
|
||||
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File"/>
|
||||
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File"/>
|
||||
<mimeMap fileExtension=".dat" mimeType="application/ChinaExcel Report File" />
|
||||
<mimeMap fileExtension=".tab" mimeType="application/ChinaExcel Report File" />
|
||||
</staticContent>
|
||||
<validation validateIntegratedModeConfiguration="false"/>
|
||||
<validation validateIntegratedModeConfiguration="false" />
|
||||
<modules runAllManagedModulesForAllRequests="true">
|
||||
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro"/>
|
||||
<remove name="ScriptModule"/>
|
||||
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
|
||||
<add name="FineUIProScriptModule" type="FineUIPro.ScriptModule, FineUIPro" />
|
||||
<remove name="ScriptModule" />
|
||||
<add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
|
||||
</modules>
|
||||
<handlers>
|
||||
<remove name="ChartImageHandler"/>
|
||||
<add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro"/>
|
||||
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
|
||||
<remove name="ChartImageHandler" />
|
||||
<add name="FineUIProResourceHandler" verb="GET" path="res.axd" type="FineUIPro.ResourceHandler, FineUIPro" />
|
||||
<add name="ChartImageHandler" preCondition="integratedMode" verb="GET,HEAD,POST" path="ChartImg.axd" type="System.Web.UI.DataVisualization.Charting.ChartHttpHandler, System.Web.DataVisualization, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
||||
</handlers>
|
||||
<defaultDocument>
|
||||
<files>
|
||||
<add value="Login.aspx"/>
|
||||
<add value="Login.aspx" />
|
||||
</files>
|
||||
</defaultDocument>
|
||||
<security>
|
||||
<requestFiltering>
|
||||
<requestLimits maxAllowedContentLength="500000000"/>
|
||||
<requestLimits maxAllowedContentLength="500000000" />
|
||||
</requestFiltering>
|
||||
</security>
|
||||
</system.webServer>
|
||||
<!-- SERVER -->
|
||||
<system.serviceModel>
|
||||
<client>
|
||||
<endpoint address="http://localhost/CNCECHSSE/HSSEService.svc" binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint" contract="CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint"/>
|
||||
<endpoint address="https://mat.cwcec.com/LocWebServices/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="MCSService.WebService1Soap" name="WebService1Soap"/>
|
||||
<endpoint address="http://localhost/CNCECHSSE/HSSEService.svc" binding="wsHttpBinding" bindingConfiguration="HSSEServiceEndpoint" contract="CNCECHSSEService.HSSEService" name="HSSEServiceEndpoint" />
|
||||
<endpoint address="https://mat.cwcec.com/LocWebServices/WebService1.asmx" binding="basicHttpBinding" bindingConfiguration="WebService1Soap" contract="MCSService.WebService1Soap" name="WebService1Soap" />
|
||||
</client>
|
||||
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true"/>
|
||||
<serviceHostingEnvironment aspNetCompatibilityEnabled="true" multipleSiteBindingsEnabled="true" />
|
||||
<services>
|
||||
<service name="BLL.OpenService.HSSEService" behaviorConfiguration="BLL.HSSEServiceBehavior">
|
||||
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService"/>
|
||||
<endpoint address="" binding="wsHttpBinding" bindingConfiguration="BLL.HSSEServiceBinding" name="BLL.HSSEServiceEndpoint" contract="BLL.OpenService.IHSSEService" />
|
||||
</service>
|
||||
</services>
|
||||
<behaviors>
|
||||
<serviceBehaviors>
|
||||
<behavior name="BLL.HSSEServiceBehavior">
|
||||
<serviceMetadata httpGetEnabled="true"/>
|
||||
<serviceDebug includeExceptionDetailInFaults="false"/>
|
||||
<dataContractSerializer maxItemsInObjectGraph="2147483647"/>
|
||||
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647"/>
|
||||
<serviceMetadata httpGetEnabled="true" />
|
||||
<serviceDebug includeExceptionDetailInFaults="false" />
|
||||
<dataContractSerializer maxItemsInObjectGraph="2147483647" />
|
||||
<serviceThrottling maxConcurrentCalls="2147483647" maxConcurrentInstances="2147483647" maxConcurrentSessions="2147483647" />
|
||||
</behavior>
|
||||
</serviceBehaviors>
|
||||
</behaviors>
|
||||
<bindings>
|
||||
<basicHttpBinding>
|
||||
<binding name="WebService1Soap" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
|
||||
<security mode="Transport"/>
|
||||
<security mode="Transport" />
|
||||
</binding>
|
||||
</basicHttpBinding>
|
||||
<wsHttpBinding>
|
||||
<binding name="BLL.HSSEServiceBinding" closeTimeout="00:05:00" openTimeout="00:05:00" receiveTimeout="00:10:00" sendTimeout="00:10:00" bypassProxyOnLocal="false" hostNameComparisonMode="StrongWildcard" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647" messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true" allowCookies="false">
|
||||
<readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000"/>
|
||||
<readerQuotas maxDepth="32" maxStringContentLength="8192000" maxArrayLength="16384000" maxBytesPerRead="4096000" maxNameTableCharCount="16384000" />
|
||||
<security mode="Transport">
|
||||
<transport clientCredentialType="Windows" proxyCredentialType="None"/>
|
||||
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false"/>
|
||||
<transport clientCredentialType="Windows" proxyCredentialType="None" />
|
||||
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false" />
|
||||
</security>
|
||||
</binding>
|
||||
<binding name="HSSEServiceEndpoint" maxBufferPoolSize="5242880000" maxReceivedMessageSize="2147483647">
|
||||
<security mode="Transport">
|
||||
<transport clientCredentialType="Windows" proxyCredentialType="None"/>
|
||||
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false"/>
|
||||
<transport clientCredentialType="Windows" proxyCredentialType="None" />
|
||||
<message clientCredentialType="None" establishSecurityContext="false" negotiateServiceCredential="false" />
|
||||
</security>
|
||||
</binding>
|
||||
</wsHttpBinding>
|
||||
|
@ -179,20 +179,20 @@
|
|||
<runtime>
|
||||
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0"/>
|
||||
<assemblyIdentity name="Apache.NMS" publicKeyToken="82756feee3957618" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-1.8.0.0" newVersion="1.8.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0"/>
|
||||
<assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-12.0.0.0" newVersion="12.0.0.0" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1"/>
|
||||
<assemblyIdentity name="System.Memory" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-4.0.1.1" newVersion="4.0.1.1" />
|
||||
</dependentAssembly>
|
||||
<dependentAssembly>
|
||||
<assemblyIdentity name="System.Configuration.ConfigurationManager" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral"/>
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.1" newVersion="6.0.0.1"/>
|
||||
<assemblyIdentity name="System.Configuration.ConfigurationManager" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||
<bindingRedirect oldVersion="0.0.0.0-6.0.0.1" newVersion="6.0.0.1" />
|
||||
</dependentAssembly>
|
||||
</assemblyBinding>
|
||||
</runtime>
|
||||
|
|
|
@ -173,13 +173,13 @@ namespace FineUIPro.Web.ZHGL.InspectionSummary
|
|||
{
|
||||
ProblemTypes = x.ProblemTypes,
|
||||
ProjectId = x.ProjectId,
|
||||
CheckTime=x.CheckTime,
|
||||
States=x.States
|
||||
CheckTime = x.CheckTime,
|
||||
States = x.States
|
||||
}).Where(x => x.ProblemTypes == "1").ToList();
|
||||
//周例会
|
||||
var list3 = Funs.DB.Meeting_WeekMeeting.Select(x=>new ProjectIdAndDate { ProjectId=x.ProjectId, Mdate = x.WeekMeetingDate }).ToList();
|
||||
var list3 = Funs.DB.Meeting_WeekMeeting.Select(x => new ProjectIdAndDate { ProjectId = x.ProjectId, Mdate = x.WeekMeetingDate }).ToList();
|
||||
//月例会
|
||||
var list4 = Funs.DB.Meeting_MonthMeeting.Select(x=>new ProjectIdAndDate { ProjectId=x.ProjectId, Mdate = x.MonthMeetingDate }).ToList();
|
||||
var list4 = Funs.DB.Meeting_MonthMeeting.Select(x => new ProjectIdAndDate { ProjectId = x.ProjectId, Mdate = x.MonthMeetingDate }).ToList();
|
||||
|
||||
//作业票
|
||||
var list5 = Funs.DB.View_License_LicenseManager
|
||||
|
@ -188,7 +188,7 @@ namespace FineUIPro.Web.ZHGL.InspectionSummary
|
|||
|
||||
//工程师日志
|
||||
var list6 = (from x in Funs.DB.Manager_HSSELog
|
||||
where x.IsVisible !=false
|
||||
where x.IsVisible != false
|
||||
select new
|
||||
{
|
||||
x.ProjectId,
|
||||
|
@ -196,30 +196,34 @@ namespace FineUIPro.Web.ZHGL.InspectionSummary
|
|||
x.IsVisible
|
||||
}).ToList();
|
||||
//HSE管理月报
|
||||
var list7 = Funs.DB.Manager_MonthReportC.Select(x=> new ProjectIdAndDate { ProjectId=x.ProjectId, Mdate = x.Months }).ToList();
|
||||
var list7 = Funs.DB.Manager_MonthReportC.Select(x => new ProjectIdAndDate { ProjectId = x.ProjectId, Mdate = x.Months }).ToList();
|
||||
|
||||
//质量巡检
|
||||
var list8 = Funs.DB.Check_CheckControl.Select(x=>new ProjectIdAndDate { ProjectId=x.ProjectId, Mdate = x.CheckDate,state=x.State }).ToList();
|
||||
var list8 = Funs.DB.Check_CheckControl.Select(x => new ProjectIdAndDate { ProjectId = x.ProjectId, Mdate = x.CheckDate, state = x.State }).ToList();
|
||||
|
||||
//设备材料报验
|
||||
var list10 = Funs.DB.Comprehensive_InspectionEquipment.Select
|
||||
(x=>new ProjectIdAndDate { ProjectId=x.ProjectId, Mdate = x.InspectionDate }).ToList();
|
||||
(x => new ProjectIdAndDate { ProjectId = x.ProjectId, Mdate = x.InspectionDate }).ToList();
|
||||
|
||||
//人员报验
|
||||
var list11 = Funs.DB.Comprehensive_InspectionPerson.
|
||||
Select(x=>new ProjectIdAndDate { ProjectId=x.ProjectId, Mdate = x.ApprovalTime }).ToList();
|
||||
Select(x => new ProjectIdAndDate { ProjectId = x.ProjectId, Mdate = x.ApprovalTime }).ToList();
|
||||
|
||||
//机具报验
|
||||
var list13 = Funs.DB.Comprehensive_InspectionMachine
|
||||
.Select(x=>new ProjectIdAndDate { ProjectId=x.ProjectId, Mdate = x.InspectionDate }).ToList();
|
||||
.Select(x => new ProjectIdAndDate { ProjectId = x.ProjectId, Mdate = x.InspectionDate }).ToList();
|
||||
|
||||
//设计变更管理
|
||||
var list14 = Funs.DB.Comprehensive_DesignChangeOrder
|
||||
.Select(x=>new ProjectIdAndDate { ProjectId=x.ProjectId, Mdate = x.IssuedDate }).ToList();
|
||||
.Select(x => new ProjectIdAndDate { ProjectId = x.ProjectId, Mdate = x.IssuedDate }).ToList();
|
||||
|
||||
//施工方案管理
|
||||
var list15 = Funs.DB.Comprehensive_GeneralPlanApproval
|
||||
.Select(x=>new ProjectIdAndDate { ProjectId=x.ProjectId, Mdate = x.ApprovalDate }).ToList();
|
||||
.Select(x => new ProjectIdAndDate { ProjectId = x.ProjectId, Mdate = x.ApprovalDate }).ToList();
|
||||
|
||||
//超过一定规模的危大施工方案
|
||||
var list15_2 = Funs.DB.Comprehensive_MajorPlanApproval
|
||||
.Select(x => new ProjectIdAndDate { ProjectId = x.ProjectId, Mdate = x.ApprovalDate }).ToList();
|
||||
|
||||
//设计交底管理
|
||||
var list16 = Funs.DB.Comprehensive_DesignDetails
|
||||
|
@ -239,6 +243,16 @@ namespace FineUIPro.Web.ZHGL.InspectionSummary
|
|||
x.ReportType
|
||||
}).ToList();
|
||||
|
||||
//质量周报(新)
|
||||
var list18_2 = (from x in Funs.DB.Report_WeekAndMonthReport_New
|
||||
where x.ReportType == "2"
|
||||
select new
|
||||
{
|
||||
x.ProjectId,
|
||||
x.EndDate,
|
||||
x.ReportType
|
||||
}).ToList();
|
||||
|
||||
//质量月报
|
||||
var list19 = (from x in Funs.DB.Report_WeekAndMonthReport
|
||||
where x.ReportType == "2"
|
||||
|
@ -249,6 +263,16 @@ namespace FineUIPro.Web.ZHGL.InspectionSummary
|
|||
x.ReportType
|
||||
}).ToList();
|
||||
|
||||
//质量月报(新)
|
||||
var list19_2 = (from x in Funs.DB.Report_WeekAndMonthReport_New
|
||||
where x.ReportType == "1"
|
||||
select new
|
||||
{
|
||||
x.ProjectId,
|
||||
x.EndDate,
|
||||
x.ReportType
|
||||
}).ToList();
|
||||
|
||||
//一次共检合格数
|
||||
var list20 = (from x in Funs.DB.ProcessControl_InspectionManagement
|
||||
where x.IsOnceQualified == true
|
||||
|
@ -554,10 +578,15 @@ namespace FineUIPro.Web.ZHGL.InspectionSummary
|
|||
model.InspectionSummaryId = Guid.NewGuid().ToString();
|
||||
model.InspectionSummaryMbId = "15";
|
||||
var SgfaCount = list15.Where(x => x.ProjectId == pid).ToList().Count;
|
||||
model.SummeryResult = SgfaCount.ToString();
|
||||
if (SgfaCount>0)
|
||||
var bigCount = list15_2.Where(x => x.ProjectId == pid).ToList().Count;
|
||||
model.SummeryResult = (SgfaCount + bigCount).ToString();
|
||||
if (bigCount > 0 && SgfaCount == 0)
|
||||
{
|
||||
//审批日期
|
||||
model.CompileDate = list15_2.Where(x => x.ProjectId == pid).OrderByDescending(x => x.Mdate).FirstOrDefault().Mdate;
|
||||
}
|
||||
else if (SgfaCount > 0)
|
||||
{
|
||||
model.CompileDate = list15.Where(x => x.ProjectId == pid).OrderByDescending(x => x.Mdate).FirstOrDefault().Mdate;
|
||||
}
|
||||
allList.Add(model);
|
||||
|
@ -601,10 +630,14 @@ namespace FineUIPro.Web.ZHGL.InspectionSummary
|
|||
model.InspectionSummaryId = Guid.NewGuid().ToString();
|
||||
model.InspectionSummaryMbId = "18";
|
||||
var SgzbCount = list18.Where(x => x.ProjectId == pid).ToList().Count;
|
||||
model.SummeryResult = SgzbCount.ToString();
|
||||
if (SgzbCount>0)
|
||||
var newSgzbCount = list18_2.Where(x => x.ProjectId == pid).ToList().Count;
|
||||
model.SummeryResult = (SgzbCount + newSgzbCount).ToString();
|
||||
if (SgzbCount == 0 && newSgzbCount > 0)
|
||||
{
|
||||
model.CompileDate = list18_2.Where(x => x.ProjectId == pid).OrderByDescending(x => x.EndDate).FirstOrDefault().EndDate;
|
||||
}
|
||||
else if (SgzbCount > 0)
|
||||
{
|
||||
//StartDate,EndDate
|
||||
model.CompileDate = list18.Where(x => x.ProjectId == pid).OrderByDescending(x => x.EndDate).FirstOrDefault().EndDate;
|
||||
}
|
||||
allList.Add(model);
|
||||
|
@ -616,10 +649,14 @@ namespace FineUIPro.Web.ZHGL.InspectionSummary
|
|||
model.InspectionSummaryId = Guid.NewGuid().ToString();
|
||||
model.InspectionSummaryMbId = "19";
|
||||
var SgybCount = list19.Where(x => x.ProjectId == pid).ToList().Count;
|
||||
model.SummeryResult = SgybCount.ToString();
|
||||
if (SgybCount>0)
|
||||
var newSgybCount = list19_2.Where(x => x.ProjectId == pid).ToList().Count;
|
||||
model.SummeryResult = (SgybCount+ newSgybCount).ToString();
|
||||
if (newSgybCount > 0 && SgybCount == 0)
|
||||
{
|
||||
model.CompileDate = list19_2.Where(x => x.ProjectId == pid).OrderByDescending(x => x.EndDate).FirstOrDefault().EndDate;
|
||||
}
|
||||
else if (SgybCount > 0)
|
||||
{
|
||||
//StartDate,EndDate
|
||||
model.CompileDate = list19.Where(x => x.ProjectId == pid).OrderByDescending(x => x.EndDate).FirstOrDefault().EndDate;
|
||||
}
|
||||
allList.Add(model);
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
<packages>
|
||||
<package id="Apache.NMS" version="1.8.0" targetFramework="net40" />
|
||||
<package id="Apache.NMS.ActiveMQ" version="1.7.2" targetFramework="net40" />
|
||||
<package id="Microsoft.Office.Interop.Word" version="15.0.4797.1004" targetFramework="net461" />
|
||||
<package id="Newtonsoft.Json" version="12.0.1" targetFramework="net40" requireReinstallation="true" />
|
||||
<package id="NPOI" version="2.5.5" targetFramework="net461" />
|
||||
<package id="Portable.BouncyCastle" version="1.8.9" targetFramework="net461" />
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
Loading…
Reference in New Issue