diff --git a/DataBase/版本日志/SGGLDB_WH_2023-05-23.sql b/DataBase/版本日志/SGGLDB_WH_2023-05-23.sql
new file mode 100644
index 00000000..c46fee9e
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_WH_2023-05-23.sql
@@ -0,0 +1,6 @@
+insert into [Sys_Const]
+values('C92CC20B-1710-4DD3-A0DA-9E308DCC945B','Menu_Doc','Э빵ͨ',13,'MenuType_P',null)
+GO
+
+
+
diff --git a/DataBase/版本日志/SGGLDB_WH_2023-05-24.sql b/DataBase/版本日志/SGGLDB_WH_2023-05-24.sql
new file mode 100644
index 00000000..fb348ba1
--- /dev/null
+++ b/DataBase/版本日志/SGGLDB_WH_2023-05-24.sql
@@ -0,0 +1,49 @@
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('D00B3C53-2972-4D24-B88F-B38880D4A24F','豸Ϸ','JDGL/WBS/EquipmentMaterialType.aspx',5,'0','Menu_JDGL',0,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('3B588E9C-B89C-466B-B1A6-A8986F04EBA6','D00B3C53-2972-4D24-B88F-B38880D4A24F','',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('9522CCE6-9F26-4C4B-84AC-708E7FC7F39D','D00B3C53-2972-4D24-B88F-B38880D4A24F','',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('D2F495A5-33D0-49B2-BEF5-BA96C9283D71','D00B3C53-2972-4D24-B88F-B38880D4A24F','ɾ',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('2AE8CA32-9218-41A1-AEFF-33B5EB416B08','D00B3C53-2972-4D24-B88F-B38880D4A24F','',4)
+ GO
+
+
+
+CREATE TABLE [dbo].[WBS_EquipmentMaterialType](
+ [EquipmentMaterialTypeId] [nvarchar](50) NOT NULL,
+ [EquipmentMaterialTypeCode] [nvarchar](50) NULL,
+ [EquipmentMaterialTypeName] [nvarchar](50) NULL,
+ [Remark] [nvarchar](100) NULL,
+ CONSTRAINT [PK_WBS_EquipmentMaterialType] PRIMARY KEY CLUSTERED
+(
+ [EquipmentMaterialTypeId] ASC
+)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
+) ON [PRIMARY]
+
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'WBS_EquipmentMaterialType', @level2type=N'COLUMN',@level2name=N'EquipmentMaterialTypeId'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'WBS_EquipmentMaterialType', @level2type=N'COLUMN',@level2name=N'EquipmentMaterialTypeCode'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'WBS_EquipmentMaterialType', @level2type=N'COLUMN',@level2name=N'EquipmentMaterialTypeName'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'WBS_EquipmentMaterialType', @level2type=N'COLUMN',@level2name=N'Remark'
+GO
+
+EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'豸Ϸ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'WBS_EquipmentMaterialType'
+GO
+
+
+alter table WBS_CostControl add EquipmentMaterialTypeId nvarchar(50) null
+GO
+alter table WBS_CostControl add constraint FK_WBS_CostControl_WBS_EquipmentMaterialType
+foreign key (EquipmentMaterialTypeId) references WBS_EquipmentMaterialType (EquipmentMaterialTypeId)
+GO
\ No newline at end of file
diff --git a/DataBase/菜单初始化脚本/1-4进度管理(Menu_JDGL).sql b/DataBase/菜单初始化脚本/1-4进度管理(Menu_JDGL).sql
index 2368f3a8..11a57366 100644
--- a/DataBase/菜单初始化脚本/1-4进度管理(Menu_JDGL).sql
+++ b/DataBase/菜单初始化脚本/1-4进度管理(Menu_JDGL).sql
@@ -6,6 +6,19 @@ go
--INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
--VALUES('B707B4E0-EF73-4010-A13B-59263A5029C7','单位、分部、分项工程设置','',10,'0','Menu_JDGL',0,0,1)
--GO
+ INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
+ VALUES('D00B3C53-2972-4D24-B88F-B38880D4A24F','设备材料分类','JDGL/WBS/EquipmentMaterialType.aspx',5,'0','Menu_JDGL',0,1,1)
+ GO
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('3B588E9C-B89C-466B-B1A6-A8986F04EBA6','D00B3C53-2972-4D24-B88F-B38880D4A24F','增加',1)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('9522CCE6-9F26-4C4B-84AC-708E7FC7F39D','D00B3C53-2972-4D24-B88F-B38880D4A24F','修改',2)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('D2F495A5-33D0-49B2-BEF5-BA96C9283D71','D00B3C53-2972-4D24-B88F-B38880D4A24F','删除',3)
+ INSERT INTO dbo.Sys_ButtonToMenu(ButtonToMenuId,MenuId,ButtonName,SortIndex)
+ VALUES('2AE8CA32-9218-41A1-AEFF-33B5EB416B08','D00B3C53-2972-4D24-B88F-B38880D4A24F','保存',4)
+ GO
+
INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed)
VALUES('858E83E9-ADE5-452E-BD65-82D8DFF872C0','分部、工作项及费用清单裁剪','JDGL/WBS/WBSSetAudit.aspx',10,'0','Menu_JDGL',0,1,1)
GO
diff --git a/SGGL/BLL/API/APICommonService.cs b/SGGL/BLL/API/APICommonService.cs
index a8c24095..c837f98b 100644
--- a/SGGL/BLL/API/APICommonService.cs
+++ b/SGGL/BLL/API/APICommonService.cs
@@ -92,9 +92,9 @@ namespace BLL
page = "pages/index/main",
data = new
{
- thing2 = new { value = thing2 },
- name1 = new { value = name1 },
- date3 = new { value = date3 }
+ thing3 = new { value = thing2 },
+ thing13 = new { value = name1 },
+ time5 = new { value = date3 }
},
miniprogram_state,
lang = "zh_CN",
diff --git a/SGGL/BLL/BLL.csproj b/SGGL/BLL/BLL.csproj
index 582d2550..8999c286 100644
--- a/SGGL/BLL/BLL.csproj
+++ b/SGGL/BLL/BLL.csproj
@@ -582,6 +582,7 @@
+
diff --git a/SGGL/BLL/Common/Const.cs b/SGGL/BLL/Common/Const.cs
index 27a49771..27d97a2a 100644
--- a/SGGL/BLL/Common/Const.cs
+++ b/SGGL/BLL/Common/Const.cs
@@ -61,7 +61,7 @@ namespace BLL
///
/// 微信订阅模板ID
///
- public const string WX_TemplateID = "hKFrcahyXEjGSrLM4qBPpjXAkFldnrqxU_mARd1IF4o";
+ public const string WX_TemplateID = "1gT0FfTc2LwnnqUCU8h_nXDyv8VGtne1Iolo47gPA0c";
///
/// 五环OA 私钥
@@ -5204,6 +5204,11 @@ namespace BLL
///
public const string ProjectInstallationMenuId = "A4308F9A-0280-49C5-BEE4-FA858FE1CE24";
+ ///
+ /// 设备材料分类
+ ///
+ public const string EquipmentMaterialTypeMenuId = "D00B3C53-2972-4D24-B88F-B38880D4A24F";
+
///
/// 分部、工作项及费用清单设置
///
diff --git a/SGGL/BLL/JDGL/WBS/CostControlService.cs b/SGGL/BLL/JDGL/WBS/CostControlService.cs
index e0d1b599..7a0839d2 100644
--- a/SGGL/BLL/JDGL/WBS/CostControlService.cs
+++ b/SGGL/BLL/JDGL/WBS/CostControlService.cs
@@ -63,6 +63,7 @@ namespace BLL
newUP.CostControlName = costControl.CostControlName;
newUP.Unit = costControl.Unit;
newUP.IsSelected = costControl.IsSelected;
+ newUP.EquipmentMaterialTypeId = costControl.EquipmentMaterialTypeId;
newUP.TotalNum = costControl.TotalNum;
newUP.RealPrice = costControl.RealPrice;
@@ -84,6 +85,7 @@ namespace BLL
newUP.Unit = costControl.Unit;
newUP.TotalNum = costControl.TotalNum;
newUP.IsSelected = costControl.IsSelected;
+ newUP.EquipmentMaterialTypeId = costControl.EquipmentMaterialTypeId;
newUP.RealPrice = costControl.RealPrice;
newUP.PlanPrice = costControl.PlanPrice;
newUP.PlanStartDate = costControl.PlanStartDate;
diff --git a/SGGL/BLL/JDGL/WBS/EquipmentMaterialTypeService.cs b/SGGL/BLL/JDGL/WBS/EquipmentMaterialTypeService.cs
new file mode 100644
index 00000000..a16cfa4b
--- /dev/null
+++ b/SGGL/BLL/JDGL/WBS/EquipmentMaterialTypeService.cs
@@ -0,0 +1,125 @@
+using FineUIPro;
+using System;
+using System.Collections;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+
+namespace BLL
+{
+ public static class EquipmentMaterialTypeService
+ {
+ public static Model.SGGLDB db = Funs.DB;
+
+ ///
+ /// 获取实体集合
+ ///
+ ///
+ public static List GetList()
+ {
+ var q = (from x in Funs.DB.WBS_EquipmentMaterialType orderby x.EquipmentMaterialTypeCode select x).ToList();
+ return q;
+ }
+ ///
+ /// 添加
+ ///
+ ///
+ public static void AddEquipmentMaterialType(Model.WBS_EquipmentMaterialType equipmentMaterialType)
+ {
+ Model.SGGLDB db = Funs.DB;
+ Model.WBS_EquipmentMaterialType newEquipmentMaterialType = new Model.WBS_EquipmentMaterialType
+ {
+ EquipmentMaterialTypeId = equipmentMaterialType.EquipmentMaterialTypeId,
+ EquipmentMaterialTypeCode = equipmentMaterialType.EquipmentMaterialTypeCode,
+ EquipmentMaterialTypeName = equipmentMaterialType.EquipmentMaterialTypeName,
+ Remark = equipmentMaterialType.Remark
+ };
+
+ db.WBS_EquipmentMaterialType.InsertOnSubmit(newEquipmentMaterialType);
+ db.SubmitChanges();
+ }
+
+ ///
+ /// 修改
+ ///
+ ///
+ public static void UpdateEquipmentMaterialType(Model.WBS_EquipmentMaterialType equipmentMaterialType)
+ {
+ Model.SGGLDB db = Funs.DB;
+ Model.WBS_EquipmentMaterialType newEquipmentMaterialType = db.WBS_EquipmentMaterialType.FirstOrDefault(e => e.EquipmentMaterialTypeId == equipmentMaterialType.EquipmentMaterialTypeId);
+ if (newEquipmentMaterialType != null)
+ {
+ newEquipmentMaterialType.EquipmentMaterialTypeCode = equipmentMaterialType.EquipmentMaterialTypeCode;
+ newEquipmentMaterialType.EquipmentMaterialTypeName = equipmentMaterialType.EquipmentMaterialTypeName;
+ newEquipmentMaterialType.Remark = equipmentMaterialType.Remark;
+ db.SubmitChanges();
+ }
+ }
+
+ ///
+ /// 根据主键删除信息
+ ///
+ ///
+ public static void DeleteEquipmentMaterialTypeById(string equipmentMaterialTypeId)
+ {
+ Model.SGGLDB db = Funs.DB;
+ Model.WBS_EquipmentMaterialType equipmentMaterialType = db.WBS_EquipmentMaterialType.FirstOrDefault(e => e.EquipmentMaterialTypeId == equipmentMaterialTypeId);
+ {
+ db.WBS_EquipmentMaterialType.DeleteOnSubmit(equipmentMaterialType);
+ db.SubmitChanges();
+ }
+ }
+ public static void InitEquipmentMaterialTypeDownList(FineUIPro.DropDownList dropName, bool isShowPlease)
+ {
+ dropName.DataValueField = "Value";
+ dropName.DataTextField = "Text";
+ dropName.DataSource = GetEquipmentMaterialTypeItem();
+ dropName.DataBind();
+ if (isShowPlease)
+ {
+ Funs.FineUIPleaseSelect(dropName);
+ }
+ }
+ ///
+ /// 设备材料分类下拉框
+ ///
+ ///
+ ///
+ ///
+ public static void InitEquipmentMaterialType(FineUIPro.DropDownList dropName, bool isShowPlease)
+ {
+ dropName.DataValueField = "Text";
+ dropName.DataTextField = "Text";
+ dropName.DataSource = GetEquipmentMaterialTypeItem();
+ dropName.DataBind();
+ if (isShowPlease)
+ {
+ Funs.FineUIPleaseSelect(dropName);
+ }
+ }
+ ///
+ /// 获取设备材料分类集合
+ ///
+ ///
+ public static ListItem[] GetEquipmentMaterialTypeItem()
+ {
+ var q = (from x in Funs.DB.WBS_EquipmentMaterialType orderby x.EquipmentMaterialTypeCode select x).ToList();
+ ListItem[] list = new ListItem[q.Count()];
+ for (int i = 0; i < q.Count(); i++)
+ {
+ list[i] = new ListItem(q[i].EquipmentMaterialTypeName ?? "", q[i].EquipmentMaterialTypeId);
+ }
+ return list;
+ }
+
+ ///
+ /// 获取一个设备材料分类信息
+ ///
+ ///
+ ///
+ public static Model.WBS_EquipmentMaterialType GetEquipmentMaterialType(string EquipmentMaterialTypeId)
+ {
+ return Funs.DB.WBS_EquipmentMaterialType.FirstOrDefault(e => e.EquipmentMaterialTypeId == EquipmentMaterialTypeId);
+ }
+ }
+}
diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt
index b95cf839..356083b2 100644
--- a/SGGL/FineUIPro.Web/ErrLog.txt
+++ b/SGGL/FineUIPro.Web/ErrLog.txt
@@ -1,62 +1,389 @@
错误信息开始=====>
错误类型:IndexOutOfRangeException
-错误信息:在位置 -1 处没有任何行。
+错误信息:无法找到列 SortIndex。
错误堆栈:
- 在 System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
- 在 System.Data.DataRowCollection.get_Item(Int32 index)
- 在 FineUIPro.Web.JDGL.CostAnalysis.JDReport.GetValue() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\CostAnalysis\JDReport.aspx.cs:行号 112
- 在 FineUIPro.Web.JDGL.CostAnalysis.JDReport.Page_Load(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\CostAnalysis\JDReport.aspx.cs:行号 25
+ 在 System.Data.DataTable.ParseSortString(String sortString)
+ 在 System.Data.DataView.CheckSort(String sort)
+ 在 System.Data.DataView.set_Sort(String value)
+ 在 FineUIPro.Web.PageBase.GetPagedDataTable(Grid Grid1, DataTable tb) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\common\PageBase.cs:行号 562
+ 在 FineUIPro.Web.JDGL.WBS.EquipmentMaterialType.BindGrid() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\EquipmentMaterialType.aspx.cs:行号 36
+ 在 FineUIPro.Web.JDGL.WBS.EquipmentMaterialType.Window1_Close(Object sender, WindowCloseEventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\EquipmentMaterialType.aspx.cs:行号 179
+ 在 FineUIPro.Window.OnClose(WindowCloseEventArgs e)
+ 在 (Window , WindowCloseEventArgs )
+ 在 FineUIPro.Window.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)
+出错时间:05/24/2023 10:22:42
+出错文件:http://localhost:9733/JDGL/WBS/EquipmentMaterialType.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:05/24/2023 10:22:42
+
+
+错误信息开始=====>
+错误类型:IndexOutOfRangeException
+错误信息:无法找到列 SortIndex。
+错误堆栈:
+ 在 System.Data.DataTable.ParseSortString(String sortString)
+ 在 System.Data.DataView.CheckSort(String sort)
+ 在 System.Data.DataView.set_Sort(String value)
+ 在 FineUIPro.Web.PageBase.GetPagedDataTable(Grid Grid1, DataTable tb) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\common\PageBase.cs:行号 562
+ 在 FineUIPro.Web.JDGL.WBS.EquipmentMaterialType.BindGrid() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\EquipmentMaterialType.aspx.cs:行号 36
+ 在 FineUIPro.Web.JDGL.WBS.EquipmentMaterialType.Page_Load(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\WBS\EquipmentMaterialType.aspx.cs:行号 23
在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
在 System.EventHandler.Invoke(Object sender, EventArgs e)
在 System.Web.UI.Control.OnLoad(EventArgs e)
在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:05/22/2023 16:07:56
-出错文件:http://localhost:9733/JDGL/CostAnalysis/JDReport.aspx
+出错时间:05/24/2023 10:22:45
+出错文件:http://localhost:9733/JDGL/WBS/EquipmentMaterialType.aspx
IP地址:::1
操作人员:JT
-出错时间:05/22/2023 16:07:56
-
-
-错误信息开始=====>
-错误类型:IndexOutOfRangeException
-错误信息:在位置 -1 处没有任何行。
-错误堆栈:
- 在 System.Data.RBTree`1.GetNodeByIndex(Int32 userIndex)
- 在 System.Data.DataRowCollection.get_Item(Int32 index)
- 在 FineUIPro.Web.JDGL.CostAnalysis.JDReport.GetValue() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\CostAnalysis\JDReport.aspx.cs:行号 114
- 在 FineUIPro.Web.JDGL.CostAnalysis.JDReport.Page_Load(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\CostAnalysis\JDReport.aspx.cs:行号 25
- 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
- 在 System.EventHandler.Invoke(Object sender, EventArgs e)
- 在 System.Web.UI.Control.OnLoad(EventArgs e)
- 在 System.Web.UI.Control.LoadRecursive()
- 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:05/22/2023 16:10:36
-出错文件:http://localhost:9733/JDGL/CostAnalysis/JDReport.aspx
-IP地址:::1
-操作人员:JT
-
-出错时间:05/22/2023 16:10:36
+出错时间:05/24/2023 10:22:45
错误信息开始=====>
错误类型:ArgumentException
-错误信息:Data arrays must not be empty.
+错误信息:提供的 URI 方案“http”无效,应为“https”。
+参数名: via
错误堆栈:
- 在 Aspose.Words.Drawing.Charts.ChartSeriesCollection.Add(String seriesName, String[] categories, Double[] values)
- 在 FineUIPro.Web.JDGL.CostAnalysis.JDReport.btnOut_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\CostAnalysis\JDReport.aspx.cs:行号 466
- 在 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.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.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2157
+出错时间:05/24/2023 12:47:53
+出错时间:05/24/2023 12:47:54
+
+
+错误信息开始=====>
+错误类型: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.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2022
+出错时间:05/24/2023 12:47:54
+出错时间:05/24/2023 12:47:54
+
+
+错误信息开始=====>
+错误类型: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.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1918
+出错时间:05/24/2023 12:47:54
+出错时间:05/24/2023 12:47:54
+
+
+错误信息开始=====>
+错误类型: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.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1860
+出错时间:05/24/2023 12:47:54
+出错时间:05/24/2023 12:47:54
+
+
+错误信息开始=====>
+错误类型: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.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2157
+出错时间:05/24/2023 14:47:53
+出错时间:05/24/2023 14:47:53
+
+
+错误信息开始=====>
+错误类型: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.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2022
+出错时间:05/24/2023 14:47:53
+出错时间:05/24/2023 14:47:53
+
+
+错误信息开始=====>
+错误类型: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.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1918
+出错时间:05/24/2023 14:47:53
+出错时间:05/24/2023 14:47:53
+
+
+错误信息开始=====>
+错误类型: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.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1860
+出错时间:05/24/2023 14:47:53
+出错时间:05/24/2023 14:47:53
+
+
+错误信息开始=====>
+错误类型: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.CNCECHSSEWebService.getSupervise_SubUnitReport() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2157
+出错时间:05/24/2023 16:47:53
+出错时间:05/24/2023 16:47:53
+
+
+错误信息开始=====>
+错误类型: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.CNCECHSSEWebService.getCheck_CheckInfo_Table8Item() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 2022
+出错时间:05/24/2023 16:47:53
+出错时间:05/24/2023 16:47:53
+
+
+错误信息开始=====>
+错误类型: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.CNCECHSSEWebService.getCheck_CheckRectify() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1918
+出错时间:05/24/2023 16:47:53
+出错时间:05/24/2023 16:47:53
+
+
+错误信息开始=====>
+错误类型: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.CNCECHSSEWebService.getInformation_UrgeReport() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\WebService\CNCECHSSEWebService.cs:行号 1860
+出错时间:05/24/2023 16:47:53
+出错时间:05/24/2023 16:47:54
+
+
+错误信息开始=====>
+错误类型:ArgumentException
+错误信息:该行已经属于此表。
+错误堆栈:
+ 在 System.Data.DataTable.InsertRow(DataRow row, Int64 proposedID, Int32 pos, Boolean fireEvent)
+ 在 System.Data.DataRowCollection.Add(DataRow row)
+ 在 FineUIPro.Web.JDGL.CostAnalysis.JDReport.GetValue() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\CostAnalysis\JDReport.aspx.cs:行号 395
+ 在 FineUIPro.Web.JDGL.CostAnalysis.JDReport.Page_Load(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\CostAnalysis\JDReport.aspx.cs:行号 25
+ 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
-出错时间:05/22/2023 16:13:33
+出错时间:05/25/2023 10:05:02
出错文件:http://localhost:9733/JDGL/CostAnalysis/JDReport.aspx
IP地址:::1
操作人员:JT
-出错时间:05/22/2023 16:13:33
+出错时间:05/25/2023 10:05:02
+
+
+错误信息开始=====>
+错误类型:ArgumentException
+错误信息:该行已经属于此表。
+错误堆栈:
+ 在 System.Data.DataTable.InsertRow(DataRow row, Int64 proposedID, Int32 pos, Boolean fireEvent)
+ 在 System.Data.DataRowCollection.Add(DataRow row)
+ 在 FineUIPro.Web.JDGL.CostAnalysis.JDReport.GetValue() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\CostAnalysis\JDReport.aspx.cs:行号 404
+ 在 FineUIPro.Web.JDGL.CostAnalysis.JDReport.Page_Load(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\CostAnalysis\JDReport.aspx.cs:行号 25
+ 在 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e)
+ 在 System.EventHandler.Invoke(Object sender, EventArgs e)
+ 在 System.Web.UI.Control.OnLoad(EventArgs e)
+ 在 System.Web.UI.Control.LoadRecursive()
+ 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+出错时间:05/25/2023 10:08:31
+出错文件:http://localhost:9733/JDGL/CostAnalysis/JDReport.aspx
+IP地址:::1
+操作人员:JT
+
+出错时间:05/25/2023 10:08:31
diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
index 86cfeb13..f2961963 100644
--- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
+++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj
@@ -1281,6 +1281,9 @@
+
+
+
@@ -13042,6 +13045,27 @@
CostControlWeekItemDetailEdit.aspx
+
+ EquipmentMaterialType.aspx
+ ASPXCodeBehind
+
+
+ EquipmentMaterialType.aspx
+
+
+ EquipmentMaterialTypeEdit.aspx
+ ASPXCodeBehind
+
+
+ EquipmentMaterialTypeEdit.aspx
+
+
+ EquipmentMaterialTypeView.aspx
+ ASPXCodeBehind
+
+
+ EquipmentMaterialTypeView.aspx
+
MilePost.aspx
ASPXCodeBehind
diff --git a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx
index 5a497698..78f0e900 100644
--- a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx
+++ b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx
@@ -62,7 +62,7 @@
@@ -167,11 +167,11 @@
AllowFilters="true" EnableTextSelection="True">
-
+ HeaderText="序号" HeaderTextAlign="Center" TextAlign="Center" EnableColumnEdit="true">
+
-
+ HeaderText="专业和分部工程" HeaderTextAlign="Center" TextAlign="Left" EnableColumnEdit="true">
+
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.cs b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.cs
index c511873c..74dc7e67 100644
--- a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.cs
+++ b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.cs
@@ -29,7 +29,6 @@ namespace FineUIPro.Web.JDGL.CostAnalysis
private void SetEmpty()
{
this.SimpleForm1.Title = string.Empty;
- txt5.Text = string.Empty;
}
#endregion
@@ -350,6 +349,74 @@ namespace FineUIPro.Web.JDGL.CostAnalysis
this.Grid4.DataSource = table4;
this.Grid4.DataBind();
}
+
+ //按专业统计
+ DataTable table5 = new DataTable();
+ table5.Columns.Add(new DataColumn("Id", typeof(String)));
+ table5.Columns.Add(new DataColumn("Name", typeof(String)));
+ table5.Columns.Add(new DataColumn("Unit", typeof(String)));
+ table5.Columns.Add(new DataColumn("TotalNum", typeof(String)));
+ table5.Columns.Add(new DataColumn("mThisNum", typeof(String)));
+ table5.Columns.Add(new DataColumn("tThisNum", typeof(String)));
+ table5.Columns.Add(new DataColumn("mRate", typeof(String)));
+ table5.Columns.Add(new DataColumn("tRate", typeof(String)));
+ DataRow row5;
+ var costControls = from x in db.WBS_CostControl where x.ProjectId == this.CurrUser.LoginProjectId select x;
+ var costControlDetails = from x in db.WBS_CostControlDetail
+ join y in db.WBS_CostControl on x.CostControlId equals y.CostControlId
+ join z in db.WBS_EquipmentMaterialType on y.EquipmentMaterialTypeId equals z.EquipmentMaterialTypeId
+ where x.Months <= Funs.GetNewDateTime(date) && y.ProjectId == this.CurrUser.LoginProjectId
+ orderby x.Months descending
+ select new
+ {
+ x.CostControlDetailId,
+ y.EquipmentMaterialTypeId,
+ z.EquipmentMaterialTypeName,
+ x.Months,
+ x.ThisNum,
+ };
+ var equipmentMaterialTypes = from x in db.WBS_EquipmentMaterialType orderby x.EquipmentMaterialTypeCode select x;
+ if (equipmentMaterialTypes.Count() > 0)
+ {
+ foreach (var equipmentMaterialType in equipmentMaterialTypes)
+ {
+ row5 = table5.NewRow();
+ row5[0] = equipmentMaterialType.EquipmentMaterialTypeId;
+ row5[1] = equipmentMaterialType.EquipmentMaterialTypeName;
+ var list = costControls.Where(x => x.EquipmentMaterialTypeId == equipmentMaterialType.EquipmentMaterialTypeId);
+ if (list.Count() > 0)
+ {
+ row5[2] = list.First().Unit;
+ }
+ row5[3] = list.ToList().Sum(x => x.TotalNum ?? 0);
+ var list2 = costControlDetails.Where(x => x.EquipmentMaterialTypeId == equipmentMaterialType.EquipmentMaterialTypeId && x.Months == Funs.GetNewDateTime(date));
+ row5[4] = list2.ToList().Sum(x => x.ThisNum ?? 0);
+ var list3 = costControlDetails.Where(x => x.EquipmentMaterialTypeId == equipmentMaterialType.EquipmentMaterialTypeId);
+ row5[5] = list3.ToList().Sum(x => x.ThisNum ?? 0);
+ if (row5[3].ToString() != "0" && row5[4].ToString() != "0")
+ {
+ row5[6] = (Funs.GetNewDecimalOrZero(row5[4].ToString()) / Funs.GetNewDecimalOrZero(row5[3].ToString()) * 100).ToString("0.##") + "%";
+ }
+ else
+ {
+ row5[6] = "/";
+ }
+ if (row5[3].ToString() != "0" && row5[5].ToString() != "0")
+ {
+ row5[7] = (Funs.GetNewDecimalOrZero(row5[5].ToString()) / Funs.GetNewDecimalOrZero(row5[3].ToString()) * 100).ToString("0.##") + "%";
+ }
+ else
+ {
+ row5[7] = "/";
+ }
+ table5.Rows.Add(row5);
+ }
+ if (table5.Rows.Count > 0)
+ {
+ this.Grid5.DataSource = table5;
+ this.Grid5.DataBind();
+ }
+ }
}
}
}
diff --git a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.designer.cs b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.designer.cs
index 8591a6ef..ec25aaac 100644
--- a/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/JDGL/CostAnalysis/JDReport.aspx.designer.cs
@@ -202,22 +202,22 @@ namespace FineUIPro.Web.JDGL.CostAnalysis {
protected global::FineUIPro.GroupPanel GroupPanel5;
///
- /// Form5 控件。
+ /// Grid5 控件。
///
///
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
- protected global::FineUIPro.Form Form5;
+ protected global::FineUIPro.Grid Grid5;
///
- /// txt5 控件。
+ /// lblPageIndex 控件。
///
///
/// 自动生成的字段。
/// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
///
- protected global::FineUIPro.TextArea txt5;
+ protected global::System.Web.UI.WebControls.Label lblPageIndex;
///
/// Window1 控件。
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx b/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx
index 8af67647..9bd9910e 100644
--- a/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx
@@ -24,6 +24,11 @@
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx.cs
index 95f72ddd..d9922bba 100644
--- a/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx.cs
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx.cs
@@ -20,6 +20,7 @@ namespace FineUIPro.Web.JDGL.WBS
LoadData();
string id = Request.Params["Id"];
string operating = Request.Params["operating"];
+ BLL.EquipmentMaterialTypeService.InitEquipmentMaterialTypeDownList(this.drpEquipmentMaterialType,true);
if (operating == "add")
{
@@ -31,6 +32,10 @@ namespace FineUIPro.Web.JDGL.WBS
{
this.txtCostControlCode.Text = costControl.CostControlCode;
this.txtCostControlName.Text = costControl.CostControlName;
+ if (!string.IsNullOrEmpty(costControl.EquipmentMaterialTypeId))
+ {
+ this.drpEquipmentMaterialType.SelectedValue = costControl.EquipmentMaterialTypeId;
+ }
this.txtUnit.Text = costControl.Unit;
//if (costControl.TotalNum != null)
//{
@@ -68,6 +73,10 @@ namespace FineUIPro.Web.JDGL.WBS
Model.WBS_CostControl costControl = new WBS_CostControl();
costControl.CostControlCode = txtCostControlCode.Text.Trim();
costControl.CostControlName = txtCostControlName.Text.Trim();
+ if (this.drpEquipmentMaterialType.SelectedValue != BLL.Const._Null)
+ {
+ costControl.EquipmentMaterialTypeId = this.drpEquipmentMaterialType.SelectedValue;
+ }
costControl.ProjectId = wbsSet.ProjectId;
costControl.WbsSetId = wbsSet.WbsSetId;
costControl.Unit = txtUnit.Text.Trim();
@@ -99,6 +108,10 @@ namespace FineUIPro.Web.JDGL.WBS
}
costControl.CostControlCode = txtCostControlCode.Text.Trim();
costControl.CostControlName = txtCostControlName.Text.Trim();
+ if (this.drpEquipmentMaterialType.SelectedValue != BLL.Const._Null)
+ {
+ costControl.EquipmentMaterialTypeId = this.drpEquipmentMaterialType.SelectedValue;
+ }
costControl.Unit = txtUnit.Text.Trim();
//costControl.TotalNum = Funs.GetNewDecimal(txtTotalNum.Text.Trim());
//costControl.RealPrice = Funs.GetNewDecimal(txtRealPrice.Text.Trim());
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx.designer.cs
index 447e2c9c..66e728d1 100644
--- a/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx.designer.cs
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/CostControlEdit.aspx.designer.cs
@@ -57,6 +57,15 @@ namespace FineUIPro.Web.JDGL.WBS {
///
protected global::FineUIPro.TextBox txtCostControlName;
+ ///
+ /// drpEquipmentMaterialType 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList drpEquipmentMaterialType;
+
///
/// txtUnit 控件。
///
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialType.aspx b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialType.aspx
new file mode 100644
index 00000000..6bdd951e
--- /dev/null
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialType.aspx
@@ -0,0 +1,114 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EquipmentMaterialType.aspx.cs" Inherits="FineUIPro.Web.JDGL.WBS.EquipmentMaterialType" %>
+
+
+
+
+
+设备材料分类
+
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialType.aspx.cs b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialType.aspx.cs
new file mode 100644
index 00000000..0a86d46a
--- /dev/null
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialType.aspx.cs
@@ -0,0 +1,182 @@
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Data.SqlClient;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+using BLL;
+
+namespace FineUIPro.Web.JDGL.WBS
+{
+ public partial class EquipmentMaterialType : PageBase
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ GetButtonPower();
+ ddlPageSize.SelectedValue = Grid1.PageSize.ToString();
+
+ // 绑定表格
+ BindGrid();
+ btnNew.OnClientClick = Window1.GetShowReference("EquipmentMaterialTypeEdit.aspx") + "return false;";
+ }
+ }
+ ///
+ /// 绑定数据
+ ///
+
+ public void BindGrid()
+ {
+ DataTable tb = BindData();
+ Grid1.RecordCount = tb.Rows.Count;
+ tb = GetFilteredTable(Grid1.FilteredData, tb);
+ var table = this.GetPagedDataTable(Grid1, tb);
+
+ Grid1.DataSource = table;
+ Grid1.DataBind();
+ }
+
+
+ protected DataTable BindData()
+ {
+ string strSql = @"select EquipmentMaterialTypeId,EquipmentMaterialTypeCode,EquipmentMaterialTypeName,Remark from [dbo].[WBS_EquipmentMaterialType] where 1=1 ";
+
+ List listStr = new List();
+ if (!string.IsNullOrEmpty(this.txtEquipmentMaterialTypeCode.Text.Trim()))
+ {
+ strSql += " AND EquipmentMaterialTypeCode like @EquipmentMaterialTypeCode";
+ listStr.Add(new SqlParameter("@EquipmentMaterialTypeCode", "%" + this.txtEquipmentMaterialTypeCode.Text.Trim() + "%"));
+ }
+ if (!string.IsNullOrEmpty(this.txtEquipmentMaterialTypeName.Text.Trim()))
+ {
+ strSql += " AND EquipmentMaterialTypeName like @EquipmentMaterialTypeName";
+ listStr.Add(new SqlParameter("@EquipmentMaterialTypeName", "%" + this.txtEquipmentMaterialTypeName.Text.Trim() + "%"));
+ }
+ SqlParameter[] parameter = listStr.ToArray();
+ DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter);
+ return tb;
+ }
+ protected void btnMenuModify_Click(object sender, EventArgs e)
+ {
+ EditData();
+ }
+
+ protected void btnMenuDel_Click(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length > 0)
+ {
+ foreach (int rowIndex in Grid1.SelectedRowIndexArray)
+ {
+ string rowID = Grid1.DataKeys[rowIndex][0].ToString();
+ BLL.EquipmentMaterialTypeService.DeleteEquipmentMaterialTypeById(rowID);
+ }
+
+ BindGrid();
+ ShowNotify("删除数据成功!", MessageBoxIcon.Success);
+ }
+ }
+
+ ///
+ /// 编辑数据方法
+ ///
+ private void EditData()
+ {
+
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请至少选择一条记录", MessageBoxIcon.Warning);
+ return;
+ }
+ if (this.btnMenuModify.Hidden) ////双击事件 编辑权限有:编辑页面,无:查看页面 或者状态是完成时查看页面
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("EquipmentMaterialTypeView.aspx?EquipmentMaterialTypeId={0}", Grid1.SelectedRowID, "查看 - ")));
+ }
+ else
+ {
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("EquipmentMaterialTypeEdit.aspx?EquipmentMaterialTypeId={0}", Grid1.SelectedRowID, "编辑 - ")));
+ }
+ }
+ #region 获取按钮权限
+ ///
+ /// 获取按钮权限
+ ///
+ ///
+ ///
+ private void GetButtonPower()
+ {
+ if (Request.Params["value"] == "0")
+ {
+ return;
+ }
+ var buttonList = BLL.CommonService.GetAllButtonList(this.CurrUser.LoginProjectId, this.CurrUser.UserId, BLL.Const.EquipmentMaterialTypeMenuId);
+ if (buttonList.Count() > 0)
+ {
+ if (buttonList.Contains(BLL.Const.BtnAdd))
+ {
+ this.btnNew.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnModify))
+ {
+ this.btnMenuModify.Hidden = false;
+ }
+ if (buttonList.Contains(BLL.Const.BtnDelete))
+ {
+ this.btnMenuDel.Hidden = false;
+ }
+ }
+ }
+ #endregion
+
+
+ protected void btnSearch_Click(object sender, EventArgs e)
+ {
+ BindGrid();
+ }
+
+ protected void Grid1_RowDoubleClick(object sender, GridRowClickEventArgs e)
+ {
+ EditData();
+ }
+
+
+ protected void btnMenuView_Click(object sender, EventArgs e)
+ {
+ if (Grid1.SelectedRowIndexArray.Length == 0)
+ {
+ Alert.ShowInTop("请至少选择一条记录!", MessageBoxIcon.Warning);
+ return;
+ }
+ PageContext.RegisterStartupScript(Window1.GetShowReference(String.Format("EquipmentMaterialTypeView.aspx?EquipmentMaterialTypeId={0}", Grid1.SelectedRowID, "查看 - ")));
+ }
+
+ protected void Grid1_PageIndexChange(object sender, GridPageEventArgs e)
+ {
+ BindGrid();
+ }
+
+ protected void ddlPageSize_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ Grid1.PageSize = Convert.ToInt32(ddlPageSize.SelectedValue);
+ BindGrid();
+ }
+ ///
+ /// 重置
+ ///
+ ///
+ ///
+ protected void btnRset_Click(object sender, EventArgs e)
+ {
+ txtEquipmentMaterialTypeCode.Text = "";
+ txtEquipmentMaterialTypeName.Text = "";
+ BindGrid();
+ }
+
+ protected void Window1_Close(object sender, WindowCloseEventArgs e)
+ {
+ BindGrid();
+ }
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialType.aspx.designer.cs b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialType.aspx.designer.cs
new file mode 100644
index 00000000..35bb7755
--- /dev/null
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialType.aspx.designer.cs
@@ -0,0 +1,177 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JDGL.WBS {
+
+
+ public partial class EquipmentMaterialType {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// Panel1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Panel Panel1;
+
+ ///
+ /// Grid1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Grid Grid1;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// txtEquipmentMaterialTypeCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtEquipmentMaterialTypeCode;
+
+ ///
+ /// txtEquipmentMaterialTypeName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtEquipmentMaterialTypeName;
+
+ ///
+ /// btnSearch 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSearch;
+
+ ///
+ /// btnRset 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnRset;
+
+ ///
+ /// btnNew 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnNew;
+
+ ///
+ /// lblPageIndex 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.WebControls.Label lblPageIndex;
+
+ ///
+ /// ToolbarSeparator1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1;
+
+ ///
+ /// ToolbarText1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.ToolbarText ToolbarText1;
+
+ ///
+ /// ddlPageSize 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.DropDownList ddlPageSize;
+
+ ///
+ /// Window1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Window Window1;
+
+ ///
+ /// Menu1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Menu Menu1;
+
+ ///
+ /// btnMenuModify 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuModify;
+
+ ///
+ /// btnMenuDel 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.MenuButton btnMenuDel;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeEdit.aspx b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeEdit.aspx
new file mode 100644
index 00000000..196ddb4c
--- /dev/null
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeEdit.aspx
@@ -0,0 +1,54 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EquipmentMaterialTypeEdit.aspx.cs" Inherits="FineUIPro.Web.JDGL.WBS.EquipmentMaterialTypeEdit" %>
+
+
+
+
+
+设备材料分类
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeEdit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeEdit.aspx.cs
new file mode 100644
index 00000000..715a8dec
--- /dev/null
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeEdit.aspx.cs
@@ -0,0 +1,61 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.JDGL.WBS
+{
+ public partial class EquipmentMaterialTypeEdit : PageBase
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
+ string EquipmentMaterialTypeId = Request.Params["EquipmentMaterialTypeId"];
+ if (!string.IsNullOrEmpty(EquipmentMaterialTypeId))
+ {
+
+ Model.WBS_EquipmentMaterialType EquipmentMaterialType = BLL.EquipmentMaterialTypeService.GetEquipmentMaterialType(EquipmentMaterialTypeId);
+ if (EquipmentMaterialType != null)
+ {
+ this.txtEquipmentMaterialTypeCode.Text = EquipmentMaterialType.EquipmentMaterialTypeCode;
+ this.txtEquipmentMaterialTypeName.Text = EquipmentMaterialType.EquipmentMaterialTypeName;
+ this.txtRemark.Text = EquipmentMaterialType.Remark;
+ }
+ }
+ }
+
+ }
+
+ protected void btnSave_Click(object sender, EventArgs e)
+ {
+ SaveData(true);
+ }
+
+ private void SaveData(bool b)
+ {
+ string EquipmentMaterialTypeId = Request.Params["EquipmentMaterialTypeId"];
+ Model.WBS_EquipmentMaterialType EquipmentMaterialType = new Model.WBS_EquipmentMaterialType();
+ EquipmentMaterialType.EquipmentMaterialTypeCode = this.txtEquipmentMaterialTypeCode.Text.Trim();
+ EquipmentMaterialType.EquipmentMaterialTypeName = this.txtEquipmentMaterialTypeName.Text.Trim();
+ EquipmentMaterialType.Remark = this.txtRemark.Text.Trim();
+ if (!string.IsNullOrEmpty(EquipmentMaterialTypeId))
+ {
+ EquipmentMaterialType.EquipmentMaterialTypeId = EquipmentMaterialTypeId;
+ BLL.EquipmentMaterialTypeService.UpdateEquipmentMaterialType(EquipmentMaterialType);
+ }
+ else
+ {
+ EquipmentMaterialType.EquipmentMaterialTypeId = SQLHelper.GetNewID(typeof(Model.WBS_EquipmentMaterialType));
+ BLL.EquipmentMaterialTypeService.AddEquipmentMaterialType(EquipmentMaterialType);
+
+ }
+ ShowNotify("保存成功!", MessageBoxIcon.Success);
+ PageContext.RegisterStartupScript(ActiveWindow.GetHidePostBackReference());
+ }
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeEdit.aspx.designer.cs b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeEdit.aspx.designer.cs
new file mode 100644
index 00000000..33738c6e
--- /dev/null
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeEdit.aspx.designer.cs
@@ -0,0 +1,105 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JDGL.WBS {
+
+
+ public partial class EquipmentMaterialTypeEdit {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// txtEquipmentMaterialTypeCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtEquipmentMaterialTypeCode;
+
+ ///
+ /// txtEquipmentMaterialTypeName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtEquipmentMaterialTypeName;
+
+ ///
+ /// txtRemark 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtRemark;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// hdCheckerId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdCheckerId;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// btnClose 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnClose;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeView.aspx b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeView.aspx
new file mode 100644
index 00000000..f3205452
--- /dev/null
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeView.aspx
@@ -0,0 +1,54 @@
+<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="EquipmentMaterialTypeView.aspx.cs" Inherits="FineUIPro.Web.JDGL.WBS.EquipmentMaterialTypeView" %>
+
+
+
+
+
+设备材料分类
+
+
+
+
+
+
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeView.aspx.cs b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeView.aspx.cs
new file mode 100644
index 00000000..50084527
--- /dev/null
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeView.aspx.cs
@@ -0,0 +1,34 @@
+using BLL;
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Web;
+using System.Web.UI;
+using System.Web.UI.WebControls;
+
+namespace FineUIPro.Web.JDGL.WBS
+{
+ public partial class EquipmentMaterialTypeView : PageBase
+ {
+ protected void Page_Load(object sender, EventArgs e)
+ {
+ if (!IsPostBack)
+ {
+ this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
+ string EquipmentMaterialTypeId = Request.Params["EquipmentMaterialTypeId"];
+ if (!string.IsNullOrEmpty(EquipmentMaterialTypeId))
+ {
+
+ Model.WBS_EquipmentMaterialType EquipmentMaterialType = BLL.EquipmentMaterialTypeService.GetEquipmentMaterialType(EquipmentMaterialTypeId);
+ if (EquipmentMaterialType != null)
+ {
+ this.txtEquipmentMaterialTypeCode.Text = EquipmentMaterialType.EquipmentMaterialTypeCode;
+ this.txtEquipmentMaterialTypeName.Text = EquipmentMaterialType.EquipmentMaterialTypeName;
+ this.txtRemark.Text = EquipmentMaterialType.Remark;
+ }
+ }
+ }
+
+ }
+ }
+}
\ No newline at end of file
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeView.aspx.designer.cs b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeView.aspx.designer.cs
new file mode 100644
index 00000000..16265919
--- /dev/null
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/EquipmentMaterialTypeView.aspx.designer.cs
@@ -0,0 +1,105 @@
+//------------------------------------------------------------------------------
+// <自动生成>
+// 此代码由工具生成。
+//
+// 对此文件的更改可能导致不正确的行为,如果
+// 重新生成代码,则所做更改将丢失。
+// 自动生成>
+//------------------------------------------------------------------------------
+
+namespace FineUIPro.Web.JDGL.WBS {
+
+
+ public partial class EquipmentMaterialTypeView {
+
+ ///
+ /// form1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::System.Web.UI.HtmlControls.HtmlForm form1;
+
+ ///
+ /// PageManager1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.PageManager PageManager1;
+
+ ///
+ /// SimpleForm1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Form SimpleForm1;
+
+ ///
+ /// txtEquipmentMaterialTypeCode 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtEquipmentMaterialTypeCode;
+
+ ///
+ /// txtEquipmentMaterialTypeName 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtEquipmentMaterialTypeName;
+
+ ///
+ /// txtRemark 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.TextBox txtRemark;
+
+ ///
+ /// Toolbar1 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Toolbar Toolbar1;
+
+ ///
+ /// hdCheckerId 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.HiddenField hdCheckerId;
+
+ ///
+ /// btnSave 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnSave;
+
+ ///
+ /// btnClose 控件。
+ ///
+ ///
+ /// 自动生成的字段。
+ /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。
+ ///
+ protected global::FineUIPro.Button btnClose;
+ }
+}
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/WBSSetAudit.aspx b/SGGL/FineUIPro.Web/JDGL/WBS/WBSSetAudit.aspx
index 5e7b9c9d..0175eb7e 100644
--- a/SGGL/FineUIPro.Web/JDGL/WBS/WBSSetAudit.aspx
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/WBSSetAudit.aspx
@@ -86,6 +86,9 @@
+
+
diff --git a/SGGL/FineUIPro.Web/JDGL/WBS/WBSSetAudit.aspx.cs b/SGGL/FineUIPro.Web/JDGL/WBS/WBSSetAudit.aspx.cs
index fbb19503..03de2403 100644
--- a/SGGL/FineUIPro.Web/JDGL/WBS/WBSSetAudit.aspx.cs
+++ b/SGGL/FineUIPro.Web/JDGL/WBS/WBSSetAudit.aspx.cs
@@ -1736,7 +1736,7 @@ namespace FineUIPro.Web.JDGL.WBS
{
codes += item.CostControlCode + ",";
}
- string strSql = "SELECT * FROM WBS_CostControl where @CostControlCodes like '%'+CostControlCode+'%' and WbsSetId=@WbsSetId";
+ string strSql = "SELECT c.*,e.EquipmentMaterialTypeName FROM WBS_CostControl c left join WBS_EquipmentMaterialType e on c.EquipmentMaterialTypeId=e.EquipmentMaterialTypeId where @CostControlCodes like '%'+CostControlCode+'%' and WbsSetId=@WbsSetId";
List listStr = new List();
listStr.Add(new SqlParameter("@CostControlCodes", codes));
listStr.Add(new SqlParameter("@WbsSetId", this.trWBS.SelectedNodeID));
diff --git a/SGGL/FineUIPro.Web/common/Menu_JDGL.xml b/SGGL/FineUIPro.Web/common/Menu_JDGL.xml
index 67343f61..29b97a08 100644
--- a/SGGL/FineUIPro.Web/common/Menu_JDGL.xml
+++ b/SGGL/FineUIPro.Web/common/Menu_JDGL.xml
@@ -1,7 +1,8 @@
-
+
+
diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs
index b8ace082..96be5f39 100644
--- a/SGGL/Model/Model.cs
+++ b/SGGL/Model/Model.cs
@@ -2228,6 +2228,9 @@ namespace Model
partial void InsertWBS_DivisionProject(WBS_DivisionProject instance);
partial void UpdateWBS_DivisionProject(WBS_DivisionProject instance);
partial void DeleteWBS_DivisionProject(WBS_DivisionProject instance);
+ partial void InsertWBS_EquipmentMaterialType(WBS_EquipmentMaterialType instance);
+ partial void UpdateWBS_EquipmentMaterialType(WBS_EquipmentMaterialType instance);
+ partial void DeleteWBS_EquipmentMaterialType(WBS_EquipmentMaterialType instance);
partial void InsertWBS_ForeignBreakdown(WBS_ForeignBreakdown instance);
partial void UpdateWBS_ForeignBreakdown(WBS_ForeignBreakdown instance);
partial void DeleteWBS_ForeignBreakdown(WBS_ForeignBreakdown instance);
@@ -9217,6 +9220,14 @@ namespace Model
}
}
+ public System.Data.Linq.Table WBS_EquipmentMaterialType
+ {
+ get
+ {
+ return this.GetTable();
+ }
+ }
+
public System.Data.Linq.Table WBS_ForeignBreakdown
{
get
@@ -394895,8 +394906,12 @@ namespace Model
private System.Nullable _RealEndDate;
+ private string _EquipmentMaterialTypeId;
+
private EntityRef _Base_Project;
+ private EntityRef _WBS_EquipmentMaterialType;
+
private EntityRef _Wbs_WbsSet;
private EntitySet _WBS_CostControlDetail;
@@ -394935,11 +394950,14 @@ namespace Model
partial void OnRealStartDateChanged();
partial void OnRealEndDateChanging(System.Nullable value);
partial void OnRealEndDateChanged();
+ partial void OnEquipmentMaterialTypeIdChanging(string value);
+ partial void OnEquipmentMaterialTypeIdChanged();
#endregion
public WBS_CostControl()
{
this._Base_Project = default(EntityRef);
+ this._WBS_EquipmentMaterialType = default(EntityRef);
this._Wbs_WbsSet = default(EntityRef);
this._WBS_CostControlDetail = new EntitySet(new Action(this.attach_WBS_CostControlDetail), new Action(this.detach_WBS_CostControlDetail));
this._WBS_CostControlDetailHistory = new EntitySet(new Action(this.attach_WBS_CostControlDetailHistory), new Action(this.detach_WBS_CostControlDetailHistory));
@@ -395234,6 +395252,30 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentMaterialTypeId", DbType="NVarChar(50)")]
+ public string EquipmentMaterialTypeId
+ {
+ get
+ {
+ return this._EquipmentMaterialTypeId;
+ }
+ set
+ {
+ if ((this._EquipmentMaterialTypeId != value))
+ {
+ if (this._WBS_EquipmentMaterialType.HasLoadedOrAssignedValue)
+ {
+ throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException();
+ }
+ this.OnEquipmentMaterialTypeIdChanging(value);
+ this.SendPropertyChanging();
+ this._EquipmentMaterialTypeId = value;
+ this.SendPropertyChanged("EquipmentMaterialTypeId");
+ this.OnEquipmentMaterialTypeIdChanged();
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_CostControl_Base_Project", Storage="_Base_Project", ThisKey="ProjectId", OtherKey="ProjectId", IsForeignKey=true)]
public Base_Project Base_Project
{
@@ -395268,6 +395310,40 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_CostControl_WBS_EquipmentMaterialType", Storage="_WBS_EquipmentMaterialType", ThisKey="EquipmentMaterialTypeId", OtherKey="EquipmentMaterialTypeId", IsForeignKey=true)]
+ public WBS_EquipmentMaterialType WBS_EquipmentMaterialType
+ {
+ get
+ {
+ return this._WBS_EquipmentMaterialType.Entity;
+ }
+ set
+ {
+ WBS_EquipmentMaterialType previousValue = this._WBS_EquipmentMaterialType.Entity;
+ if (((previousValue != value)
+ || (this._WBS_EquipmentMaterialType.HasLoadedOrAssignedValue == false)))
+ {
+ this.SendPropertyChanging();
+ if ((previousValue != null))
+ {
+ this._WBS_EquipmentMaterialType.Entity = null;
+ previousValue.WBS_CostControl.Remove(this);
+ }
+ this._WBS_EquipmentMaterialType.Entity = value;
+ if ((value != null))
+ {
+ value.WBS_CostControl.Add(this);
+ this._EquipmentMaterialTypeId = value.EquipmentMaterialTypeId;
+ }
+ else
+ {
+ this._EquipmentMaterialTypeId = default(string);
+ }
+ this.SendPropertyChanged("WBS_EquipmentMaterialType");
+ }
+ }
+ }
+
[global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_CostControl_Wbs_WbsSet", Storage="_Wbs_WbsSet", ThisKey="WbsSetId", OtherKey="WbsSetId", IsForeignKey=true)]
public Wbs_WbsSet Wbs_WbsSet
{
@@ -396849,6 +396925,168 @@ namespace Model
}
}
+ [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.WBS_EquipmentMaterialType")]
+ public partial class WBS_EquipmentMaterialType : INotifyPropertyChanging, INotifyPropertyChanged
+ {
+
+ private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
+
+ private string _EquipmentMaterialTypeId;
+
+ private string _EquipmentMaterialTypeCode;
+
+ private string _EquipmentMaterialTypeName;
+
+ private string _Remark;
+
+ private EntitySet _WBS_CostControl;
+
+ #region 可扩展性方法定义
+ partial void OnLoaded();
+ partial void OnValidate(System.Data.Linq.ChangeAction action);
+ partial void OnCreated();
+ partial void OnEquipmentMaterialTypeIdChanging(string value);
+ partial void OnEquipmentMaterialTypeIdChanged();
+ partial void OnEquipmentMaterialTypeCodeChanging(string value);
+ partial void OnEquipmentMaterialTypeCodeChanged();
+ partial void OnEquipmentMaterialTypeNameChanging(string value);
+ partial void OnEquipmentMaterialTypeNameChanged();
+ partial void OnRemarkChanging(string value);
+ partial void OnRemarkChanged();
+ #endregion
+
+ public WBS_EquipmentMaterialType()
+ {
+ this._WBS_CostControl = new EntitySet(new Action(this.attach_WBS_CostControl), new Action(this.detach_WBS_CostControl));
+ OnCreated();
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentMaterialTypeId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)]
+ public string EquipmentMaterialTypeId
+ {
+ get
+ {
+ return this._EquipmentMaterialTypeId;
+ }
+ set
+ {
+ if ((this._EquipmentMaterialTypeId != value))
+ {
+ this.OnEquipmentMaterialTypeIdChanging(value);
+ this.SendPropertyChanging();
+ this._EquipmentMaterialTypeId = value;
+ this.SendPropertyChanged("EquipmentMaterialTypeId");
+ this.OnEquipmentMaterialTypeIdChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentMaterialTypeCode", DbType="NVarChar(50)")]
+ public string EquipmentMaterialTypeCode
+ {
+ get
+ {
+ return this._EquipmentMaterialTypeCode;
+ }
+ set
+ {
+ if ((this._EquipmentMaterialTypeCode != value))
+ {
+ this.OnEquipmentMaterialTypeCodeChanging(value);
+ this.SendPropertyChanging();
+ this._EquipmentMaterialTypeCode = value;
+ this.SendPropertyChanged("EquipmentMaterialTypeCode");
+ this.OnEquipmentMaterialTypeCodeChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EquipmentMaterialTypeName", DbType="NVarChar(50)")]
+ public string EquipmentMaterialTypeName
+ {
+ get
+ {
+ return this._EquipmentMaterialTypeName;
+ }
+ set
+ {
+ if ((this._EquipmentMaterialTypeName != value))
+ {
+ this.OnEquipmentMaterialTypeNameChanging(value);
+ this.SendPropertyChanging();
+ this._EquipmentMaterialTypeName = value;
+ this.SendPropertyChanged("EquipmentMaterialTypeName");
+ this.OnEquipmentMaterialTypeNameChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(100)")]
+ public string Remark
+ {
+ get
+ {
+ return this._Remark;
+ }
+ set
+ {
+ if ((this._Remark != value))
+ {
+ this.OnRemarkChanging(value);
+ this.SendPropertyChanging();
+ this._Remark = value;
+ this.SendPropertyChanged("Remark");
+ this.OnRemarkChanged();
+ }
+ }
+ }
+
+ [global::System.Data.Linq.Mapping.AssociationAttribute(Name="FK_WBS_CostControl_WBS_EquipmentMaterialType", Storage="_WBS_CostControl", ThisKey="EquipmentMaterialTypeId", OtherKey="EquipmentMaterialTypeId", DeleteRule="NO ACTION")]
+ public EntitySet WBS_CostControl
+ {
+ get
+ {
+ return this._WBS_CostControl;
+ }
+ set
+ {
+ this._WBS_CostControl.Assign(value);
+ }
+ }
+
+ public event PropertyChangingEventHandler PropertyChanging;
+
+ public event PropertyChangedEventHandler PropertyChanged;
+
+ protected virtual void SendPropertyChanging()
+ {
+ if ((this.PropertyChanging != null))
+ {
+ this.PropertyChanging(this, emptyChangingEventArgs);
+ }
+ }
+
+ protected virtual void SendPropertyChanged(String propertyName)
+ {
+ if ((this.PropertyChanged != null))
+ {
+ this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
+ }
+ }
+
+ private void attach_WBS_CostControl(WBS_CostControl entity)
+ {
+ this.SendPropertyChanging();
+ entity.WBS_EquipmentMaterialType = this;
+ }
+
+ private void detach_WBS_CostControl(WBS_CostControl entity)
+ {
+ this.SendPropertyChanging();
+ entity.WBS_EquipmentMaterialType = null;
+ }
+ }
+
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.WBS_ForeignBreakdown")]
public partial class WBS_ForeignBreakdown : INotifyPropertyChanging, INotifyPropertyChanged
{