修改小程序施工方案
This commit is contained in:
parent
757a0d859f
commit
1557fcc77d
|
@ -692,16 +692,17 @@ namespace BLL
|
||||||
var list = (from x in Funs.DB.Comprehensive_SpecialEquipment
|
var list = (from x in Funs.DB.Comprehensive_SpecialEquipment
|
||||||
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||||
join z in Funs.DB.Base_SpecialEquipment on x.EquipmentId equals z.SpecialEquipmentId
|
join z in Funs.DB.Base_SpecialEquipment on x.EquipmentId equals z.SpecialEquipmentId
|
||||||
where x.ProjectId==projectId
|
where x.ProjectId == projectId
|
||||||
select new Comprehensive_SpecialEquipmentDto {
|
select new Comprehensive_SpecialEquipmentDto
|
||||||
SpecialEquipmentId=x.SpecialEquipmentId,
|
{
|
||||||
UnitName=y.UnitName,
|
SpecialEquipmentId = x.SpecialEquipmentId,
|
||||||
SpecialEquipmentName=z.SpecialEquipmentName,
|
UnitName = y.UnitName,
|
||||||
PositionNum=x.PositionNum,
|
SpecialEquipmentName = z.SpecialEquipmentName,
|
||||||
SunNumber=x.SunNumber,
|
PositionNum = x.PositionNum,
|
||||||
InformNumber=x.InformNumber,
|
SunNumber = x.SunNumber,
|
||||||
SubmitDataNumber=x.SubmitDataNumber,
|
InformNumber = x.InformNumber,
|
||||||
MonitoringReportNumber=x.MonitoringReportNumber,
|
SubmitDataNumber = x.SubmitDataNumber,
|
||||||
|
MonitoringReportNumber = x.MonitoringReportNumber,
|
||||||
RemarkCode = x.RemarkCode,
|
RemarkCode = x.RemarkCode,
|
||||||
ReportTimes = string.Format("{0:yyyy-MM-dd}", x.ReportTime),
|
ReportTimes = string.Format("{0:yyyy-MM-dd}", x.ReportTime),
|
||||||
}
|
}
|
||||||
|
@ -742,19 +743,20 @@ namespace BLL
|
||||||
public static DateTime NextDate;
|
public static DateTime NextDate;
|
||||||
public static DateTime NewDate;
|
public static DateTime NewDate;
|
||||||
public static DateTime EndDate;
|
public static DateTime EndDate;
|
||||||
public static List<Model.InspectionManagementStatistics> getInspectionManagementStatisticsList(string projectId, string searchText = "") {
|
public static List<Model.InspectionManagementStatistics> getInspectionManagementStatisticsList(string projectId, string searchText = "")
|
||||||
|
{
|
||||||
var StatisticsList = new List<Model.InspectionManagementStatistics>();
|
var StatisticsList = new List<Model.InspectionManagementStatistics>();
|
||||||
Model.Base_Project project = BLL.ProjectService.GetProjectByProjectId(projectId);
|
Model.Base_Project project = BLL.ProjectService.GetProjectByProjectId(projectId);
|
||||||
var StartDate = Convert.ToDateTime(project.StartDate);
|
var StartDate = Convert.ToDateTime(project.StartDate);
|
||||||
|
|
||||||
|
|
||||||
for (int i = 0; i < i + 1; i++)
|
for (int i = 0; i < i + 1; i++)
|
||||||
{
|
{
|
||||||
Model.InspectionManagementStatistics Statistics = new Model.InspectionManagementStatistics();
|
Model.InspectionManagementStatistics Statistics = new Model.InspectionManagementStatistics();
|
||||||
if (i == 0)
|
if (i == 0)
|
||||||
{
|
{
|
||||||
NextDate = Convert.ToDateTime(DateTime.Parse(StartDate.ToString("yyyy-MM-dd")).AddMonths(1).ToShortDateString());
|
NextDate = Convert.ToDateTime(DateTime.Parse(StartDate.ToString("yyyy-MM-dd")).AddMonths(1).ToShortDateString());
|
||||||
NewDate = Convert.ToDateTime(NextDate.Year + "-" + NextDate.Month + "-25");
|
NewDate = Convert.ToDateTime(NextDate.Year + "-" + NextDate.Month + "-25");
|
||||||
Statistics.CheckDate = string.Format("{0:yyyy-MM-dd}", StartDate) + " 至 ";
|
Statistics.CheckDate = string.Format("{0:yyyy-MM-dd}", StartDate) + " 至 ";
|
||||||
if (StartDate.Day < 25)
|
if (StartDate.Day < 25)
|
||||||
{
|
{
|
||||||
|
@ -762,12 +764,12 @@ namespace BLL
|
||||||
{
|
{
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
|
|
||||||
//统计所给事件段的全部数量
|
//统计所给事件段的全部数量
|
||||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, false);
|
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, false);
|
||||||
//统计所给事件段的合格数量
|
//统计所给事件段的合格数量
|
||||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, true);
|
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, true);
|
||||||
|
|
||||||
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||||
Statistics.SunNumber = managementListSunNumber.Count();
|
Statistics.SunNumber = managementListSunNumber.Count();
|
||||||
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
|
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
|
||||||
|
@ -787,11 +789,11 @@ namespace BLL
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
NextDate = Convert.ToDateTime(StartDate.Year + "-" + StartDate.Month + "-25");
|
NextDate = Convert.ToDateTime(StartDate.Year + "-" + StartDate.Month + "-25");
|
||||||
|
|
||||||
//统计所给事件段的全部数量
|
//统计所给事件段的全部数量
|
||||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, false);
|
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, false);
|
||||||
//统计所给事件段的合格数量
|
//统计所给事件段的合格数量
|
||||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, true);
|
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, true);
|
||||||
|
|
||||||
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", NextDate);
|
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", NextDate);
|
||||||
Statistics.SunNumber = managementListSunNumber.Count();
|
Statistics.SunNumber = managementListSunNumber.Count();
|
||||||
|
@ -812,11 +814,11 @@ namespace BLL
|
||||||
{
|
{
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
|
|
||||||
//统计所给事件段的全部数量
|
//统计所给事件段的全部数量
|
||||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, false);
|
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, false);
|
||||||
//统计所给事件段的合格数量
|
//统计所给事件段的合格数量
|
||||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, true);
|
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, true);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -839,12 +841,12 @@ namespace BLL
|
||||||
{
|
{
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
|
|
||||||
//统计所给事件段的全部数量
|
//统计所给事件段的全部数量
|
||||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, false);
|
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, false);
|
||||||
//统计所给事件段的合格数量
|
//统计所给事件段的合格数量
|
||||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, true);
|
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, true);
|
||||||
|
|
||||||
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", NewDate);
|
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", NewDate);
|
||||||
Statistics.SunNumber = managementListSunNumber.Count();
|
Statistics.SunNumber = managementListSunNumber.Count();
|
||||||
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
|
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
|
||||||
|
@ -879,12 +881,12 @@ namespace BLL
|
||||||
{
|
{
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
|
|
||||||
//统计所给事件段的全部数量
|
//统计所给事件段的全部数量
|
||||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, false);
|
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, false);
|
||||||
//统计所给事件段的合格数量
|
//统计所给事件段的合格数量
|
||||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, true);
|
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, DateTime.Now, true);
|
||||||
|
|
||||||
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", DateTime.Now);
|
||||||
Statistics.SunNumber = managementListSunNumber.Count();
|
Statistics.SunNumber = managementListSunNumber.Count();
|
||||||
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
|
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
|
||||||
|
@ -904,12 +906,12 @@ namespace BLL
|
||||||
{
|
{
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListSunNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
List<Model.ProcessControl_InspectionManagement> managementListOneNumber = new List<Model.ProcessControl_InspectionManagement>();
|
||||||
|
|
||||||
//统计所给事件段的全部数量
|
//统计所给事件段的全部数量
|
||||||
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, false);
|
managementListSunNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, false);
|
||||||
//统计所给事件段的合格数量
|
//统计所给事件段的合格数量
|
||||||
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, true);
|
managementListOneNumber = BLL.InspectionManagementService.getInspectionManagementDetailListByDate(projectId, StartDate, NewDate, true);
|
||||||
|
|
||||||
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", NewDate);
|
Statistics.CheckDate += string.Format("{0:yyyy-MM-dd}", NewDate);
|
||||||
Statistics.SunNumber = managementListSunNumber.Count();
|
Statistics.SunNumber = managementListSunNumber.Count();
|
||||||
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
|
Statistics.OneStatisticsSunNumber = managementListOneNumber.Count();
|
||||||
|
@ -924,10 +926,143 @@ namespace BLL
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
StatisticsList.Add(Statistics);
|
StatisticsList.Add(Statistics);
|
||||||
|
|
||||||
}
|
}
|
||||||
return StatisticsList;
|
return StatisticsList;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region 施工组织设计及施工方案管理
|
||||||
|
public class Comprehensive_GeneralPlanApprovalDto : Model.Comprehensive_GeneralPlanApproval
|
||||||
|
{
|
||||||
|
public string UnitName { get; set; }
|
||||||
|
|
||||||
|
public string ProfessionalName { get; set; }
|
||||||
|
|
||||||
|
public string UnitWorkNames { get; set; }
|
||||||
|
|
||||||
|
public string ApprovalDates { get; set; }
|
||||||
|
|
||||||
|
//public string AttachUrl { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public static List<Comprehensive_GeneralPlanApprovalDto> getGeneralPlanList(string projectId, string searchText = "")
|
||||||
|
{
|
||||||
|
var list = (from x in Funs.DB.Comprehensive_GeneralPlanApproval
|
||||||
|
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||||
|
join z in Funs.DB.Base_CNProfessional on x.CNProfessionalId equals z.CNProfessionalId
|
||||||
|
where x.ProjectId == projectId
|
||||||
|
orderby x.ApprovalDate descending
|
||||||
|
select new Comprehensive_GeneralPlanApprovalDto
|
||||||
|
{
|
||||||
|
GeneralPlanApprovalId = x.GeneralPlanApprovalId,
|
||||||
|
UnitName = y.UnitName,
|
||||||
|
ProfessionalName = z.ProfessionalName,
|
||||||
|
UnitWorkNames = ConvertUnitWork(x.UnitWorkId),
|
||||||
|
PlanCode = x.PlanCode,
|
||||||
|
PlanName = x.PlanName,
|
||||||
|
ApprovalDates = string.Format("{0:yyyy-MM-dd}", x.ApprovalDate),
|
||||||
|
AuditMan = x.AuditMan,
|
||||||
|
ApprovalMan = x.ApprovalMan,
|
||||||
|
ImplementationDeviation = x.ImplementationDeviation,
|
||||||
|
RemarkCode = x.RemarkCode
|
||||||
|
}).ToList();
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Comprehensive_GeneralPlanApprovalDto getGeneralPlan(string Id)
|
||||||
|
{
|
||||||
|
var list = (from x in Funs.DB.Comprehensive_GeneralPlanApproval
|
||||||
|
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||||
|
join z in Funs.DB.Base_CNProfessional on x.CNProfessionalId equals z.CNProfessionalId
|
||||||
|
where x.GeneralPlanApprovalId == Id
|
||||||
|
select new Comprehensive_GeneralPlanApprovalDto
|
||||||
|
{
|
||||||
|
GeneralPlanApprovalId = x.GeneralPlanApprovalId,
|
||||||
|
UnitName = y.UnitName,
|
||||||
|
ProfessionalName = z.ProfessionalName,
|
||||||
|
UnitWorkNames = ConvertUnitWork(x.UnitWorkId),
|
||||||
|
PlanCode = x.PlanCode,
|
||||||
|
PlanName = x.PlanName,
|
||||||
|
ApprovalDates = string.Format("{0:yyyy-MM-dd}", x.ApprovalDate),
|
||||||
|
AuditMan = x.AuditMan,
|
||||||
|
ApprovalMan = x.ApprovalMan,
|
||||||
|
ImplementationDeviation = x.ImplementationDeviation,
|
||||||
|
RemarkCode = x.RemarkCode,
|
||||||
|
AttachUrl = APIUpLoadFileService.getFileUrl(x.GeneralPlanApprovalId, null),
|
||||||
|
}).First();
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 超危大工程施工方案管理
|
||||||
|
public class Comprehensive_MajorPlanApprovalDto : Model.Comprehensive_MajorPlanApproval
|
||||||
|
{
|
||||||
|
public string UnitName { get; set; }
|
||||||
|
|
||||||
|
public string ProfessionalName { get; set; }
|
||||||
|
|
||||||
|
public string UnitWorkNames { get; set; }
|
||||||
|
|
||||||
|
public string ApprovalDates { get; set; }
|
||||||
|
|
||||||
|
public string IsReviews { get; set; }
|
||||||
|
}
|
||||||
|
|
||||||
|
public static List<Comprehensive_MajorPlanApprovalDto> getMajorPlanList(string projectId, string searchText = "")
|
||||||
|
{
|
||||||
|
var list = (from x in Funs.DB.Comprehensive_MajorPlanApproval
|
||||||
|
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||||
|
join z in Funs.DB.Base_CNProfessional on x.CNProfessionalId equals z.CNProfessionalId
|
||||||
|
where x.ProjectId == projectId
|
||||||
|
orderby x.ApprovalDate descending
|
||||||
|
select new Comprehensive_MajorPlanApprovalDto {
|
||||||
|
MajorPlanApprovalId=x.MajorPlanApprovalId,
|
||||||
|
UnitName = y.UnitName,
|
||||||
|
ProfessionalName = z.ProfessionalName,
|
||||||
|
UnitWorkNames = ConvertUnitWork(x.UnitWorkId),
|
||||||
|
PlanCode = x.PlanCode,
|
||||||
|
PlanName = x.PlanName,
|
||||||
|
ReviewMan=x.ReviewMan,
|
||||||
|
ApprovalDates = string.Format("{0:yyyy-MM-dd}", x.ApprovalDate),
|
||||||
|
AuditMan=x.AuditMan,
|
||||||
|
ApprovalMan=x.ApprovalMan,
|
||||||
|
ExpertReviewMan = x.ExpertReviewMan,
|
||||||
|
IsReviews = x.IsReview==true?"是":"否",
|
||||||
|
ImplementationDeviation=x.ImplementationDeviation,
|
||||||
|
RemarkCode = x.RemarkCode,
|
||||||
|
})
|
||||||
|
.ToList();
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
|
||||||
|
public static Comprehensive_MajorPlanApprovalDto getMajorPlan(string Id)
|
||||||
|
{
|
||||||
|
var list = (from x in Funs.DB.Comprehensive_MajorPlanApproval
|
||||||
|
join y in Funs.DB.Base_Unit on x.UnitId equals y.UnitId
|
||||||
|
join z in Funs.DB.Base_CNProfessional on x.CNProfessionalId equals z.CNProfessionalId
|
||||||
|
where x.MajorPlanApprovalId == Id
|
||||||
|
select new Comprehensive_MajorPlanApprovalDto
|
||||||
|
{
|
||||||
|
MajorPlanApprovalId = x.MajorPlanApprovalId,
|
||||||
|
UnitName = y.UnitName,
|
||||||
|
ProfessionalName = z.ProfessionalName,
|
||||||
|
UnitWorkNames = ConvertUnitWork(x.UnitWorkId),
|
||||||
|
PlanCode = x.PlanCode,
|
||||||
|
PlanName = x.PlanName,
|
||||||
|
ReviewMan = x.ReviewMan,
|
||||||
|
ApprovalDates = string.Format("{0:yyyy-MM-dd}", x.ApprovalDate),
|
||||||
|
AuditMan = x.AuditMan,
|
||||||
|
ApprovalMan = x.ApprovalMan,
|
||||||
|
IsReviews = x.IsReview == true ? "是" : "否",
|
||||||
|
ImplementationDeviation = x.ImplementationDeviation,
|
||||||
|
RemarkCode = x.RemarkCode,
|
||||||
|
ExpertReviewMan=x.ExpertReviewMan,
|
||||||
|
AttachUrl = APIUpLoadFileService.getFileUrl(x.MajorPlanApprovalId, null),
|
||||||
|
})
|
||||||
|
.First();
|
||||||
|
return list;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,3 +26,107 @@ IP地址:::1
|
||||||
|
|
||||||
出错时间:09/23/2024 10:27:46
|
出错时间:09/23/2024 10:27:46
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:ArgumentException
|
||||||
|
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||||
|
参数名: via
|
||||||
|
错误堆栈:
|
||||||
|
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||||
|
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||||
|
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||||
|
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||||
|
在 BLL.CNCECHSSEService.HSSEServiceClient.GetSupervise_SubUnitReportListToSUB() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13827
|
||||||
|
在 BLL.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2181
|
||||||
|
出错时间:09/24/2024 13:18:32
|
||||||
|
出错时间:09/24/2024 13:18:32
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:ArgumentException
|
||||||
|
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||||
|
参数名: via
|
||||||
|
错误堆栈:
|
||||||
|
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||||
|
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||||
|
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||||
|
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||||
|
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckInfo_Table8ItemListToSUB(String unitId) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13851
|
||||||
|
在 BLL.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2046
|
||||||
|
出错时间:09/24/2024 13:18:32
|
||||||
|
出错时间:09/24/2024 13:18:32
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:ArgumentException
|
||||||
|
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||||
|
参数名: via
|
||||||
|
错误堆栈:
|
||||||
|
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||||
|
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||||
|
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||||
|
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||||
|
在 BLL.CNCECHSSEService.HSSEServiceClient.GetCheck_CheckRectifyListToSUB(String unitId) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13843
|
||||||
|
在 BLL.CNCECHSSEWebService.getCheck_CheckRectify() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1942
|
||||||
|
出错时间:09/24/2024 13:18:32
|
||||||
|
出错时间:09/24/2024 13:18:32
|
||||||
|
|
||||||
|
|
||||||
|
错误信息开始=====>
|
||||||
|
错误类型:ArgumentException
|
||||||
|
错误信息:提供的 URI 方案“http”无效,应为“https”。
|
||||||
|
参数名: via
|
||||||
|
错误堆栈:
|
||||||
|
在 System.ServiceModel.Channels.TransportChannelFactory`1.ValidateScheme(Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpsChannelFactory`1.ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpsChannelFactory`1.OnCreateChannelCore(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.HttpChannelFactory`1.OnCreateChannel(EndpointAddress remoteAddress, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ChannelFactoryBase`1.InternalCreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ChannelFactoryBase`1.CreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.ServiceChannelFactoryOverRequest.CreateInnerChannelBinder(EndpointAddress to, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateServiceChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.Channels.ServiceChannelFactory.CreateChannel(Type channelType, EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.ChannelFactory`1.CreateChannel(EndpointAddress address, Uri via)
|
||||||
|
在 System.ServiceModel.ChannelFactory`1.CreateChannel()
|
||||||
|
在 System.ServiceModel.ClientBase`1.CreateChannel()
|
||||||
|
在 System.ServiceModel.ClientBase`1.CreateChannelInternal()
|
||||||
|
在 System.ServiceModel.ClientBase`1.get_Channel()
|
||||||
|
在 BLL.CNCECHSSEService.HSSEServiceClient.GetInformation_UrgeReportToSUB(String unitId) 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\Service References\CNCECHSSEService\Reference.cs:行号 13643
|
||||||
|
在 BLL.CNCECHSSEWebService.getInformation_UrgeReport() 位置 G:\公司项目\五环\CNCEC_SUBQHSE_WUHUAN\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1884
|
||||||
|
出错时间:09/24/2024 13:18:32
|
||||||
|
出错时间:09/24/2024 13:18:32
|
||||||
|
|
||||||
|
|
|
@ -524,5 +524,111 @@ namespace WebAPI.Controllers.CQMS
|
||||||
return responeData;
|
return responeData;
|
||||||
}
|
}
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region 施工组织设计及施工方案管理
|
||||||
|
/// <summary>
|
||||||
|
/// 施工组织设计及施工方案管理列表
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="projectId"></param>
|
||||||
|
/// <param name="pageIndex"></param>
|
||||||
|
/// <param name="serachText"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpGet]
|
||||||
|
public Model.ResponeData getGeneralPlanList(string projectId, string serachText = "", int pageIndex = 0)
|
||||||
|
{
|
||||||
|
var responeData = new Model.ResponeData();
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var getDataList = QualityAssuranceService.getGeneralPlanList(projectId, serachText);
|
||||||
|
int pageCount = getDataList.Count();
|
||||||
|
if (pageCount > 0 && pageIndex > 0)
|
||||||
|
{
|
||||||
|
getDataList = getDataList.Skip(Funs.PageSize * (pageIndex - 1)).Take(Funs.PageSize).ToList();
|
||||||
|
}
|
||||||
|
responeData.data = new { pageCount, getDataList };
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
responeData.code = 0;
|
||||||
|
responeData.message = ex.Message;
|
||||||
|
}
|
||||||
|
return responeData;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 施工组织设计及施工方案管理详情
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="Id"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpGet]
|
||||||
|
public Model.ResponeData getGeneralPlan(string Id)
|
||||||
|
{
|
||||||
|
var responeData = new Model.ResponeData();
|
||||||
|
try
|
||||||
|
{
|
||||||
|
responeData.data = QualityAssuranceService.getGeneralPlan(Id);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
responeData.code = 0;
|
||||||
|
responeData.message = ex.Message;
|
||||||
|
}
|
||||||
|
|
||||||
|
return responeData;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 超危大工程施工方案管理
|
||||||
|
/// <summary>
|
||||||
|
/// 超危大工程施工方案管理列表
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="projectId"></param>
|
||||||
|
/// <param name="pageIndex"></param>
|
||||||
|
/// <param name="serachText"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpGet]
|
||||||
|
public Model.ResponeData getMajorPlanList(string projectId, string serachText = "", int pageIndex = 0)
|
||||||
|
{
|
||||||
|
var responeData = new Model.ResponeData();
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var getDataList = QualityAssuranceService.getMajorPlanList(projectId, serachText);
|
||||||
|
int pageCount = getDataList.Count();
|
||||||
|
if (pageCount > 0 && pageIndex > 0)
|
||||||
|
{
|
||||||
|
getDataList = getDataList.Skip(Funs.PageSize * (pageIndex - 1)).Take(Funs.PageSize).ToList();
|
||||||
|
}
|
||||||
|
responeData.data = new { pageCount, getDataList };
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
responeData.code = 0;
|
||||||
|
responeData.message = ex.Message;
|
||||||
|
}
|
||||||
|
return responeData;
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 超危大工程施工方案管理详情
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="Id"></param>
|
||||||
|
/// <returns></returns>
|
||||||
|
[HttpGet]
|
||||||
|
public Model.ResponeData getMajorPlan(string Id)
|
||||||
|
{
|
||||||
|
var responeData = new Model.ResponeData();
|
||||||
|
try
|
||||||
|
{
|
||||||
|
responeData.data = QualityAssuranceService.getMajorPlan(Id);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
responeData.code = 0;
|
||||||
|
responeData.message = ex.Message;
|
||||||
|
}
|
||||||
|
|
||||||
|
return responeData;
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -6,7 +6,7 @@
|
||||||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<_PublishTargetUrl>E:\Package\中国五环工程有限公司\SGGLAPI</_PublishTargetUrl>
|
<_PublishTargetUrl>E:\Package\中国五环工程有限公司\SGGLAPI</_PublishTargetUrl>
|
||||||
<History>True|2024-09-20T09:30:59.6144803Z;True|2024-09-20T15:28:40.2547949+08:00;True|2024-09-19T16:30:51.3047517+08:00;True|2024-09-19T15:53:23.2431713+08:00;True|2024-09-19T15:48:55.0571748+08:00;True|2024-09-19T15:06:29.5748482+08:00;True|2024-09-19T14:55:42.1477578+08:00;True|2024-09-19T10:07:53.8666329+08:00;True|2024-09-03T16:26:17.4985546+08:00;True|2024-07-17T10:29:15.9472548+08:00;</History>
|
<History>True|2024-09-24T01:51:10.8028974Z;True|2024-09-20T17:30:59.6144803+08:00;True|2024-09-20T15:28:40.2547949+08:00;True|2024-09-19T16:30:51.3047517+08:00;True|2024-09-19T15:53:23.2431713+08:00;True|2024-09-19T15:48:55.0571748+08:00;True|2024-09-19T15:06:29.5748482+08:00;True|2024-09-19T14:55:42.1477578+08:00;True|2024-09-19T10:07:53.8666329+08:00;True|2024-09-03T16:26:17.4985546+08:00;True|2024-07-17T10:29:15.9472548+08:00;</History>
|
||||||
<LastFailureDetails />
|
<LastFailureDetails />
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -86,22 +86,22 @@
|
||||||
<publishTime>03/11/2024 11:33:45</publishTime>
|
<publishTime>03/11/2024 11:33:45</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/App_global.asax.compiled">
|
<File Include="bin/App_global.asax.compiled">
|
||||||
<publishTime>09/20/2024 17:30:56</publishTime>
|
<publishTime>09/24/2024 09:51:10</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/App_global.asax.dll">
|
<File Include="bin/App_global.asax.dll">
|
||||||
<publishTime>09/20/2024 17:30:56</publishTime>
|
<publishTime>09/24/2024 09:51:10</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/Aspose.Words.dll">
|
<File Include="bin/Aspose.Words.dll">
|
||||||
<publishTime>03/11/2024 11:23:37</publishTime>
|
<publishTime>03/11/2024 11:23:37</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/BLL.dll">
|
<File Include="bin/BLL.dll">
|
||||||
<publishTime>09/20/2024 15:28:21</publishTime>
|
<publishTime>09/24/2024 09:50:50</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/BLL.dll.config">
|
<File Include="bin/BLL.dll.config">
|
||||||
<publishTime>05/22/2024 09:42:30</publishTime>
|
<publishTime>05/22/2024 09:42:30</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/BLL.pdb">
|
<File Include="bin/BLL.pdb">
|
||||||
<publishTime>09/20/2024 15:28:21</publishTime>
|
<publishTime>09/24/2024 09:50:50</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/BouncyCastle.Crypto.dll">
|
<File Include="bin/BouncyCastle.Crypto.dll">
|
||||||
<publishTime>12/18/2020 05:32:28</publishTime>
|
<publishTime>12/18/2020 05:32:28</publishTime>
|
||||||
|
@ -383,13 +383,13 @@
|
||||||
<publishTime>02/09/2013 00:42:28</publishTime>
|
<publishTime>02/09/2013 00:42:28</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/WebAPI.dll">
|
<File Include="bin/WebAPI.dll">
|
||||||
<publishTime>09/20/2024 17:30:40</publishTime>
|
<publishTime>09/24/2024 09:50:50</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/WebAPI.pdb">
|
<File Include="bin/WebAPI.pdb">
|
||||||
<publishTime>09/20/2024 17:30:40</publishTime>
|
<publishTime>09/24/2024 09:50:50</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/WebAPI.xml">
|
<File Include="bin/WebAPI.xml">
|
||||||
<publishTime>09/20/2024 17:30:40</publishTime>
|
<publishTime>09/24/2024 09:50:50</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="bin/WebGrease.dll">
|
<File Include="bin/WebGrease.dll">
|
||||||
<publishTime>01/23/2014 21:57:34</publishTime>
|
<publishTime>01/23/2014 21:57:34</publishTime>
|
||||||
|
@ -473,7 +473,7 @@
|
||||||
<publishTime>03/11/2024 11:23:37</publishTime>
|
<publishTime>03/11/2024 11:23:37</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="PrecompiledApp.config">
|
<File Include="PrecompiledApp.config">
|
||||||
<publishTime>09/20/2024 17:30:47</publishTime>
|
<publishTime>09/24/2024 09:50:53</publishTime>
|
||||||
</File>
|
</File>
|
||||||
<File Include="Scripts/bootstrap.js">
|
<File Include="Scripts/bootstrap.js">
|
||||||
<publishTime>03/11/2024 11:23:37</publishTime>
|
<publishTime>03/11/2024 11:23:37</publishTime>
|
||||||
|
|
Loading…
Reference in New Issue