diff --git a/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-05-001.sql b/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-05-001.sql deleted file mode 100644 index 94f894de..00000000 --- a/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-05-001.sql +++ /dev/null @@ -1,94 +0,0 @@ - -CREATE TABLE [dbo].[CLGL_MTODetail]( - [Id] [nvarchar](50) NOT NULL, - [ProjectId] [nvarchar](50) NULL, - [DeviceNo] [nvarchar](50) NULL, - [IsoNo] [nvarchar](50) NULL, - [IsoClass] [nvarchar](50) NULL, - [MaterialCode] [nvarchar](50) NULL, - [TagNo] [nvarchar](50) NULL, - [MaterialName] [nvarchar](50) NULL, - [SIZE1] [nvarchar](50) NULL, - [SIZE2] [nvarchar](50) NULL, - [SCH1] [nvarchar](50) NULL, - [SCH2] [nvarchar](50) NULL, - [PressClass] [nvarchar](50) NULL, - [EndFace] [nvarchar](50) NULL, - [BoltLength] [nvarchar](50) NULL, - [Standard] [nvarchar](50) NULL, - [Material] [nvarchar](50) NULL, - [PrefabricationStatus] [nvarchar](50) NULL, - [DesignNum] [nvarchar](50) NULL, - [PlanCheckOutNum] [nvarchar](50) NULL, - [CheckOutNum] [nvarchar](50) NULL, - [StockNumByDeviceNo] [nvarchar](50) NULL, - [StockNumWholePlant] [nvarchar](50) NULL, - CONSTRAINT [PK_CLGL_MTODetail] PRIMARY KEY CLUSTERED -( - [Id] 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'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'Id' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'ProjectId' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'װú' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'DeviceNo' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ߺ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'IsoNo' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ߵȼ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'IsoClass' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'MaterialCode' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'TagNo' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'MaterialName' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѹȼ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'PressClass' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'EndFace' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˨' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'BoltLength' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'׼' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'Standard' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'Material' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ԥ״̬' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'PrefabricationStatus' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'DesignNum' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ԥ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'PlanCheckOutNum' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'CheckOutNum' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'װúţ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'StockNumByDeviceNo' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'StockNumWholePlant' -GO - -EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'MTOϸϢ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail' -GO - - diff --git a/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-14-001.sql b/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-14-001.sql new file mode 100644 index 00000000..47a5ef74 --- /dev/null +++ b/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-14-001.sql @@ -0,0 +1,434 @@ + +CREATE TABLE [dbo].[CLGL_MTODetail]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [DeviceNo] [nvarchar](50) NULL, + [IsoNo] [nvarchar](50) NULL, + [IsoClass] [nvarchar](50) NULL, + [MaterialCode] [nvarchar](50) NULL, + [TagNo] [nvarchar](50) NULL, + [MaterialName] [nvarchar](50) NULL, + [SIZE1] [nvarchar](50) NULL, + [SIZE2] [nvarchar](50) NULL, + [SCH1] [nvarchar](50) NULL, + [SCH2] [nvarchar](50) NULL, + [PressClass] [nvarchar](50) NULL, + [EndFace] [nvarchar](50) NULL, + [BoltLength] [nvarchar](50) NULL, + [Standard] [nvarchar](50) NULL, + [Material] [nvarchar](50) NULL, + [PrefabricationStatus] [nvarchar](50) NULL, + [DesignNum] [nvarchar](50) NULL, + [PlanCheckOutNum] [nvarchar](50) NULL, + [CheckOutNum] [nvarchar](50) NULL, + [StockNumByDeviceNo] [nvarchar](50) NULL, + [StockNumWholePlant] [nvarchar](50) NULL, + CONSTRAINT [PK_CLGL_MTODetail] PRIMARY KEY CLUSTERED +( + [Id] 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'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'Id' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ĿId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'ProjectId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'װú' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'DeviceNo' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ߺ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'IsoNo' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ߵȼ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'IsoClass' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ϱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'MaterialCode' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'λ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'TagNo' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'MaterialName' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ѹȼ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'PressClass' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'EndFace' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'˨' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'BoltLength' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'׼' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'Standard' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'Material' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ԥ״̬' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'PrefabricationStatus' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'DesignNum' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ԥ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'PlanCheckOutNum' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'CheckOutNum' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'װúţ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'StockNumByDeviceNo' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ȫ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail', @level2type=N'COLUMN',@level2name=N'StockNumWholePlant' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'MTOϸϢ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_MTODetail' +GO + + + +CREATE TABLE [dbo].[CLGL_ContractList]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [C1] [nvarchar](50) NULL, + [C2] [nvarchar](500) NULL, + [C3] [nvarchar](50) NULL, + [C4] [nvarchar](50) NULL, + [C5] [nvarchar](50) NULL, + [C6] [nvarchar](50) NULL, + [C7] [nvarchar](50) NULL, + [C8] [nvarchar](500) NULL, + [C9] [nvarchar](500) NULL, + [C10] [nvarchar](50) NULL, + [C11] [nvarchar](500) NULL, + [C12] [nvarchar](500) NULL, + [C13] [nvarchar](50) NULL, + [C14] [nvarchar](50) NULL, + [C15] [nvarchar](50) NULL, + [C16] [nvarchar](50) NULL, + [C17] [nvarchar](50) NULL, + [C18] [nvarchar](50) NULL, + [C19] [nvarchar](500) NULL, + [C20] [nvarchar](50) NULL, + [C21] [nvarchar](50) NULL, + [C22] [nvarchar](50) NULL, + [C23] [nvarchar](50) NULL, + CONSTRAINT [PK_CLGL_ContractList] PRIMARY KEY CLUSTERED +( + [Id] 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'CLGL_ContractList' +GO + + + +CREATE TABLE [dbo].[CLGL_ContractListSum]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [C1] [nvarchar](50) NULL, + [C2] [nvarchar](50) NULL, + [C3] [nvarchar](500) NULL, + [C4] [nvarchar](500) NULL, + [C5] [nvarchar](50) NULL, + [C6] [nvarchar](50) NULL, + [C7] [nvarchar](50) NULL, + [C8] [nvarchar](50) NULL, + [C9] [nvarchar](50) NULL, + CONSTRAINT [PK_CLGL_ContractListSum] PRIMARY KEY CLUSTERED +( + [Id] 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'CLGL_ContractListSum' +GO + + + +CREATE TABLE [dbo].[CLGL_PipelineMaterialCodeList]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [C1] [nvarchar](50) NULL, + [C2] [nvarchar](50) NULL, + [C3] [nvarchar](50) NULL, + [C4] [nvarchar](50) NULL, + [C5] [nvarchar](50) NULL, + [C6] [nvarchar](50) NULL, + [C7] [nvarchar](50) NULL, + [C8] [nvarchar](50) NULL, + [C9] [nvarchar](50) NULL, + [C10] [nvarchar](50) NULL, + [C11] [nvarchar](50) NULL, + [C12] [nvarchar](50) NULL, + [C13] [nvarchar](50) NULL, + [C14] [nvarchar](50) NULL, + [C15] [nvarchar](50) NULL, + [C16] [nvarchar](50) NULL, + [C17] [nvarchar](50) NULL, + [C18] [nvarchar](50) NULL, + [C19] [nvarchar](50) NULL, + CONSTRAINT [PK_CLGL_PipelineMaterialCodeList] PRIMARY KEY CLUSTERED +( + [Id] 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'CLGL_PipelineMaterialCodeList' +GO + + + +CREATE TABLE [dbo].[CLGL_PipelineSupplierList]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [C1] [nvarchar](50) NULL, + [C2] [nvarchar](50) NULL, + [C3] [nvarchar](50) NULL, + [C4] [nvarchar](50) NULL, + [C5] [nvarchar](50) NULL, + [C6] [nvarchar](50) NULL, + CONSTRAINT [PK_CLGL_PipelineSupplierList] PRIMARY KEY CLUSTERED +( + [Id] 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'CLGL_PipelineSupplierList' +GO + + + +CREATE TABLE [dbo].[CLGL_ArrivalDetailList]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [C1] [nvarchar](500) NULL, + [C2] [nvarchar](50) NULL, + [C3] [nvarchar](50) NULL, + [C4] [nvarchar](50) NULL, + [C5] [nvarchar](50) NULL, + [C6] [nvarchar](500) NULL, + [C7] [nvarchar](500) NULL, + [C8] [nvarchar](500) NULL, + [C9] [nvarchar](500) NULL, + [C10] [nvarchar](50) NULL, + [C11] [nvarchar](500) NULL, + [C12] [nvarchar](50) NULL, + [C13] [nvarchar](50) NULL, + [C14] [nvarchar](50) NULL, + [C15] [nvarchar](50) NULL, + [C16] [nvarchar](50) NULL, + [C17] [nvarchar](500) NULL, + [C18] [nvarchar](500) NULL, + [C19] [nvarchar](50) NULL, + [C20] [nvarchar](50) NULL, + [C21] [nvarchar](50) NULL, + [C22] [nvarchar](50) NULL, + [C23] [nvarchar](50) NULL, + [C24] [nvarchar](50) NULL, + [C25] [nvarchar](50) NULL, + [C26] [nvarchar](50) NULL, + [C27] [nvarchar](50) NULL, + [C28] [nvarchar](50) NULL, + [C29] [nvarchar](50) NULL, + [C30] [nvarchar](50) NULL, + [C31] [nvarchar](50) NULL, + CONSTRAINT [PK_CLGL_ArrivalDetailList] PRIMARY KEY CLUSTERED +( + [Id] 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'CLGL_ArrivalDetailList' +GO + + + +CREATE TABLE [dbo].[CLGL_CheckOutDetailList]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [C1] [nvarchar](50) NULL, + [C2] [nvarchar](50) NULL, + [C3] [nvarchar](50) NULL, + [C4] [nvarchar](50) NULL, + [C5] [nvarchar](50) NULL, + [C6] [nvarchar](50) NULL, + [C7] [nvarchar](50) NULL, + [C8] [nvarchar](50) NULL, + [C9] [nvarchar](50) NULL, + [C10] [nvarchar](50) NULL, + [C11] [nvarchar](50) NULL, + [C12] [nvarchar](50) NULL, + [C13] [nvarchar](50) NULL, + [C14] [nvarchar](50) NULL, + [C15] [nvarchar](500) NULL, + [C16] [nvarchar](50) NULL, + [C17] [nvarchar](50) NULL, + [C18] [nvarchar](50) NULL, + [C19] [nvarchar](50) NULL, + [C20] [nvarchar](50) NULL, + [C21] [nvarchar](50) NULL, + [C22] [nvarchar](50) NULL, + [C23] [nvarchar](50) NULL, + [C24] [nvarchar](50) NULL, + [C25] [nvarchar](50) NULL, + [C26] [nvarchar](50) NULL, + CONSTRAINT [PK_CLGL_CheckOutDetailList] PRIMARY KEY CLUSTERED +( + [Id] 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'CLGL_CheckOutDetailList' +GO + + + +CREATE TABLE [dbo].[CLGL_PipelineMaterialList]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [C1] [nvarchar](50) NULL, + [C2] [nvarchar](50) NULL, + [C3] [nvarchar](50) NULL, + [C4] [nvarchar](50) NULL, + [C5] [nvarchar](50) NULL, + [C6] [nvarchar](50) NULL, + [C7] [nvarchar](50) NULL, + [C8] [nvarchar](50) NULL, + [C9] [nvarchar](50) NULL, + [C10] [nvarchar](50) NULL, + [C11] [nvarchar](50) NULL, + [C12] [nvarchar](50) NULL, + [C13] [nvarchar](50) NULL, + [C14] [nvarchar](50) NULL, + [C15] [nvarchar](50) NULL, + [C16] [nvarchar](50) NULL, + [C17] [nvarchar](50) NULL, + [C18] [nvarchar](50) NULL, + [C19] [nvarchar](50) NULL, + [C20] [nvarchar](50) NULL, + [C21] [nvarchar](50) NULL, + [C22] [nvarchar](50) NULL, + [C23] [nvarchar](50) NULL, + [C24] [nvarchar](50) NULL, + [C25] [nvarchar](50) NULL, + [C26] [nvarchar](50) NULL, + [C27] [nvarchar](50) NULL, + [C28] [nvarchar](50) NULL, + [C29] [nvarchar](50) NULL, + [C30] [nvarchar](50) NULL, + [C31] [nvarchar](50) NULL, + [C32] [nvarchar](50) NULL, + [C33] [nvarchar](50) NULL, + CONSTRAINT [PK_CLGL_PipelineMaterialList] PRIMARY KEY CLUSTERED +( + [Id] 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'CLGL_PipelineMaterialList' +GO + + + +CREATE TABLE [dbo].[CLGL_PipelineMaterialSumList]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [Type] [char](1) NULL, + [C1] [nvarchar](50) NULL, + [C2] [nvarchar](50) NULL, + [C3] [nvarchar](50) NULL, + [C4] [nvarchar](50) NULL, + [C5] [nvarchar](50) NULL, + [C6] [nvarchar](50) NULL, + [C7] [nvarchar](50) NULL, + [C8] [nvarchar](50) NULL, + [C9] [nvarchar](50) NULL, + [C10] [nvarchar](50) NULL, + [C11] [nvarchar](50) NULL, + [C12] [nvarchar](50) NULL, + [C13] [nvarchar](50) NULL, + [C14] [nvarchar](50) NULL, + CONSTRAINT [PK_CLGL_PipelineMaterialSumList] PRIMARY KEY CLUSTERED +( + [Id] 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 + +SET ANSI_PADDING OFF +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ܵϻܱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'CLGL_PipelineMaterialSumList' +GO + + + +CREATE TABLE [dbo].[CLGL_RequestDetailList]( + [Id] [nvarchar](50) NOT NULL, + [ProjectId] [nvarchar](50) NULL, + [C1] [nvarchar](200) NULL, + [C2] [nvarchar](200) NULL, + [C3] [nvarchar](200) NULL, + [C4] [nvarchar](200) NULL, + [C5] [nvarchar](200) NULL, + [C6] [nvarchar](200) NULL, + [C7] [nvarchar](200) NULL, + [C8] [nvarchar](200) NULL, + [C9] [nvarchar](200) NULL, + [C10] [nvarchar](200) NULL, + [C11] [nvarchar](200) NULL, + [C12] [nvarchar](200) NULL, + [C13] [nvarchar](200) NULL, + [C14] [nvarchar](200) NULL, + [C15] [nvarchar](200) NULL, + [C16] [nvarchar](200) NULL, + [C17] [nvarchar](200) NULL, + [C18] [nvarchar](200) NULL, + [C19] [nvarchar](200) NULL, + [C20] [nvarchar](200) NULL, + [C21] [nvarchar](200) NULL, + [C22] [nvarchar](200) NULL, + [C23] [nvarchar](200) NULL, + [C24] [nvarchar](200) NULL, + [C25] [nvarchar](200) NULL, + [C26] [nvarchar](200) NULL, + [C27] [nvarchar](200) NULL, + [C28] [nvarchar](200) NULL, + [C29] [nvarchar](200) NULL, + [C30] [nvarchar](200) NULL, + [C31] [nvarchar](200) NULL, + CONSTRAINT [PK_CLGL_RequestDetailList] PRIMARY KEY CLUSTERED +( + [Id] 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'CLGL_RequestDetailList' +GO + + diff --git a/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-14修改明细.txt b/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-14修改明细.txt new file mode 100644 index 00000000..c3df935f --- /dev/null +++ b/DataBase/版本日志/已更新脚本/SGGLDB_V2022-09-14修改明细.txt @@ -0,0 +1,5 @@ +--ADD BY gaofei 2022-09-13 +1,材料管理增加接口报表,包括合同清单一览表、合同清单汇总表、管道材料状态一览表、管道材料编码统计一览表、管道供货商概要一览表、MTO明细信息一览表、管道材料汇总表、现场请购明细一览表、现场到货明细一览表、现场出库明细一览表 +2,三、四级看板增加管道材料汇总表显示 +3,进度管理首页增加项目赢得值曲线显示 +--END diff --git a/DataBase/菜单初始化脚本/1-12材料管理(Menu_CLGL).sql b/DataBase/菜单初始化脚本/1-12材料管理(Menu_CLGL).sql index 884f98b7..369da5cc 100644 --- a/DataBase/菜单初始化脚本/1-12材料管理(Menu_CLGL).sql +++ b/DataBase/菜单初始化脚本/1-12材料管理(Menu_CLGL).sql @@ -9,48 +9,52 @@ VALUES('C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','设计请购一览表','',10,'0', GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) -VALUES('484E50BA-B6F2-47E0-BB7C-B1C27965E087','合同清单一览表','CLGL/GoodsShelves.aspx',10,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) +VALUES('484E50BA-B6F2-47E0-BB7C-B1C27965E087','合同清单一览表','CLGL/ContractList.aspx',10,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) -VALUES('F0F43F1C-0E73-4A7C-AE43-26950D8D93E4','合同清单汇总表','CLGL/GoodsShelves.aspx',20,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) +VALUES('F0F43F1C-0E73-4A7C-AE43-26950D8D93E4','合同清单汇总表','CLGL/ContractListSum.aspx',20,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) -VALUES('55301756-3313-4876-A1C3-2D1246C4B93C','管道材料状态一栏表','CLGL/GoodsShelves.aspx',30,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) +VALUES('55301756-3313-4876-A1C3-2D1246C4B93C','管道材料状态一览表','CLGL/PipelineMaterialList.aspx',30,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) -VALUES('074B06B2-456A-4F7B-8E40-00F379C6E302','管道材料编码统计一览表','CLGL/GoodsShelves.aspx',40,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) +VALUES('074B06B2-456A-4F7B-8E40-00F379C6E302','管道材料编码统计一览表','CLGL/PipelineMaterialCodeList.aspx',40,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) -VALUES('AF7EA0E4-92A1-4F8D-A5A0-99B0084F7C75','管道供货商概要一览表','CLGL/GoodsShelves.aspx',50,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) +VALUES('AF7EA0E4-92A1-4F8D-A5A0-99B0084F7C75','管道供货商概要一览表','CLGL/PipelineSupplierList.aspx',50,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('8BBFA90C-1F1C-4587-AA94-BE44C5075CBD','MTO明细信息一览表','CLGL/MTODetail.aspx',60,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) GO +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES('44527C92-FF92-4935-B81E-F6C8B8C4D622','管道材料汇总表','CLGL/PipelineMaterialSumList.aspx',70,'C0C5E48B-4C0D-4657-92AB-25DF0FEE372F','Menu_CLGL',0,1,1) +GO + INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('9F944625-2EA3-46A1-8D18-A882CE88F3A5','现场请购到货及出库一览表','',20,'0','Menu_CLGL',0,0,1) GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) -VALUES('7D4E3B4D-76FE-41FB-B2F2-23A0D252D4E4','现场请购明细一览表','CLGL/GoodsShelves.aspx',10,'9F944625-2EA3-46A1-8D18-A882CE88F3A5','Menu_CLGL',0,1,1) +VALUES('7D4E3B4D-76FE-41FB-B2F2-23A0D252D4E4','现场请购明细一览表','CLGL/RequestDetailList.aspx',10,'9F944625-2EA3-46A1-8D18-A882CE88F3A5','Menu_CLGL',0,1,1) GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) -VALUES('31134149-CE94-49FD-A1D9-5A70553FAC61','现场到货明细一览表','CLGL/GoodsShelves.aspx',20,'9F944625-2EA3-46A1-8D18-A882CE88F3A5','Menu_CLGL',0,1,1) +VALUES('31134149-CE94-49FD-A1D9-5A70553FAC61','现场到货明细一览表','CLGL/ArrivalDetailList.aspx',20,'9F944625-2EA3-46A1-8D18-A882CE88F3A5','Menu_CLGL',0,1,1) GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) -VALUES('3C30E38D-0BE9-4295-AF70-73D52F7FC4BC','现场出库明细一览表','CLGL/GoodsShelves.aspx',30,'9F944625-2EA3-46A1-8D18-A882CE88F3A5','Menu_CLGL',0,1,1) -GO - -INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) -VALUES('11E1CDE7-1D04-4F47-9A42-4C1F262995D2','各装置管道材料类型及出库比例表','CLGL/GoodsShelves.aspx',40,'9F944625-2EA3-46A1-8D18-A882CE88F3A5','Menu_CLGL',0,1,1) +VALUES('3C30E38D-0BE9-4295-AF70-73D52F7FC4BC','现场出库明细一览表','CLGL/CheckOutDetailList.aspx',30,'9F944625-2EA3-46A1-8D18-A882CE88F3A5','Menu_CLGL',0,1,1) GO +--未完成 +--INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +--VALUES('11E1CDE7-1D04-4F47-9A42-4C1F262995D2','各装置管道材料类型及出库比例表','CLGL/CheckOutRateList.aspx',40,'9F944625-2EA3-46A1-8D18-A882CE88F3A5','Menu_CLGL',0,1,1) +--GO INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) VALUES('9669E903-C7DD-4E48-8962-B22A7B4972E6','其他','',30,'0','Menu_CLGL',0,0,1) diff --git a/SGGL/BLL/WebService/MCSWebService.cs b/SGGL/BLL/WebService/MCSWebService.cs index 5602b2a4..312341b2 100644 --- a/SGGL/BLL/WebService/MCSWebService.cs +++ b/SGGL/BLL/WebService/MCSWebService.cs @@ -44,13 +44,552 @@ var projects = from x in Funs.DB.Base_Project where x.CLProjectCode != null select x; foreach (var project in projects) { - getPoDetails(project.CLProjectCode ?? 0); - getIssueDetails(project.CLProjectCode ?? 0); - getPartNoInfo(project.CLProjectCode ?? 0); + //getPoDetails(project.CLProjectCode ?? 0); + //getIssueDetails(project.CLProjectCode ?? 0); + //getPartNoInfo(project.CLProjectCode ?? 0); getShelvesNo(project.CLProjectCode ?? 0); getSubcontractor(project.CLProjectCode ?? 0); - getReqDetails(project.CLProjectCode ?? 0); + //getReqDetails(project.CLProjectCode ?? 0); getMTODetailInfo(project.CLProjectCode ?? 0); + getContractListInfo(project.CLProjectCode ?? 0); + getContractListSumInfo(project.CLProjectCode ?? 0); + getPipelineMaterialListInfo(project.CLProjectCode ?? 0); + getPipelineMaterialCodeListInfo(project.CLProjectCode ?? 0); + getPipelineSupplierListInfo(project.CLProjectCode ?? 0); + getArrivalDetailListInfo(project.CLProjectCode ?? 0); + getCheckOutDetailListInfo(project.CLProjectCode ?? 0); + getPipelineMaterialSumListInfo(project.CLProjectCode ?? 0); + getRequestDetailListInfo(project.CLProjectCode ?? 0); + } + } + + public static void getRequestDetailListInfo(long projectId) + { + try + { + using (var db = new Model.SGGLDB(Funs.ConnString)) + { + MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient(); + var details = mscsC.getPojectReport(projectId, "现场请购明细一览表"); + if (!string.IsNullOrEmpty(details)) + { + var q = from x in db.CLGL_RequestDetailList where x.ProjectId == projectId.ToString() select x; + if (q.Count() > 0) + { + db.CLGL_RequestDetailList.DeleteAllOnSubmit(q); + db.SubmitChanges(); + } + JArray arr = JArray.Parse(details); + foreach (var item in arr) + { + Model.CLGL_RequestDetailList mTODetail = new Model.CLGL_RequestDetailList(); + mTODetail.Id = SQLHelper.GetNewID(); + mTODetail.ProjectId = projectId.ToString(); + mTODetail.C1 = item["请购单号"].ToString(); + mTODetail.C2 = item["请购单名称"].ToString(); + mTODetail.C3 = item["专业名称"].ToString(); + mTODetail.C4 = item["材料编码"].ToString(); + mTODetail.C5 = item["位号"].ToString(); + mTODetail.C6 = item["属性1"].ToString(); + mTODetail.C7 = item["属性2"].ToString(); + mTODetail.C8 = item["属性3"].ToString(); + mTODetail.C9 = item["属性4"].ToString(); + mTODetail.C10 = item["属性5"].ToString(); + mTODetail.C11 = item["属性6"].ToString(); + mTODetail.C12 = item["属性7"].ToString(); + mTODetail.C13 = item["属性8"].ToString(); + mTODetail.C14 = item["属性9"].ToString(); + mTODetail.C15 = item["属性10"].ToString(); + mTODetail.C16 = item["属性11"].ToString(); + mTODetail.C17 = item["属性12"].ToString(); + mTODetail.C18 = item["属性13"].ToString(); + mTODetail.C19 = item["属性14"].ToString(); + mTODetail.C20 = item["属性15"].ToString(); + mTODetail.C21 = item["属性16"].ToString(); + mTODetail.C22 = item["属性17"].ToString(); + mTODetail.C23 = item["属性18"].ToString(); + mTODetail.C24 = item["属性19"].ToString(); + mTODetail.C25 = item["属性20"].ToString(); + mTODetail.C26 = item["主项号"].ToString(); + mTODetail.C27 = item["装置号"].ToString(); + mTODetail.C28 = item["设计量"].ToString(); + mTODetail.C29 = item["请购量"].ToString(); + mTODetail.C30 = item["请购说明"].ToString(); + mTODetail.C31 = item["材料用途"].ToString(); + db.CLGL_RequestDetailList.InsertOnSubmit(mTODetail); + db.SubmitChanges(); + } + } + } + } + catch (Exception ex) + { + ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getRequestDetailListInfo" + ex.Message); + } + } + + public static void getPipelineMaterialSumListInfo(long projectId) + { + try + { + using (var db = new Model.SGGLDB(Funs.ConnString)) + { + MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient(); + var details = mscsC.getPipeMaterilalByType(projectId); + if (!string.IsNullOrEmpty(details)) + { + var q = from x in db.CLGL_PipelineMaterialSumList where x.ProjectId == projectId.ToString() && x.Type=="M" select x; + if (q.Count() > 0) + { + db.CLGL_PipelineMaterialSumList.DeleteAllOnSubmit(q); + db.SubmitChanges(); + } + JArray arr = JArray.Parse(details); + foreach (var item in arr) + { + Model.CLGL_PipelineMaterialSumList mTODetail = new Model.CLGL_PipelineMaterialSumList(); + mTODetail.Id = SQLHelper.GetNewID(); + mTODetail.ProjectId = projectId.ToString(); + mTODetail.Type = "M"; + mTODetail.C1 = item["材料类别"].ToString(); + mTODetail.C2 = item["设计量"].ToString(); + mTODetail.C3 = item["预制量"].ToString(); + mTODetail.C4 = item["采购量"].ToString(); + mTODetail.C5 = item["采购量百分比"].ToString(); + mTODetail.C6 = item["已到货"].ToString(); + mTODetail.C7 = item["已到货百分比"].ToString(); + mTODetail.C8 = item["已领料"].ToString(); + mTODetail.C9 = item["已领料百分比"].ToString(); + mTODetail.C10 = item["采购量MTO"].ToString(); + mTODetail.C11 = item["采购量百分比MTO"].ToString(); + db.CLGL_PipelineMaterialSumList.InsertOnSubmit(mTODetail); + db.SubmitChanges(); + } + } + var details2 = mscsC.getPipeMaterilalByAera(projectId); + if (!string.IsNullOrEmpty(details2)) + { + var q = from x in db.CLGL_PipelineMaterialSumList where x.ProjectId == projectId.ToString() && x.Type == "I" select x; + if (q.Count() > 0) + { + db.CLGL_PipelineMaterialSumList.DeleteAllOnSubmit(q); + db.SubmitChanges(); + } + JArray arr = JArray.Parse(details2); + foreach (var item in arr) + { + Model.CLGL_PipelineMaterialSumList mTODetail = new Model.CLGL_PipelineMaterialSumList(); + mTODetail.Id = SQLHelper.GetNewID(); + mTODetail.ProjectId = projectId.ToString(); + mTODetail.Type = "I"; + mTODetail.C12 = item["施工单位"].ToString(); + mTODetail.C13 = item["装置号"].ToString(); + mTODetail.C14 = item["装置名称"].ToString(); + mTODetail.C1 = item["材料种类"].ToString(); + mTODetail.C2 = item["设计量"].ToString(); + mTODetail.C3 = item["预制量"].ToString(); + mTODetail.C4 = item["采购量"].ToString(); + mTODetail.C5 = item["采购量百分比"].ToString(); + mTODetail.C6 = item["已到货"].ToString(); + mTODetail.C7 = item["已到货百分比"].ToString(); + mTODetail.C8 = item["已领料"].ToString(); + mTODetail.C9 = item["已领料百分比"].ToString(); + mTODetail.C10 = item["采购量MTO"].ToString(); + mTODetail.C11 = item["采购量百分比MTO"].ToString(); + db.CLGL_PipelineMaterialSumList.InsertOnSubmit(mTODetail); + db.SubmitChanges(); + } + } + } + } + catch (Exception ex) + { + ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getContractListInfo" + ex.Message); + } + } + + public static void getCheckOutDetailListInfo(long projectId) + { + try + { + using (var db = new Model.SGGLDB(Funs.ConnString)) + { + MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient(); + var details = mscsC.getPojectReport(projectId, "现场出库明细一览表"); + if (!string.IsNullOrEmpty(details)) + { + var q = from x in db.CLGL_CheckOutDetailList where x.ProjectId == projectId.ToString() select x; + if (q.Count() > 0) + { + db.CLGL_CheckOutDetailList.DeleteAllOnSubmit(q); + db.SubmitChanges(); + } + JArray arr = JArray.Parse(details); + foreach (var item in arr) + { + Model.CLGL_CheckOutDetailList mTODetail = new Model.CLGL_CheckOutDetailList(); + mTODetail.Id = SQLHelper.GetNewID(); + mTODetail.ProjectId = projectId.ToString(); + mTODetail.C1 = item["专业"].ToString(); + mTODetail.C2 = item["领料单号"].ToString(); + mTODetail.C3 = item["领料时间"].ToString(); + mTODetail.C4 = item["出库原因"].ToString(); + mTODetail.C5 = item["物资类别"].ToString(); + mTODetail.C6 = item["领料截止时间"].ToString(); + mTODetail.C7 = item["领料单位"].ToString(); + mTODetail.C8 = item["领料人"].ToString(); + mTODetail.C9 = item["发料人"].ToString(); + mTODetail.C10 = item["审批状态"].ToString(); + mTODetail.C11 = item["发料方式"].ToString(); + mTODetail.C12 = item["材料名称"].ToString(); + mTODetail.C13 = item["材料编码"].ToString(); + mTODetail.C14 = item["位号"].ToString(); + mTODetail.C15 = item["规格"].ToString(); + mTODetail.C16 = item["申领量"].ToString(); + mTODetail.C17 = item["批准量"].ToString(); + mTODetail.C18 = item["实发量"].ToString(); + mTODetail.C19 = item["班组"].ToString(); + mTODetail.C20 = item["申请人"].ToString(); + mTODetail.C21 = item["货架编号"].ToString(); + mTODetail.C22 = item["发料备注"].ToString(); + mTODetail.C23 = item["装置号"].ToString(); + mTODetail.C24 = item["管线号"].ToString(); + mTODetail.C25 = item["单位"].ToString(); + mTODetail.C26 = item["合同号"].ToString(); + db.CLGL_CheckOutDetailList.InsertOnSubmit(mTODetail); + db.SubmitChanges(); + } + } + } + } + catch (Exception ex) + { + ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getCheckOutDetailListInfo" + ex.Message); + } + } + + public static void getArrivalDetailListInfo(long projectId) + { + try + { + using (var db = new Model.SGGLDB(Funs.ConnString)) + { + MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient(); + var details = mscsC.getPojectReport(projectId, "现场到货明细一览表"); + if (!string.IsNullOrEmpty(details)) + { + var q = from x in db.CLGL_ArrivalDetailList where x.ProjectId == projectId.ToString() select x; + if (q.Count() > 0) + { + db.CLGL_ArrivalDetailList.DeleteAllOnSubmit(q); + db.SubmitChanges(); + } + JArray arr = JArray.Parse(details); + foreach (var item in arr) + { + Model.CLGL_ArrivalDetailList mTODetail = new Model.CLGL_ArrivalDetailList(); + mTODetail.Id = SQLHelper.GetNewID(); + mTODetail.ProjectId = projectId.ToString(); + mTODetail.C1 = item["供应商名称"].ToString(); + mTODetail.C2 = item["合同号"].ToString(); + mTODetail.C3 = item["请购单号"].ToString(); + mTODetail.C4 = item["箱号"].ToString(); + mTODetail.C5 = item["材料编码"].ToString(); + mTODetail.C6 = item["位号"].ToString(); + mTODetail.C7 = item["材料名称"].ToString(); + mTODetail.C8 = item["属性2"].ToString(); + mTODetail.C9 = item["属性3"].ToString(); + mTODetail.C10 = item["属性4"].ToString(); + mTODetail.C11 = item["属性5"].ToString(); + mTODetail.C12 = item["属性6"].ToString(); + mTODetail.C13 = item["属性7"].ToString(); + mTODetail.C14 = item["属性8"].ToString(); + mTODetail.C15 = item["属性9"].ToString(); + mTODetail.C16 = item["属性10"].ToString(); + mTODetail.C17 = item["属性11"].ToString(); + mTODetail.C18 = item["属性12"].ToString(); + mTODetail.C19 = item["属性13"].ToString(); + mTODetail.C20 = item["属性14"].ToString(); + mTODetail.C21 = item["属性15"].ToString(); + mTODetail.C22 = item["属性16"].ToString(); + mTODetail.C23 = item["属性17"].ToString(); + mTODetail.C24 = item["属性18"].ToString(); + mTODetail.C25 = item["属性19"].ToString(); + mTODetail.C26 = item["属性20"].ToString(); + mTODetail.C27 = item["计量单位"].ToString(); + mTODetail.C28 = item["装置号"].ToString(); + mTODetail.C29 = item["到货量"].ToString(); + mTODetail.C30 = item["到货批次号"].ToString(); + mTODetail.C31 = item["货架编号"].ToString(); + db.CLGL_ArrivalDetailList.InsertOnSubmit(mTODetail); + db.SubmitChanges(); + } + } + } + } + catch (Exception ex) + { + ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getContractListInfo" + ex.Message); + } + } + + public static void getPipelineSupplierListInfo(long projectId) + { + try + { + using (var db = new Model.SGGLDB(Funs.ConnString)) + { + MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient(); + var details = mscsC.getPojectReport(projectId, "管道供货商概要一览表"); + if (!string.IsNullOrEmpty(details)) + { + var q = from x in db.CLGL_PipelineSupplierList where x.ProjectId == projectId.ToString() select x; + if (q.Count() > 0) + { + db.CLGL_PipelineSupplierList.DeleteAllOnSubmit(q); + db.SubmitChanges(); + } + JArray arr = JArray.Parse(details); + foreach (var item in arr) + { + Model.CLGL_PipelineSupplierList mTODetail = new Model.CLGL_PipelineSupplierList(); + mTODetail.Id = SQLHelper.GetNewID(); + mTODetail.ProjectId = projectId.ToString(); + mTODetail.C1 = item["供货商"].ToString(); + mTODetail.C2 = item["合同号"].ToString(); + mTODetail.C3 = item["合同名称"].ToString(); + mTODetail.C4 = item["合同交货日期"].ToString(); + mTODetail.C5 = item["采购量"].ToString(); + mTODetail.C6 = item["到货量"].ToString(); + db.CLGL_PipelineSupplierList.InsertOnSubmit(mTODetail); + db.SubmitChanges(); + } + } + } + } + catch (Exception ex) + { + ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getPipelineSupplierListInfo" + ex.Message); + } + } + + public static void getPipelineMaterialCodeListInfo(long projectId) + { + try + { + using (var db = new Model.SGGLDB(Funs.ConnString)) + { + MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient(); + var details = mscsC.getPojectReport(projectId, "管道材料编码统计一览表"); + if (!string.IsNullOrEmpty(details)) + { + var q = from x in db.CLGL_PipelineMaterialCodeList where x.ProjectId == projectId.ToString() select x; + if (q.Count() > 0) + { + db.CLGL_PipelineMaterialCodeList.DeleteAllOnSubmit(q); + db.SubmitChanges(); + } + JArray arr = JArray.Parse(details); + foreach (var item in arr) + { + Model.CLGL_PipelineMaterialCodeList mTODetail = new Model.CLGL_PipelineMaterialCodeList(); + mTODetail.Id = SQLHelper.GetNewID(); + mTODetail.ProjectId = projectId.ToString(); + mTODetail.C1 = item["材料编码"].ToString(); + mTODetail.C2 = item["位号"].ToString(); + mTODetail.C3 = item["材料名称"].ToString(); + mTODetail.C4 = item["SIZE1"].ToString(); + mTODetail.C5 = item["SIZE2"].ToString(); + mTODetail.C6 = item["SCH1"].ToString(); + mTODetail.C7 = item["SCH2"].ToString(); + mTODetail.C8 = item["压力等级"].ToString(); + mTODetail.C9 = item["端面"].ToString(); + mTODetail.C10 = item["螺栓长度"].ToString(); + mTODetail.C11 = item["标准"].ToString(); + mTODetail.C12 = item["材质"].ToString(); + mTODetail.C13 = item["装置号"].ToString(); + mTODetail.C14 = item["设计量"].ToString(); + mTODetail.C15 = item["请购量"].ToString(); + mTODetail.C16 = item["裕量(采购量-设计量)"].ToString(); + mTODetail.C17 = item["采购量"].ToString(); + mTODetail.C18 = item["到货量"].ToString(); + mTODetail.C19 = item["实发量"].ToString(); + db.CLGL_PipelineMaterialCodeList.InsertOnSubmit(mTODetail); + db.SubmitChanges(); + } + } + } + } + catch (Exception ex) + { + ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getPipelineMaterialCodeListInfo" + ex.Message); + } + } + + public static void getPipelineMaterialListInfo(long projectId) + { + try + { + using (var db = new Model.SGGLDB(Funs.ConnString)) + { + MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient(); + var details = mscsC.getPojectReport(projectId, "管道材料状态一览表"); + if (!string.IsNullOrEmpty(details)) + { + var q = from x in db.CLGL_PipelineMaterialList where x.ProjectId == projectId.ToString() select x; + if (q.Count() > 0) + { + db.CLGL_PipelineMaterialList.DeleteAllOnSubmit(q); + db.SubmitChanges(); + } + JArray arr = JArray.Parse(details); + foreach (var item in arr) + { + Model.CLGL_PipelineMaterialList mTODetail = new Model.CLGL_PipelineMaterialList(); + mTODetail.Id = SQLHelper.GetNewID(); + mTODetail.ProjectId = projectId.ToString(); + mTODetail.C1 = item["主项号"].ToString(); + mTODetail.C2 = item["材料编码"].ToString(); + mTODetail.C3 = item["材料名称"].ToString(); + mTODetail.C4 = item["位号"].ToString(); + mTODetail.C5 = item["管道等级"].ToString(); + mTODetail.C6 = item["SIZE1"].ToString(); + mTODetail.C7 = item["SIZE2"].ToString(); + mTODetail.C8 = item["SCH1"].ToString(); + mTODetail.C9 = item["SCH2"].ToString(); + mTODetail.C10 = item["压力等级"].ToString(); + mTODetail.C11 = item["端面"].ToString(); + mTODetail.C12 = item["螺栓长度"].ToString(); + mTODetail.C13 = item["材质"].ToString(); + mTODetail.C14 = item["标准"].ToString(); + mTODetail.C15 = item["材料用途"].ToString(); + mTODetail.C16 = item["设计量"].ToString(); + mTODetail.C17 = item["采购量"].ToString(); + mTODetail.C18 = item["计量单位"].ToString(); + mTODetail.C19 = item["备注"].ToString(); + mTODetail.C20 = item["原产地"].ToString(); + mTODetail.C21 = item["采购包编号"].ToString(); + mTODetail.C22 = item["采购包名称"].ToString(); + mTODetail.C23 = item["合同号"].ToString(); + mTODetail.C24 = item["请购单号"].ToString(); + mTODetail.C25 = item["请购单备注"].ToString(); + mTODetail.C26 = item["专业名称"].ToString(); + mTODetail.C27 = item["签订日期"].ToString(); + mTODetail.C28 = item["合同交货日期"].ToString(); + mTODetail.C29 = item["供货商"].ToString(); + mTODetail.C30 = item["施工需求时间"].ToString(); + mTODetail.C31 = item["到货量"].ToString(); + mTODetail.C32 = item["可用库存量"].ToString(); + mTODetail.C33 = item["实发量"].ToString(); + db.CLGL_PipelineMaterialList.InsertOnSubmit(mTODetail); + db.SubmitChanges(); + } + } + } + } + catch (Exception ex) + { + ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getPipelineMaterialListInfo" + ex.Message); + } + } + + public static void getContractListSumInfo(long projectId) + { + try + { + using (var db = new Model.SGGLDB(Funs.ConnString)) + { + MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient(); + var details = mscsC.getPojectReport(projectId, "合同清单汇总表"); + if (!string.IsNullOrEmpty(details)) + { + var q = from x in db.CLGL_ContractListSum where x.ProjectId == projectId.ToString() select x; + if (q.Count() > 0) + { + db.CLGL_ContractListSum.DeleteAllOnSubmit(q); + db.SubmitChanges(); + } + JArray arr = JArray.Parse(details); + foreach (var item in arr) + { + Model.CLGL_ContractListSum mTODetail = new Model.CLGL_ContractListSum(); + mTODetail.Id = SQLHelper.GetNewID(); + mTODetail.ProjectId = projectId.ToString(); + mTODetail.C1 = item["专业"].ToString(); + mTODetail.C2 = item["合同号"].ToString(); + mTODetail.C3 = item["合同名称"].ToString(); + mTODetail.C4 = item["供货商"].ToString(); + mTODetail.C5 = item["签订日期"].ToString(); + mTODetail.C6 = item["交货日期"].ToString(); + mTODetail.C7 = item["采购总量"].ToString(); + mTODetail.C8 = item["发货总量"].ToString(); + mTODetail.C9 = item["到货总量"].ToString(); + db.CLGL_ContractListSum.InsertOnSubmit(mTODetail); + db.SubmitChanges(); + } + } + } + } + catch (Exception ex) + { + ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getContractListSumInfo" + ex.Message); + } + } + + public static void getContractListInfo(long projectId) + { + try + { + using (var db = new Model.SGGLDB(Funs.ConnString)) + { + MCSService.WebService1SoapClient mscsC = new MCSService.WebService1SoapClient(); + var details = mscsC.getPojectReport(projectId, "合同清单一览表"); + if (!string.IsNullOrEmpty(details)) + { + var q = from x in db.CLGL_ContractList where x.ProjectId == projectId.ToString() select x; + if (q.Count() > 0) + { + db.CLGL_ContractList.DeleteAllOnSubmit(q); + db.SubmitChanges(); + } + JArray arr = JArray.Parse(details); + foreach (var item in arr) + { + Model.CLGL_ContractList mTODetail = new Model.CLGL_ContractList(); + mTODetail.Id = SQLHelper.GetNewID(); + mTODetail.ProjectId = projectId.ToString(); + mTODetail.C1 = item["合同号"].ToString(); + mTODetail.C2 = item["合同名称"].ToString(); + mTODetail.C3 = item["请购单号"].ToString(); + mTODetail.C4 = item["专业"].ToString(); + mTODetail.C5 = item["签订日期"].ToString(); + mTODetail.C6 = item["合同交货日期"].ToString(); + mTODetail.C7 = item["供应商"].ToString(); + mTODetail.C8 = item["材料编码"].ToString(); + mTODetail.C9 = item["位号"].ToString(); + mTODetail.C10 = item["材料等级"].ToString(); + mTODetail.C11 = item["材料名称"].ToString(); + mTODetail.C12 = item["规格"].ToString(); + mTODetail.C13 = item["设计量"].ToString(); + mTODetail.C14 = item["余量"].ToString(); + mTODetail.C15 = item["请购量"].ToString(); + mTODetail.C16 = item["采购量"].ToString(); + mTODetail.C17 = item["发货量"].ToString(); + mTODetail.C18 = item["到货量"].ToString(); + mTODetail.C19 = item["备注"].ToString(); + mTODetail.C20 = item["装置号"].ToString(); + mTODetail.C21 = item["主项号"].ToString(); + mTODetail.C22 = item["材料用途"].ToString(); + mTODetail.C23 = item["计量单位"].ToString(); + db.CLGL_ContractList.InsertOnSubmit(mTODetail); + db.SubmitChanges(); + } + } + } + } + catch (Exception ex) + { + ErrLogInfo.WriteLog(ex, "材料管理接口定时器", "MCSWebService.getContractListInfo" + ex.Message); } } diff --git a/SGGL/FineUIPro.Web/CLGL/ArrivalDetailList.aspx b/SGGL/FineUIPro.Web/CLGL/ArrivalDetailList.aspx new file mode 100644 index 00000000..539cb1ff --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/ArrivalDetailList.aspx @@ -0,0 +1,164 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ArrivalDetailList.aspx.cs" Inherits="FineUIPro.Web.CLGL.ArrivalDetailList" %> + + + + + +合同清单一览表 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CLGL/ArrivalDetailList.aspx.cs b/SGGL/FineUIPro.Web/CLGL/ArrivalDetailList.aspx.cs new file mode 100644 index 00000000..d1ad6698 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/ArrivalDetailList.aspx.cs @@ -0,0 +1,118 @@ +using BLL; +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; + +namespace FineUIPro.Web.CLGL +{ + public partial class ArrivalDetailList : PageBase + { + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + if (this.CurrUser.UserId == BLL.Const.hfnbdId) + { + this.btnGetAll.Hidden = false; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 绑定表格 + this.BindGrid(); + } + } + + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + + /// + /// 获取全部 + /// + /// + /// + protected void btnGetAll_Click(object sender, EventArgs e) + { + BLL.MCSWebService.GetCLData(null, null); + this.BindGrid(); + } + + /// + /// 获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + BLL.MCSWebService.getArrivalDetailListInfo(BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId)); + this.BindGrid(); + } + + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"select * + from dbo.CLGL_ArrivalDetailList c + where c.ProjectId=@ProjectId order by c.C3 desc"; + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId))); + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + + #region 分页 + /// + /// 分页 + /// + /// + /// + 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 Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CLGL/ArrivalDetailList.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/ArrivalDetailList.aspx.designer.cs new file mode 100644 index 00000000..34a2d4da --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/ArrivalDetailList.aspx.designer.cs @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CLGL { + + + public partial class ArrivalDetailList { + + /// + /// 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; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + + /// + /// btnGetAll 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGetAll; + + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + } +} diff --git a/SGGL/FineUIPro.Web/CLGL/CheckOutDetailList.aspx b/SGGL/FineUIPro.Web/CLGL/CheckOutDetailList.aspx new file mode 100644 index 00000000..1523a0ea --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/CheckOutDetailList.aspx @@ -0,0 +1,149 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CheckOutDetailList.aspx.cs" Inherits="FineUIPro.Web.CLGL.CheckOutDetailList" %> + + + + + +合同清单一览表 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CLGL/CheckOutDetailList.aspx.cs b/SGGL/FineUIPro.Web/CLGL/CheckOutDetailList.aspx.cs new file mode 100644 index 00000000..01b6e04f --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/CheckOutDetailList.aspx.cs @@ -0,0 +1,118 @@ +using BLL; +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; + +namespace FineUIPro.Web.CLGL +{ + public partial class CheckOutDetailList : PageBase + { + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + if (this.CurrUser.UserId == BLL.Const.hfnbdId) + { + this.btnGetAll.Hidden = false; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 绑定表格 + this.BindGrid(); + } + } + + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + + /// + /// 获取全部 + /// + /// + /// + protected void btnGetAll_Click(object sender, EventArgs e) + { + BLL.MCSWebService.GetCLData(null, null); + this.BindGrid(); + } + + /// + /// 获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + BLL.MCSWebService.getCheckOutDetailListInfo(BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId)); + this.BindGrid(); + } + + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"select * + from dbo.CLGL_CheckOutDetailList c + where c.ProjectId=@ProjectId order by c.C3 desc"; + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId))); + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + + #region 分页 + /// + /// 分页 + /// + /// + /// + 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 Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CLGL/CheckOutDetailList.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/CheckOutDetailList.aspx.designer.cs new file mode 100644 index 00000000..551c30f6 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/CheckOutDetailList.aspx.designer.cs @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CLGL { + + + public partial class CheckOutDetailList { + + /// + /// 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; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + + /// + /// btnGetAll 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGetAll; + + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + } +} diff --git a/SGGL/FineUIPro.Web/CLGL/ContractList.aspx b/SGGL/FineUIPro.Web/CLGL/ContractList.aspx new file mode 100644 index 00000000..6b67ee84 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/ContractList.aspx @@ -0,0 +1,140 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContractList.aspx.cs" Inherits="FineUIPro.Web.CLGL.ContractList" %> + + + + + +合同清单一览表 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CLGL/ContractList.aspx.cs b/SGGL/FineUIPro.Web/CLGL/ContractList.aspx.cs new file mode 100644 index 00000000..6e5b245d --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/ContractList.aspx.cs @@ -0,0 +1,118 @@ +using BLL; +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; + +namespace FineUIPro.Web.CLGL +{ + public partial class ContractList : PageBase + { + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + if (this.CurrUser.UserId == BLL.Const.hfnbdId) + { + this.btnGetAll.Hidden = false; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 绑定表格 + this.BindGrid(); + } + } + + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + + /// + /// 获取全部 + /// + /// + /// + protected void btnGetAll_Click(object sender, EventArgs e) + { + BLL.MCSWebService.GetCLData(null, null); + this.BindGrid(); + } + + /// + /// 获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + BLL.MCSWebService.getContractListInfo(BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId)); + this.BindGrid(); + } + + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"select * + from dbo.CLGL_ContractList c + where c.ProjectId=@ProjectId order by c.C5 desc"; + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId))); + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + + #region 分页 + /// + /// 分页 + /// + /// + /// + 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 Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CLGL/ContractList.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/ContractList.aspx.designer.cs new file mode 100644 index 00000000..78320c63 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/ContractList.aspx.designer.cs @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CLGL { + + + public partial class ContractList { + + /// + /// 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; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + + /// + /// btnGetAll 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGetAll; + + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + } +} diff --git a/SGGL/FineUIPro.Web/CLGL/ContractListSum.aspx b/SGGL/FineUIPro.Web/CLGL/ContractListSum.aspx new file mode 100644 index 00000000..cf184ef6 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/ContractListSum.aspx @@ -0,0 +1,98 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ContractListSum.aspx.cs" Inherits="FineUIPro.Web.CLGL.ContractListSum" %> + + + + + +合同清单一览表 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CLGL/ContractListSum.aspx.cs b/SGGL/FineUIPro.Web/CLGL/ContractListSum.aspx.cs new file mode 100644 index 00000000..7102815a --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/ContractListSum.aspx.cs @@ -0,0 +1,118 @@ +using BLL; +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; + +namespace FineUIPro.Web.CLGL +{ + public partial class ContractListSum : PageBase + { + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + if (this.CurrUser.UserId == BLL.Const.hfnbdId) + { + this.btnGetAll.Hidden = false; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 绑定表格 + this.BindGrid(); + } + } + + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + + /// + /// 获取全部 + /// + /// + /// + protected void btnGetAll_Click(object sender, EventArgs e) + { + BLL.MCSWebService.GetCLData(null, null); + this.BindGrid(); + } + + /// + /// 获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + BLL.MCSWebService.getContractListSumInfo(BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId)); + this.BindGrid(); + } + + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"select * + from dbo.CLGL_ContractListSum c + where c.ProjectId=@ProjectId order by c.C5 desc"; + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId))); + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + + #region 分页 + /// + /// 分页 + /// + /// + /// + 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 Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CLGL/ContractListSum.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/ContractListSum.aspx.designer.cs new file mode 100644 index 00000000..7189e211 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/ContractListSum.aspx.designer.cs @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CLGL { + + + public partial class ContractListSum { + + /// + /// 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; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + + /// + /// btnGetAll 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGetAll; + + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + } +} diff --git a/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx b/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx index 0c6c5f30..19192133 100644 --- a/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx +++ b/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx @@ -27,6 +27,8 @@ + + diff --git a/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx.cs b/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx.cs index c0a7b7ab..cde196b0 100644 --- a/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx.cs +++ b/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx.cs @@ -27,6 +27,16 @@ namespace FineUIPro.Web.CLGL } } + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + /// /// 获取 /// diff --git a/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx.designer.cs index 09c9c046..26eda482 100644 --- a/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CLGL/ContractQuantitySheet.aspx.designer.cs @@ -57,6 +57,15 @@ namespace FineUIPro.Web.CLGL { /// protected global::FineUIPro.Toolbar Toolbar2; + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx b/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx index 9565e85d..8d44c246 100644 --- a/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx +++ b/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx @@ -27,6 +27,8 @@ + + diff --git a/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx.cs b/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx.cs index e335831a..5c3f8e18 100644 --- a/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx.cs +++ b/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx.cs @@ -27,6 +27,16 @@ namespace FineUIPro.Web.CLGL } } + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + /// /// 获取 /// diff --git a/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx.designer.cs index 20e2cbd5..01694491 100644 --- a/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CLGL/GoodsShelves.aspx.designer.cs @@ -57,6 +57,15 @@ namespace FineUIPro.Web.CLGL { /// protected global::FineUIPro.Toolbar Toolbar2; + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx b/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx index 2851e846..ef21187c 100644 --- a/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx +++ b/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx @@ -32,6 +32,8 @@ + + diff --git a/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx.cs b/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx.cs index 3ddcc399..98b36f6e 100644 --- a/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx.cs +++ b/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx.cs @@ -31,6 +31,16 @@ namespace FineUIPro.Web.CLGL } } + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + /// /// 获取全部 /// diff --git a/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx.designer.cs index fffcb99b..45d8a3eb 100644 --- a/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CLGL/MTODetail.aspx.designer.cs @@ -57,6 +57,15 @@ namespace FineUIPro.Web.CLGL { /// protected global::FineUIPro.Toolbar Toolbar2; + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + /// /// btnGetAll 控件。 /// diff --git a/SGGL/FineUIPro.Web/CLGL/Material.aspx b/SGGL/FineUIPro.Web/CLGL/Material.aspx index 19477c31..66e0582a 100644 --- a/SGGL/FineUIPro.Web/CLGL/Material.aspx +++ b/SGGL/FineUIPro.Web/CLGL/Material.aspx @@ -27,6 +27,8 @@ + + diff --git a/SGGL/FineUIPro.Web/CLGL/Material.aspx.cs b/SGGL/FineUIPro.Web/CLGL/Material.aspx.cs index 0c65d308..fd0bb592 100644 --- a/SGGL/FineUIPro.Web/CLGL/Material.aspx.cs +++ b/SGGL/FineUIPro.Web/CLGL/Material.aspx.cs @@ -31,6 +31,16 @@ namespace FineUIPro.Web.CLGL } } + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + /// /// 获取全部 /// diff --git a/SGGL/FineUIPro.Web/CLGL/Material.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/Material.aspx.designer.cs index 9b6d328f..50e93c90 100644 --- a/SGGL/FineUIPro.Web/CLGL/Material.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CLGL/Material.aspx.designer.cs @@ -57,6 +57,15 @@ namespace FineUIPro.Web.CLGL { /// protected global::FineUIPro.Toolbar Toolbar2; + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + /// /// btnGetAll 控件。 /// diff --git a/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx b/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx index d0dcbf50..123b7f27 100644 --- a/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx +++ b/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx @@ -27,6 +27,8 @@ + + diff --git a/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx.cs b/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx.cs index 5bcd8cb9..ecae1027 100644 --- a/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx.cs +++ b/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx.cs @@ -27,6 +27,16 @@ namespace FineUIPro.Web.CLGL } } + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + /// /// 获取 /// diff --git a/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx.designer.cs index 8eb54d85..b8592331 100644 --- a/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CLGL/MaterialRecord.aspx.designer.cs @@ -57,6 +57,15 @@ namespace FineUIPro.Web.CLGL { /// protected global::FineUIPro.Toolbar Toolbar2; + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineMaterialCodeList.aspx b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialCodeList.aspx new file mode 100644 index 00000000..2facf3e2 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialCodeList.aspx @@ -0,0 +1,128 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PipelineMaterialCodeList.aspx.cs" Inherits="FineUIPro.Web.CLGL.PipelineMaterialCodeList" %> + + + + + +合同清单一览表 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineMaterialCodeList.aspx.cs b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialCodeList.aspx.cs new file mode 100644 index 00000000..dba49b84 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialCodeList.aspx.cs @@ -0,0 +1,118 @@ +using BLL; +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; + +namespace FineUIPro.Web.CLGL +{ + public partial class PipelineMaterialCodeList : PageBase + { + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + if (this.CurrUser.UserId == BLL.Const.hfnbdId) + { + this.btnGetAll.Hidden = false; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 绑定表格 + this.BindGrid(); + } + } + + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + + /// + /// 获取全部 + /// + /// + /// + protected void btnGetAll_Click(object sender, EventArgs e) + { + BLL.MCSWebService.GetCLData(null, null); + this.BindGrid(); + } + + /// + /// 获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + BLL.MCSWebService.getPipelineMaterialCodeListInfo(BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId)); + this.BindGrid(); + } + + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"select * + from dbo.CLGL_PipelineMaterialCodeList c + where c.ProjectId=@ProjectId order by c.C1 desc"; + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId))); + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + + #region 分页 + /// + /// 分页 + /// + /// + /// + 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 Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineMaterialCodeList.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialCodeList.aspx.designer.cs new file mode 100644 index 00000000..fa1588c8 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialCodeList.aspx.designer.cs @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CLGL { + + + public partial class PipelineMaterialCodeList { + + /// + /// 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; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + + /// + /// btnGetAll 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGetAll; + + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + } +} diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineMaterialList.aspx b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialList.aspx new file mode 100644 index 00000000..08a93a87 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialList.aspx @@ -0,0 +1,170 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PipelineMaterialList.aspx.cs" Inherits="FineUIPro.Web.CLGL.PipelineMaterialList" %> + + + + + +合同清单一览表 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineMaterialList.aspx.cs b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialList.aspx.cs new file mode 100644 index 00000000..31890a23 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialList.aspx.cs @@ -0,0 +1,118 @@ +using BLL; +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; + +namespace FineUIPro.Web.CLGL +{ + public partial class PipelineMaterialList : PageBase + { + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + if (this.CurrUser.UserId == BLL.Const.hfnbdId) + { + this.btnGetAll.Hidden = false; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 绑定表格 + this.BindGrid(); + } + } + + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + + /// + /// 获取全部 + /// + /// + /// + protected void btnGetAll_Click(object sender, EventArgs e) + { + BLL.MCSWebService.GetCLData(null, null); + this.BindGrid(); + } + + /// + /// 获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + BLL.MCSWebService.getPipelineMaterialListInfo(BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId)); + this.BindGrid(); + } + + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"select * + from dbo.CLGL_PipelineMaterialList c + where c.ProjectId=@ProjectId order by c.C28 desc"; + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId))); + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + + #region 分页 + /// + /// 分页 + /// + /// + /// + 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 Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineMaterialList.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialList.aspx.designer.cs new file mode 100644 index 00000000..951f1646 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialList.aspx.designer.cs @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CLGL { + + + public partial class PipelineMaterialList { + + /// + /// 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; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + + /// + /// btnGetAll 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGetAll; + + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + } +} diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineMaterialSumList.aspx b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialSumList.aspx new file mode 100644 index 00000000..20a9c117 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialSumList.aspx @@ -0,0 +1,118 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PipelineMaterialSumList.aspx.cs" Inherits="FineUIPro.Web.CLGL.PipelineMaterialSumList" %> + + + + + +合同清单一览表 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineMaterialSumList.aspx.cs b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialSumList.aspx.cs new file mode 100644 index 00000000..5ea4246b --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialSumList.aspx.cs @@ -0,0 +1,136 @@ +using BLL; +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; + +namespace FineUIPro.Web.CLGL +{ + public partial class PipelineMaterialSumList : PageBase + { + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + if (this.CurrUser.UserId == BLL.Const.hfnbdId) + { + this.btnGetAll.Hidden = false; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 绑定表格 + this.BindGrid(); + } + } + + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + + /// + /// 获取全部 + /// + /// + /// + protected void btnGetAll_Click(object sender, EventArgs e) + { + BLL.MCSWebService.GetCLData(null, null); + this.BindGrid(); + } + + /// + /// 获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + BLL.MCSWebService.getPipelineMaterialSumListInfo(BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId)); + this.BindGrid(); + } + + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"select * + from dbo.CLGL_PipelineMaterialSumList c + where c.ProjectId=@ProjectId and c.Type=@Type order by c.C1 desc"; + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId))); + listStr.Add(new SqlParameter("@Type", rblType.SelectedValue)); + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + if (rblType.SelectedValue == "M") + { + this.Grid1.Columns[1].Hidden = true; + this.Grid1.Columns[2].Hidden = true; + this.Grid1.Columns[3].Hidden = true; + } + else + { + this.Grid1.Columns[1].Hidden = false; + this.Grid1.Columns[2].Hidden = false; + this.Grid1.Columns[3].Hidden = false; + } + } + + #region 分页 + /// + /// 分页 + /// + /// + /// + 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 Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + #endregion + + protected void rblType_SelectedIndexChanged(object sender, EventArgs e) + { + BindGrid(); + } + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineMaterialSumList.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialSumList.aspx.designer.cs new file mode 100644 index 00000000..8cbaff52 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineMaterialSumList.aspx.designer.cs @@ -0,0 +1,123 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CLGL { + + + public partial class PipelineMaterialSumList { + + /// + /// 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; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// rblType 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.RadioButtonList rblType; + + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + + /// + /// btnGetAll 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGetAll; + + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + } +} diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineSupplierList.aspx b/SGGL/FineUIPro.Web/CLGL/PipelineSupplierList.aspx new file mode 100644 index 00000000..f603f819 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineSupplierList.aspx @@ -0,0 +1,89 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PipelineSupplierList.aspx.cs" Inherits="FineUIPro.Web.CLGL.PipelineSupplierList" %> + + + + + +合同清单一览表 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineSupplierList.aspx.cs b/SGGL/FineUIPro.Web/CLGL/PipelineSupplierList.aspx.cs new file mode 100644 index 00000000..19085ff4 --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineSupplierList.aspx.cs @@ -0,0 +1,118 @@ +using BLL; +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; + +namespace FineUIPro.Web.CLGL +{ + public partial class PipelineSupplierList : PageBase + { + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + if (this.CurrUser.UserId == BLL.Const.hfnbdId) + { + this.btnGetAll.Hidden = false; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 绑定表格 + this.BindGrid(); + } + } + + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + + /// + /// 获取全部 + /// + /// + /// + protected void btnGetAll_Click(object sender, EventArgs e) + { + BLL.MCSWebService.GetCLData(null, null); + this.BindGrid(); + } + + /// + /// 获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + BLL.MCSWebService.getPipelineSupplierListInfo(BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId)); + this.BindGrid(); + } + + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"select * + from dbo.CLGL_PipelineSupplierList c + where c.ProjectId=@ProjectId order by c.C4 desc"; + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId))); + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + + #region 分页 + /// + /// 分页 + /// + /// + /// + 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 Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CLGL/PipelineSupplierList.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/PipelineSupplierList.aspx.designer.cs new file mode 100644 index 00000000..4a922bea --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/PipelineSupplierList.aspx.designer.cs @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CLGL { + + + public partial class PipelineSupplierList { + + /// + /// 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; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + + /// + /// btnGetAll 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGetAll; + + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + } +} diff --git a/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx b/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx index 233ef0b9..46a339d1 100644 --- a/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx +++ b/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx @@ -27,6 +27,8 @@ + + diff --git a/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx.cs b/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx.cs index e16330ab..5dcb35f8 100644 --- a/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx.cs +++ b/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx.cs @@ -27,6 +27,16 @@ namespace FineUIPro.Web.CLGL } } + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + /// /// 获取 /// diff --git a/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx.designer.cs index 08194f60..f67a9605 100644 --- a/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CLGL/PurchaseRequisition.aspx.designer.cs @@ -57,6 +57,15 @@ namespace FineUIPro.Web.CLGL { /// protected global::FineUIPro.Toolbar Toolbar2; + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/CLGL/RequestDetailList.aspx b/SGGL/FineUIPro.Web/CLGL/RequestDetailList.aspx new file mode 100644 index 00000000..7f60ee5b --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/RequestDetailList.aspx @@ -0,0 +1,164 @@ +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RequestDetailList.aspx.cs" Inherits="FineUIPro.Web.CLGL.RequestDetailList" %> + + + + + +合同清单一览表 + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SGGL/FineUIPro.Web/CLGL/RequestDetailList.aspx.cs b/SGGL/FineUIPro.Web/CLGL/RequestDetailList.aspx.cs new file mode 100644 index 00000000..58f9bccc --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/RequestDetailList.aspx.cs @@ -0,0 +1,118 @@ +using BLL; +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; + +namespace FineUIPro.Web.CLGL +{ + public partial class RequestDetailList : PageBase + { + /// + /// 加载页面 + /// + /// + /// + protected void Page_Load(object sender, EventArgs e) + { + if (!IsPostBack) + { + if (this.CurrUser.UserId == BLL.Const.hfnbdId) + { + this.btnGetAll.Hidden = false; + } + this.ddlPageSize.SelectedValue = Grid1.PageSize.ToString(); + // 绑定表格 + this.BindGrid(); + } + } + + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + + /// + /// 获取全部 + /// + /// + /// + protected void btnGetAll_Click(object sender, EventArgs e) + { + BLL.MCSWebService.GetCLData(null, null); + this.BindGrid(); + } + + /// + /// 获取 + /// + /// + /// + protected void btnGet_Click(object sender, EventArgs e) + { + BLL.MCSWebService.getRequestDetailListInfo(BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId)); + this.BindGrid(); + } + + /// + /// 绑定数据 + /// + private void BindGrid() + { + string strSql = @"select * + from dbo.CLGL_RequestDetailList c + where c.ProjectId=@ProjectId order by c.C1 desc"; + List listStr = new List(); + listStr.Add(new SqlParameter("@ProjectId", BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId))); + SqlParameter[] parameter = listStr.ToArray(); + DataTable tb = SQLHelper.GetDataTableRunText(strSql, parameter); + Grid1.RecordCount = tb.Rows.Count; + //tb = GetFilteredTable(Grid1.FilteredData, tb); + var table = this.GetPagedDataTable(Grid1, tb); + Grid1.DataSource = table; + Grid1.DataBind(); + } + + #region 分页 + /// + /// 分页 + /// + /// + /// + 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 Grid1_Sort(object sender, FineUIPro.GridSortEventArgs e) + { + BindGrid(); + } + #endregion + } +} \ No newline at end of file diff --git a/SGGL/FineUIPro.Web/CLGL/RequestDetailList.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/RequestDetailList.aspx.designer.cs new file mode 100644 index 00000000..0b8d878d --- /dev/null +++ b/SGGL/FineUIPro.Web/CLGL/RequestDetailList.aspx.designer.cs @@ -0,0 +1,114 @@ +//------------------------------------------------------------------------------ +// <自动生成> +// 此代码由工具生成。 +// +// 对此文件的更改可能导致不正确的行为,如果 +// 重新生成代码,则所做更改将丢失。 +// +//------------------------------------------------------------------------------ + +namespace FineUIPro.Web.CLGL { + + + public partial class RequestDetailList { + + /// + /// 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; + + /// + /// Toolbar2 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Toolbar Toolbar2; + + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + + /// + /// btnGetAll 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGetAll; + + /// + /// btnGet 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnGet; + + /// + /// ToolbarSeparator1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarSeparator ToolbarSeparator1; + + /// + /// ToolbarText1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.ToolbarText ToolbarText1; + + /// + /// ddlPageSize 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.DropDownList ddlPageSize; + } +} diff --git a/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx b/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx index 1e6b7f9e..a1bfa1e0 100644 --- a/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx +++ b/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx @@ -27,6 +27,8 @@ + + diff --git a/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx.cs b/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx.cs index b795805d..6e27ebb2 100644 --- a/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx.cs +++ b/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx.cs @@ -27,6 +27,16 @@ namespace FineUIPro.Web.CLGL } } + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + /// /// 获取 /// diff --git a/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx.designer.cs index 2bd13125..7ae54b5a 100644 --- a/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CLGL/SubUnit.aspx.designer.cs @@ -57,6 +57,15 @@ namespace FineUIPro.Web.CLGL { /// protected global::FineUIPro.Toolbar Toolbar2; + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/CLGL/Supplier.aspx b/SGGL/FineUIPro.Web/CLGL/Supplier.aspx index d4928df7..ab4cafa8 100644 --- a/SGGL/FineUIPro.Web/CLGL/Supplier.aspx +++ b/SGGL/FineUIPro.Web/CLGL/Supplier.aspx @@ -27,6 +27,8 @@ + + diff --git a/SGGL/FineUIPro.Web/CLGL/Supplier.aspx.cs b/SGGL/FineUIPro.Web/CLGL/Supplier.aspx.cs index 5c539f9e..ecfe4e3d 100644 --- a/SGGL/FineUIPro.Web/CLGL/Supplier.aspx.cs +++ b/SGGL/FineUIPro.Web/CLGL/Supplier.aspx.cs @@ -28,6 +28,16 @@ namespace FineUIPro.Web.CLGL } } + /// + /// 进入软件 + /// + /// + /// + protected void btnUrl_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('https://mat.cwcec.com');")); + } + /// /// 获取 /// diff --git a/SGGL/FineUIPro.Web/CLGL/Supplier.aspx.designer.cs b/SGGL/FineUIPro.Web/CLGL/Supplier.aspx.designer.cs index 0ff1f1f7..cf64a394 100644 --- a/SGGL/FineUIPro.Web/CLGL/Supplier.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/CLGL/Supplier.aspx.designer.cs @@ -57,6 +57,15 @@ namespace FineUIPro.Web.CLGL { /// protected global::FineUIPro.Toolbar Toolbar2; + /// + /// btnUrl 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrl; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/ErrLog.txt b/SGGL/FineUIPro.Web/ErrLog.txt index e69de29b..6055eb97 100644 --- a/SGGL/FineUIPro.Web/ErrLog.txt +++ b/SGGL/FineUIPro.Web/ErrLog.txt @@ -0,0 +1,164 @@ + +错误信息开始=====> +错误类型:ChangeConflictException +错误信息:2 的 1 更新失败。 +错误堆栈: + 在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) + 在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) + 在 System.Data.Linq.DataContext.SubmitChanges() + 在 BLL.ProjectUserService.UpdateProjectUser(Project_ProjectUser projectUser) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\ProjectData\ProjectUserService.cs:行号 88 + 在 FineUIPro.Web.ProjectData.ProjectUserSave.btnSave_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\ProjectData\ProjectUserSave.aspx.cs:行号 161 + 在 FineUIPro.Button.OnClick(EventArgs e) + 在 (Button , EventArgs ) + 在 FineUIPro.Button.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:09/06/2022 14:58:34 +出错文件:http://localhost:8118/ProjectData/ProjectUserSave.aspx?ProjectUserId=405e98a7-b6a0-4cb2-b5e7-b5fdc6c71cb0 +IP地址:::1 +操作人员:JT + +出错时间:09/06/2022 14:58:34 + + +错误信息开始=====> +错误类型:SqlException +错误信息:参数化查询 '(@ProjectId nvarchar(4000))select * + ' 需要参数 '@ProjectId',但未提供该参数。 +错误堆栈: + 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) + 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) + 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() + 在 System.Data.SqlClient.SqlDataReader.get_MetaData() + 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) + 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) + 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) + 在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311 + 在 FineUIPro.Web.JDGL.Check.ProgressCompletion.BindGrid() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\Check\ProgressCompletion.aspx.cs:行号 69 + 在 FineUIPro.Web.JDGL.Check.ProgressCompletion.Page_Load(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\Check\ProgressCompletion.aspx.cs:行号 22 + 在 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) +出错时间:09/08/2022 10:46:32 +出错文件:http://localhost:8118/JDGL/Check/ProgressCompletion.aspx +IP地址:::1 +操作人员:JT + +出错时间:09/08/2022 10:46:32 + + +错误信息开始=====> +错误类型:ChangeConflictException +错误信息:找不到行或行已更改。 +错误堆栈: + 在 System.Data.Linq.ChangeProcessor.SubmitChanges(ConflictMode failureMode) + 在 System.Data.Linq.DataContext.SubmitChanges(ConflictMode failureMode) + 在 System.Data.Linq.DataContext.SubmitChanges() + 在 BLL.ProgressCompletionService.AddProgressCompletion(JDGL_ProgressCompletion progressCompletion) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\JDGL\Check\ProgressCompletionService.cs:行号 54 + 在 FineUIPro.Web.JDGL.Check.ProgressCompletionEdit.SaveData(Boolean bl) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\Check\ProgressCompletionEdit.aspx.cs:行号 112 + 在 FineUIPro.Web.JDGL.Check.ProgressCompletionEdit.btnSave_Click(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\JDGL\Check\ProgressCompletionEdit.aspx.cs:行号 87 + 在 FineUIPro.Button.OnClick(EventArgs e) + 在 (Button , EventArgs ) + 在 FineUIPro.Button.RaisePostBackEvent(String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) + 在 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:09/08/2022 10:47:31 +出错文件:http://localhost:8118/JDGL/Check/ProgressCompletionEdit.aspx +IP地址:::1 +操作人员:JT + +出错时间:09/08/2022 10:47:31 + + +错误信息开始=====> +错误类型:InvalidCastException +错误信息:对象不能从 DBNull 转换为其他类型。 +错误堆栈: + 在 System.DBNull.System.IConvertible.ToDouble(IFormatProvider provider) + 在 System.Convert.ToDouble(Object value) + 在 FineUIPro.Web.mainMenu_JDGL.get_Two() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\common\mainMenu_JDGL.aspx.cs:行号 131 + 在 ASP.common_mainmenu_jdgl_aspx.__Render__control1(HtmlTextWriter __w, Control parameterContainer) 位置 e:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\common\mainMenu_JDGL.aspx:行号 308 + 在 System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) + 在 System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) + 在 System.Web.UI.Page.Render(HtmlTextWriter writer) + 在 System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) + 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) + 在 System.Web.UI.Control.RenderControl(HtmlTextWriter writer) + 在 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +出错时间:09/08/2022 11:21:49 +出错文件:http://localhost:8118/common/mainMenu_JDGL.aspx +IP地址:::1 +操作人员:JT + +出错时间:09/08/2022 11:21:49 + + +错误信息开始=====> +错误类型:SqlException +错误信息:对象名 'dbo.CLGL_List' 无效。 +错误堆栈: + 在 System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + 在 System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) + 在 System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) + 在 System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady) + 在 System.Data.SqlClient.SqlDataReader.TryConsumeMetaData() + 在 System.Data.SqlClient.SqlDataReader.get_MetaData() + 在 System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry) + 在 System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method) + 在 System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method) + 在 System.Data.SqlClient.SqlCommand.ExecuteDbDataReader(CommandBehavior behavior) + 在 System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.FillInternal(DataSet dataset, DataTable[] datatables, Int32 startRecord, Int32 maxRecords, String srcTable, IDbCommand command, CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.Fill(DataTable[] dataTables, Int32 startRecord, Int32 maxRecords, IDbCommand command, CommandBehavior behavior) + 在 System.Data.Common.DbDataAdapter.Fill(DataTable dataTable) + 在 BLL.SQLHelper.GetDataTableRunText(String strSql, SqlParameter[] parameters) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\BLL\SQLHelper.cs:行号 311 + 在 FineUIPro.Web.CLGL.ContractList.BindGrid() 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\CLGL\ContractList.aspx.cs:行号 77 + 在 FineUIPro.Web.CLGL.ContractList.Page_Load(Object sender, EventArgs e) 位置 E:\工作\五环施工平台\SGGL_CWCEC\SGGL\FineUIPro.Web\CLGL\ContractList.aspx.cs:行号 30 + 在 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) +出错时间:09/11/2022 13:53:11 +出错文件:http://localhost:8118/CLGL/ContractList.aspx +IP地址:::1 +操作人员:JT + +出错时间:09/11/2022 13:53:11 + + +错误信息开始=====> +错误类型:HttpException +错误信息:文件“/CLGL/PipelineMaterialCodeList.aspx”不存在。 +错误堆栈: + 在 System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate) + 在 System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound) + 在 System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp) + 在 System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath) + 在 System.Web.UI.PageHandlerFactory.GetHandler(HttpContext context, String requestType, String virtualPath, String path) + 在 System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() + 在 System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) + 在 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +出错时间:09/11/2022 15:20:32 +出错文件:http://localhost:8118/CLGL/PipelineMaterialCodeList.aspx +IP地址:::1 + +出错时间:09/11/2022 15:20:32 + diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index 7707181d..ed087b9d 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -246,12 +246,21 @@ + + + + + + + + + @@ -6004,6 +6013,34 @@ BoUnit.aspx + + ArrivalDetailList.aspx + ASPXCodeBehind + + + ArrivalDetailList.aspx + + + CheckOutDetailList.aspx + ASPXCodeBehind + + + CheckOutDetailList.aspx + + + ContractList.aspx + ASPXCodeBehind + + + ContractList.aspx + + + ContractListSum.aspx + ASPXCodeBehind + + + ContractListSum.aspx + ContractQuantitySheet.aspx ASPXCodeBehind @@ -6039,6 +6076,34 @@ MTODetail.aspx + + PipelineMaterialCodeList.aspx + ASPXCodeBehind + + + PipelineMaterialCodeList.aspx + + + PipelineMaterialList.aspx + ASPXCodeBehind + + + PipelineMaterialList.aspx + + + PipelineMaterialSumList.aspx + ASPXCodeBehind + + + PipelineMaterialSumList.aspx + + + PipelineSupplierList.aspx + ASPXCodeBehind + + + PipelineSupplierList.aspx + PurchaseRequisition.aspx ASPXCodeBehind @@ -6046,6 +6111,13 @@ PurchaseRequisition.aspx + + RequestDetailList.aspx + ASPXCodeBehind + + + RequestDetailList.aspx + SubUnit.aspx ASPXCodeBehind diff --git a/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx b/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx index d6ee093c..c1125d16 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx +++ b/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx @@ -33,6 +33,10 @@ + + + + diff --git a/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx.cs b/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx.cs index cf6d3ca8..062b0c37 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx.cs @@ -78,6 +78,26 @@ namespace FineUIPro.Web.HJGL.FL this.BindGrid(); } + /// + /// 内网进入软件 + /// + /// + /// + protected void btnUrlN_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://192.168.30.40:8102/pcms/');")); + } + + /// + /// 外网进入软件 + /// + /// + /// + protected void btnUrlW_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://221.232.143.174:8102/pcms');")); + } + /// /// 绑定数据 /// diff --git a/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx.designer.cs b/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx.designer.cs index 339cb2df..db20ddad 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/NdtList.aspx.designer.cs @@ -66,6 +66,24 @@ namespace FineUIPro.Web.HJGL.FL { /// protected global::FineUIPro.ToolbarFill ToolbarFill1; + /// + /// btnUrlN 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlN; + + /// + /// btnUrlW 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlW; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx b/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx index e562e19f..d6213ef2 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx +++ b/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx @@ -11,7 +11,7 @@ word-break: break-all; } - .f-grid-colheader-text { + .f-grid-colheader-text { white-space: normal; word-break: break-all; } @@ -23,17 +23,21 @@ - - + PageSize="10" OnPageIndexChange="Grid1_PageIndexChange" EnableTextSelection="True"> + - - + + + + + + @@ -41,25 +45,25 @@ - - - - - + FieldType="String" HeaderText="一次合格数量" HeaderTextAlign="Center" TextAlign="Left"> - - @@ -78,7 +82,7 @@ + OnSelectedIndexChanged="ddlPageSize_SelectedIndexChanged"> @@ -93,6 +97,14 @@ function reloadGrid() { __doPostBack(null, 'reloadGrid'); } + + function renderGender(value) { + var returnValue = null; + if (value != null) { + returnValue = (value * 1).toFixed(2).toString() + "%"; + } + return returnValue; + } diff --git a/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx.cs b/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx.cs index 28ec8a21..f60914ce 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx.cs @@ -28,6 +28,26 @@ namespace FineUIPro.Web.HJGL.FL } } + /// + /// 内网进入软件 + /// + /// + /// + protected void btnUrlN_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://192.168.30.40:8102/pcms/');")); + } + + /// + /// 外网进入软件 + /// + /// + /// + protected void btnUrlW_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://221.232.143.174:8102/pcms');")); + } + /// /// 获取 /// @@ -102,7 +122,10 @@ namespace FineUIPro.Web.HJGL.FL /// private void BindGrid() { - string strSql = @"select * + string strSql = @"select OneOKRateId,DeviceName,DeviceCode,ZoneCode,UnitName,cast(TestWeldAmount as int) as TestWeldAmount,cast(OnceQualifiedQuantity as int) as OnceQualifiedQuantity, + cast(REPLACE(OneOKRate,'%','') as DECIMAL(9,2)) as OneOKRate, + cast(OneTimeFilmAmount as int) as OneTimeFilmAmount,cast(OneTimeFilmQualifiedAmount as int) as OneTimeFilmQualifiedAmount, + cast(REPLACE(OneOKFilmRate,'%','') as DECIMAL(9,2)) as OneOKFilmRate from dbo.HJGL_FL_OneOKRate c where c.ProjectId=@ProjectId order by c.DeviceName,DeviceCode,ZoneCode"; List listStr = new List(); diff --git a/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx.designer.cs b/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx.designer.cs index 82c23fd8..7f7f00fd 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/OneOKRate.aspx.designer.cs @@ -66,6 +66,24 @@ namespace FineUIPro.Web.HJGL.FL { /// protected global::FineUIPro.ToolbarFill ToolbarFill1; + /// + /// btnUrlN 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlN; + + /// + /// btnUrlW 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlW; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx b/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx index 851a7c62..6deb48d8 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx +++ b/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx @@ -33,6 +33,10 @@ + + + + diff --git a/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx.cs b/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx.cs index 63da4906..3fdd7b10 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx.cs @@ -28,6 +28,26 @@ namespace FineUIPro.Web.HJGL.FL } } + /// + /// 内网进入软件 + /// + /// + /// + protected void btnUrlN_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://192.168.30.40:8102/pcms/');")); + } + + /// + /// 外网进入软件 + /// + /// + /// + protected void btnUrlW_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://221.232.143.174:8102/pcms');")); + } + /// /// 获取 /// diff --git a/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx.designer.cs b/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx.designer.cs index bb543890..58647148 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/PressurePackageList.aspx.designer.cs @@ -66,6 +66,24 @@ namespace FineUIPro.Web.HJGL.FL { /// protected global::FineUIPro.ToolbarFill ToolbarFill1; + /// + /// btnUrlN 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlN; + + /// + /// btnUrlW 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlW; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx b/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx index 60870228..de451dd5 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx +++ b/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx @@ -39,6 +39,10 @@ + + + + diff --git a/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx.cs b/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx.cs index 97783f91..b06c054a 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx.cs @@ -28,6 +28,26 @@ namespace FineUIPro.Web.HJGL.FL } } + /// + /// 内网进入软件 + /// + /// + /// + protected void btnUrlN_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://192.168.30.40:8102/pcms/');")); + } + + /// + /// 外网进入软件 + /// + /// + /// + protected void btnUrlW_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://221.232.143.174:8102/pcms');")); + } + /// /// 获取 /// diff --git a/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx.designer.cs b/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx.designer.cs index 61cec331..a59122fd 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/Quantity.aspx.designer.cs @@ -84,6 +84,24 @@ namespace FineUIPro.Web.HJGL.FL { /// protected global::FineUIPro.ToolbarFill ToolbarFill1; + /// + /// btnUrlN 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlN; + + /// + /// btnUrlW 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlW; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx b/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx index 95bbe228..2603bf8d 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx +++ b/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx @@ -33,6 +33,10 @@ + + + + diff --git a/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx.cs b/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx.cs index 43d37b19..4e1bf4f7 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx.cs @@ -28,6 +28,26 @@ namespace FineUIPro.Web.HJGL.FL } } + /// + /// 内网进入软件 + /// + /// + /// + protected void btnUrlN_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://192.168.30.40:8102/pcms/');")); + } + + /// + /// 外网进入软件 + /// + /// + /// + protected void btnUrlW_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://221.232.143.174:8102/pcms');")); + } + /// /// 获取 /// diff --git a/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx.designer.cs b/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx.designer.cs index 38c02b19..60113576 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/TailItemList.aspx.designer.cs @@ -66,6 +66,24 @@ namespace FineUIPro.Web.HJGL.FL { /// protected global::FineUIPro.ToolbarFill ToolbarFill1; + /// + /// btnUrlN 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlN; + + /// + /// btnUrlW 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlW; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx b/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx index c2a8a91c..3169c819 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx +++ b/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx @@ -31,6 +31,10 @@ + + + + @@ -54,6 +58,9 @@ + + @@ -76,6 +83,14 @@ function reloadGrid() { __doPostBack(null, 'reloadGrid'); } + + function renderGender(value) { + var returnValue = null; + if (value != null) { + returnValue = (value * 1).toFixed(2).toString() + "%"; + } + return returnValue; + } diff --git a/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx.cs b/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx.cs index 561e4309..50ef47cb 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx.cs @@ -28,6 +28,26 @@ namespace FineUIPro.Web.HJGL.FL } } + /// + /// 内网进入软件 + /// + /// + /// + protected void btnUrlN_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://192.168.30.40:8102/pcms/');")); + } + + /// + /// 外网进入软件 + /// + /// + /// + protected void btnUrlW_Click(object sender, EventArgs e) + { + PageContext.RegisterStartupScript(String.Format("window.open('http://221.232.143.174:8102/pcms');")); + } + /// /// 获取 /// @@ -78,7 +98,9 @@ namespace FineUIPro.Web.HJGL.FL /// private void BindGrid() { - string strSql = @"select * + string strSql = @"select TotalQuantityId,ProjectId,DeviceName,DeviceCode,Unit,(case when c.TotalWeldQuantity='0' or c.TotalWeldQuantity='' then 0 else cast(c.TotalWeldQuantity as DECIMAL(9,2)) end) as TotalWeldQuantity, + (case when c.TotalCompleted='0' or c.TotalCompleted='' then 0 else cast(c.TotalCompleted as DECIMAL(9,2)) end) as TotalCompleted, + cast((case when c.TotalWeldQuantity='0' or c.TotalWeldQuantity='' then 0 when c.TotalCompleted='0' or c.TotalCompleted='' then 0 else 100.0 * cast(c.TotalCompleted as DECIMAL(9,2))/(1.0 * cast(c.TotalWeldQuantity as DECIMAL(9,2))) end) AS DECIMAL(9,2)) as Rate from dbo.HJGL_FL_TotalQuantity c where c.ProjectId=@ProjectId order by c.DeviceName,DeviceCode "; List listStr = new List(); diff --git a/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx.designer.cs b/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx.designer.cs index 05d11319..a03d0704 100644 --- a/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/HJGL/FL/TotalQuantity.aspx.designer.cs @@ -57,6 +57,24 @@ namespace FineUIPro.Web.HJGL.FL { /// protected global::FineUIPro.Toolbar Toolbar2; + /// + /// btnUrlN 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlN; + + /// + /// btnUrlW 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::FineUIPro.Button btnUrlW; + /// /// btnGet 控件。 /// diff --git a/SGGL/FineUIPro.Web/common/mainIII.aspx b/SGGL/FineUIPro.Web/common/mainIII.aspx index c1ef8872..1b4148ee 100644 --- a/SGGL/FineUIPro.Web/common/mainIII.aspx +++ b/SGGL/FineUIPro.Web/common/mainIII.aspx @@ -429,9 +429,7 @@
 
-
材料到货情况
-
-
材料出库情况
+
管道材料汇总表
管道焊接工程量
@@ -939,19 +937,17 @@ else if (value == 2) { if (index == 0) { $('#divGZL').html($('#hdContractQuantitySheets')[0].value); - } else if (index == 2) { - $('#divGZL').html($('#hdMaterialRecords')[0].value); - } else if (index == 4) { + } else if (index == 2) { $('#divGZL').html($('#hdTotalQuantity')[0].value); - } else if (index == 6) { + } else if (index == 4) { $('#divGZL').html($('#hdQuantity')[0].value); - } else if (index == 8) { + } else if (index == 6) { $('#divGZL').html($('#hdOneOKRate')[0].value); - } else if (index == 10) { + } else if (index == 8) { $('#divGZL').html($('#hdPressurePackageList')[0].value); - } else if (index == 12) { + } else if (index == 10) { $('#divGZL').html($('#hdNdtList')[0].value); - } else if (index == 14) { + } else if (index == 12) { $('#divGZL').html($('#hdTailItemList')[0].value); } } diff --git a/SGGL/FineUIPro.Web/common/mainIII.aspx.cs b/SGGL/FineUIPro.Web/common/mainIII.aspx.cs index 4f4e214f..7aada28c 100644 --- a/SGGL/FineUIPro.Web/common/mainIII.aspx.cs +++ b/SGGL/FineUIPro.Web/common/mainIII.aspx.cs @@ -73,77 +73,86 @@ namespace FineUIPro.Web.common //签证 var siteVisas = from x in db.Comprehensive_SiteVisaManagement where x.ProjectId == this.CurrUser.LoginProjectId && cns.Contains(x.CNProfessionalId) select x; this.divQZ.InnerHtml = siteVisas.Count().ToString(); - //材料到货情况 + //管道材料汇总表 string contractQuantitySheetsStr = string.Empty; long projectId = BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId); - var contractQuantitySheets = from x in Funs.DB.CLGL_ContractQuantitySheet where x.ProjectId == projectId.ToString() && cnNames.Contains(x.Major) select x; + var contractQuantitySheets = from x in Funs.DB.CLGL_PipelineMaterialSumList where x.ProjectId == projectId.ToString() && x.Type == "M" select x; if (contractQuantitySheets.Count() > 0) { - contractQuantitySheetsStr = "
序号
材料用途
合同号
专业
材料编码
位号
采购量
装置号
主项号
企业中文名称
备注
"; + contractQuantitySheetsStr = "
序号
材料类别
设计量
预制量
采购量
采购量百分比
已到货
已到货百分比
已领料
已领料百分比
采购量MTO
采购量百分比MTO
"; int i = 1; foreach (var item in contractQuantitySheets) { contractQuantitySheetsStr += "
" + i + "
" - + item.MaterialUse + "
" - + item.ContractCode + "
" - + item.Major + "
" - + item.MaterialCode + "
" - + item.TagNo + "
" - + item.BuyQuantity + "
" - + item.DeviceCode + "
" - + item.MainItemCode + "
" - + item.UnitName + "
" - + item.Remark + "
"; + + item.C1 + "
" + + item.C2 + "
" + + item.C3 + "
" + + item.C4 + "
" + + item.C5 + "
" + + item.C6 + "
" + + item.C7 + "
" + + item.C8 + "
" + + item.C9 + "
" + + item.C10 + "
" + + item.C11 + "
"; i++; } } this.divGZL.InnerHtml = contractQuantitySheetsStr; this.hdContractQuantitySheets.Value = contractQuantitySheetsStr; - //材料出库情况 - string materialRecordsStr = string.Empty; - var materialRecords = from x in db.CLGL_PickMaterialRecord where x.ProjectId == projectId.ToString() && cnNames.Contains(x.Major) select x; - if (materialRecords.Count() > 0) - { - materialRecordsStr = "
序号
领料单号
领料时间
领料单位
领料截止时间
专业
材料编码
位号
申领量
批准量
实发量
装置号
主项号
发料备注
"; - int i = 1; - foreach (var item in materialRecords) - { - materialRecordsStr += "
" - + i + "
" - + item.PickCode + "
" - + (item.PickDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.PickDate.Value) : "") + "
" - + item.PickUnit + "
" - + (item.PickLimitDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.PickLimitDate.Value) : "") + "
" - + item.Major + "
" - + item.MaterialCode + "
" - + item.TagNo + "
" - + item.ClaimQuantity + "
" - + item.ApproveQuantity + "
" - + item.ActualQuantity + "
" - + item.DeviceCode + "
" - + item.MainItemCode + "
" - + item.Remark + "
"; - i++; - } - } - this.hdMaterialRecords.Value = materialRecordsStr; + ////材料出库情况 + //string materialRecordsStr = string.Empty; + //var materialRecords = from x in db.CLGL_PickMaterialRecord where x.ProjectId == projectId.ToString() && cnNames.Contains(x.Major) select x; + //if (materialRecords.Count() > 0) + //{ + // materialRecordsStr = "
序号
领料单号
领料时间
领料单位
领料截止时间
专业
材料编码
位号
申领量
批准量
实发量
装置号
主项号
发料备注
"; + // int i = 1; + // foreach (var item in materialRecords) + // { + // materialRecordsStr += "
" + // + i + "
" + // + item.PickCode + "
" + // + (item.PickDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.PickDate.Value) : "") + "
" + // + item.PickUnit + "
" + // + (item.PickLimitDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.PickLimitDate.Value) : "") + "
" + // + item.Major + "
" + // + item.MaterialCode + "
" + // + item.TagNo + "
" + // + item.ClaimQuantity + "
" + // + item.ApproveQuantity + "
" + // + item.ActualQuantity + "
" + // + item.DeviceCode + "
" + // + item.MainItemCode + "
" + // + item.Remark + "
"; + // i++; + // } + //} + //this.hdMaterialRecords.Value = materialRecordsStr; //项目管道焊接工程量 string totalQuantityStr = string.Empty; var totalQuantitys = from x in db.HJGL_FL_TotalQuantity where x.ProjectId == this.CurrUser.LoginProjectId orderby x.DeviceName, x.DeviceCode select x; if (totalQuantitys.Count() > 0) { - totalQuantityStr = "
序号
装置名称
单元号
施工单位
焊接总量
已完成总量
"; + totalQuantityStr = "
序号
装置名称
单元号
施工单位
焊接总量
已完成总量
完成比例
"; int i = 1; foreach (var item in totalQuantitys) { + string rate = "0%"; + decimal totalWeldQuantity = Convert.ToDecimal(!string.IsNullOrEmpty(item.TotalWeldQuantity) ? item.TotalWeldQuantity : "0"); + decimal totalCompleted = Convert.ToDecimal(!string.IsNullOrEmpty(item.TotalCompleted) ? item.TotalCompleted : "0"); + if (totalWeldQuantity > 0 && totalCompleted > 0) + { + rate = Convert.ToDecimal(Math.Round(totalCompleted * 100 / totalWeldQuantity, 2)).ToString() + "%"; + } totalQuantityStr += "
" + i + "
" + item.DeviceName + "
" + item.DeviceCode + "
" + item.Unit + "
" + item.TotalWeldQuantity + "
" - + item.TotalCompleted + "
"; + + item.TotalCompleted + "
" + + rate + "
"; i++; } } diff --git a/SGGL/FineUIPro.Web/common/mainIV.aspx b/SGGL/FineUIPro.Web/common/mainIV.aspx index c5a362d1..f61b6fd8 100644 --- a/SGGL/FineUIPro.Web/common/mainIV.aspx +++ b/SGGL/FineUIPro.Web/common/mainIV.aspx @@ -1,4 +1,4 @@ -<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mainIII.aspx.cs" Inherits="FineUIPro.Web.common.mainIII" %> +<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="mainIV.aspx.cs" Inherits="FineUIPro.Web.common.mainIV" %> @@ -429,9 +429,7 @@
 
-
材料到货情况
-
-
材料出库情况
+
管道材料汇总表
管道焊接工程量
@@ -939,19 +937,17 @@ else if (value == 2) { if (index == 0) { $('#divGZL').html($('#hdContractQuantitySheets')[0].value); - } else if (index == 2) { - $('#divGZL').html($('#hdMaterialRecords')[0].value); - } else if (index == 4) { + } else if (index == 2) { $('#divGZL').html($('#hdTotalQuantity')[0].value); - } else if (index == 6) { + } else if (index == 4) { $('#divGZL').html($('#hdQuantity')[0].value); - } else if (index == 8) { + } else if (index == 6) { $('#divGZL').html($('#hdOneOKRate')[0].value); - } else if (index == 10) { + } else if (index == 8) { $('#divGZL').html($('#hdPressurePackageList')[0].value); - } else if (index == 12) { + } else if (index == 10) { $('#divGZL').html($('#hdNdtList')[0].value); - } else if (index == 14) { + } else if (index == 12) { $('#divGZL').html($('#hdTailItemList')[0].value); } } diff --git a/SGGL/FineUIPro.Web/common/mainIV.aspx.cs b/SGGL/FineUIPro.Web/common/mainIV.aspx.cs index d5e392c3..cd61532f 100644 --- a/SGGL/FineUIPro.Web/common/mainIV.aspx.cs +++ b/SGGL/FineUIPro.Web/common/mainIV.aspx.cs @@ -114,77 +114,86 @@ namespace FineUIPro.Web.common //签证 var siteVisas = from x in db.Comprehensive_SiteVisaManagement where x.ProjectId == this.CurrUser.LoginProjectId && cns.Contains(x.CNProfessionalId) && unitWorkIdList.Contains(x.UnitWorkId) select x; this.divQZ.InnerHtml = siteVisas.Count().ToString(); - //材料到货情况 + //管道材料汇总表 string contractQuantitySheetsStr = string.Empty; long projectId = BLL.ProjectService.GetCLProjectCodeByProjectId(this.CurrUser.LoginProjectId); - var contractQuantitySheets = from x in Funs.DB.CLGL_ContractQuantitySheet where x.ProjectId == projectId.ToString() && cnNames.Contains(x.Major) select x; + var contractQuantitySheets = from x in Funs.DB.CLGL_PipelineMaterialSumList where x.ProjectId == projectId.ToString() && x.Type == "M" select x; if (contractQuantitySheets.Count() > 0) { - contractQuantitySheetsStr = "
序号
材料用途
合同号
专业
材料编码
位号
采购量
装置号
主项号
企业中文名称
备注
"; + contractQuantitySheetsStr = "
序号
材料类别
设计量
预制量
采购量
采购量百分比
已到货
已到货百分比
已领料
已领料百分比
采购量MTO
采购量百分比MTO
"; int i = 1; foreach (var item in contractQuantitySheets) { contractQuantitySheetsStr += "
" + i + "
" - + item.MaterialUse + "
" - + item.ContractCode + "
" - + item.Major + "
" - + item.MaterialCode + "
" - + item.TagNo + "
" - + item.BuyQuantity + "
" - + item.DeviceCode + "
" - + item.MainItemCode + "
" - + item.UnitName + "
" - + item.Remark + "
"; + + item.C1 + "
" + + item.C2 + "
" + + item.C3 + "
" + + item.C4 + "
" + + item.C5 + "
" + + item.C6 + "
" + + item.C7 + "
" + + item.C8 + "
" + + item.C9 + "
" + + item.C10 + "
" + + item.C11 + "
"; i++; } } this.divGZL.InnerHtml = contractQuantitySheetsStr; this.hdContractQuantitySheets.Value = contractQuantitySheetsStr; - //材料出库情况 - string materialRecordsStr = string.Empty; - var materialRecords = from x in db.CLGL_PickMaterialRecord where x.ProjectId == projectId.ToString() && cnNames.Contains(x.Major) select x; - if (materialRecords.Count() > 0) - { - materialRecordsStr = "
序号
领料单号
领料时间
领料单位
领料截止时间
专业
材料编码
位号
申领量
批准量
实发量
装置号
主项号
发料备注
"; - int i = 1; - foreach (var item in materialRecords) - { - materialRecordsStr += "
" - + i + "
" - + item.PickCode + "
" - + (item.PickDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.PickDate.Value) : "") + "
" - + item.PickUnit + "
" - + (item.PickLimitDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.PickLimitDate.Value) : "") + "
" - + item.Major + "
" - + item.MaterialCode + "
" - + item.TagNo + "
" - + item.ClaimQuantity + "
" - + item.ApproveQuantity + "
" - + item.ActualQuantity + "
" - + item.DeviceCode + "
" - + item.MainItemCode + "
" - + item.Remark + "
"; - i++; - } - } - this.hdMaterialRecords.Value = materialRecordsStr; + ////材料出库情况 + //string materialRecordsStr = string.Empty; + //var materialRecords = from x in db.CLGL_PickMaterialRecord where x.ProjectId == projectId.ToString() && cnNames.Contains(x.Major) select x; + //if (materialRecords.Count() > 0) + //{ + // materialRecordsStr = "
序号
领料单号
领料时间
领料单位
领料截止时间
专业
材料编码
位号
申领量
批准量
实发量
装置号
主项号
发料备注
"; + // int i = 1; + // foreach (var item in materialRecords) + // { + // materialRecordsStr += "
" + // + i + "
" + // + item.PickCode + "
" + // + (item.PickDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.PickDate.Value) : "") + "
" + // + item.PickUnit + "
" + // + (item.PickLimitDate.HasValue ? string.Format("{0:yyyy-MM-dd}", item.PickLimitDate.Value) : "") + "
" + // + item.Major + "
" + // + item.MaterialCode + "
" + // + item.TagNo + "
" + // + item.ClaimQuantity + "
" + // + item.ApproveQuantity + "
" + // + item.ActualQuantity + "
" + // + item.DeviceCode + "
" + // + item.MainItemCode + "
" + // + item.Remark + "
"; + // i++; + // } + //} + //this.hdMaterialRecords.Value = materialRecordsStr; //项目管道焊接工程量 string totalQuantityStr = string.Empty; var totalQuantitys = from x in db.HJGL_FL_TotalQuantity where x.ProjectId == this.CurrUser.LoginProjectId orderby x.DeviceName, x.DeviceCode select x; if (totalQuantitys.Count() > 0) { - totalQuantityStr = "
序号
装置名称
单元号
施工单位
焊接总量
已完成总量
"; + totalQuantityStr = "
序号
装置名称
单元号
施工单位
焊接总量
已完成总量
完成比例
"; int i = 1; foreach (var item in totalQuantitys) { + string rate = "0%"; + decimal totalWeldQuantity = Convert.ToDecimal(!string.IsNullOrEmpty(item.TotalWeldQuantity) ? item.TotalWeldQuantity : "0"); + decimal totalCompleted = Convert.ToDecimal(!string.IsNullOrEmpty(item.TotalCompleted) ? item.TotalCompleted : "0"); + if (totalWeldQuantity > 0 && totalCompleted > 0) + { + rate = Convert.ToDecimal(Math.Round(totalCompleted * 100 / totalWeldQuantity, 2)).ToString() + "%"; + } totalQuantityStr += "
" + i + "
" + item.DeviceName + "
" + item.DeviceCode + "
" + item.Unit + "
" + item.TotalWeldQuantity + "
" - + item.TotalCompleted + "
"; + + item.TotalCompleted + "
" + + rate + "
"; i++; } } diff --git a/SGGL/FineUIPro.Web/common/mainIV.aspx.designer.cs b/SGGL/FineUIPro.Web/common/mainIV.aspx.designer.cs index 0dc791da..5f3abe70 100644 --- a/SGGL/FineUIPro.Web/common/mainIV.aspx.designer.cs +++ b/SGGL/FineUIPro.Web/common/mainIV.aspx.designer.cs @@ -13,7 +13,16 @@ namespace FineUIPro.Web.common { public partial class mainIV { /// - /// hdNoticeId 控件。 + /// Head1 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlHead Head1; + + /// + /// hdNoticeId 控件。 /// /// /// 自动生成的字段。 @@ -30,6 +39,78 @@ namespace FineUIPro.Web.common { /// protected global::System.Web.UI.WebControls.Button imgBtn; + /// + /// hdContractQuantitySheets 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdContractQuantitySheets; + + /// + /// hdMaterialRecords 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdMaterialRecords; + + /// + /// hdTotalQuantity 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdTotalQuantity; + + /// + /// hdQuantity 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdQuantity; + + /// + /// hdOneOKRate 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdOneOKRate; + + /// + /// hdPressurePackageList 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdPressurePackageList; + + /// + /// hdNdtList 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdNdtList; + + /// + /// hdTailItemList 控件。 + /// + /// + /// 自动生成的字段。 + /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 + /// + protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdTailItemList; + /// /// swiper2 控件。 /// @@ -173,77 +254,5 @@ namespace FineUIPro.Web.common { /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 /// protected global::System.Web.UI.HtmlControls.HtmlGenericControl divGZL; - - /// - /// hdContractQuantitySheets 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdContractQuantitySheets; - - /// - /// hdMaterialRecords 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdMaterialRecords; - - /// - /// hdTotalQuantity 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdTotalQuantity; - - /// - /// hdQuantity 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdQuantity; - - /// - /// hdOneOKRate 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdOneOKRate; - - /// - /// hdPressurePackageList 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdPressurePackageList; - - /// - /// hdNdtList 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdNdtList; - - /// - /// hdTailItemList 控件。 - /// - /// - /// 自动生成的字段。 - /// 若要进行修改,请将字段声明从设计器文件移到代码隐藏文件。 - /// - protected global::System.Web.UI.HtmlControls.HtmlInputHidden hdTailItemList; } } diff --git a/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx b/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx index 9bd150ff..d9cbf823 100644 --- a/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx +++ b/SGGL/FineUIPro.Web/common/mainMenu_HJGL.aspx @@ -341,8 +341,8 @@ show: false }, data: [ - { value: data.num1, name: '已完成' }, - { value: data.num2, name: '未完成' } + { value: data.num10, name: '已完成' }, + { value: data.num11, name: '未完成' } ], itemStyle: { normal: { @@ -513,24 +513,19 @@ // 指定图表的配置项和数据 var option = { title: { - //left: 'center', + // left:'center', text: '一次合格率', textStyle: { color: '#fff', fontWeight: 'normal', - fontSize: 12 + fontSize:14 }, show: true }, - tooltip: { - formatter: '{a}
{b}: {c}%' - }, + tooltip: {}, legend: { - show: true, - textStyle: { - color: '#fff' - }, - left: '10%', + //data: ['销量'], + show: false }, xAxis: { axisTick: { @@ -545,7 +540,30 @@ show: true, textStyle: { color: 'rgba(255, 255, 255, 0.8)' - } + }, + formatter:function(value) + { + var ret = "";//拼接加\n返回的类目项 + var maxLength = 8;//每项显示文字个数 + var valLength = value.length;//X轴类目项的文字个数 + var rowN = Math.ceil(valLength / maxLength); //类目项需要换行的行数 + if (rowN > 1)//如果类目项的文字大于maxLength, + { + for (var i = 0; i < rowN; i++) { + var temp = "";//每次截取的字符串 + var start = i * maxLength;//开始截取的位置 + var end = start + maxLength;//结束截取的位置 + //这里也可以加一个是否是最后一行的判断,但是不加也没有影响,那就不加吧 + //temp = value.substring(start, end) + "\n"; + temp = value.substring(start, end) + (i == rowN -1 ? "" : "\n"); + ret += temp; //凭借最终的字符串 + } + return ret; + } + else { + return value; + } + } }, type: 'category', data: xArr @@ -555,7 +573,6 @@ show: false }, axisLine: { - show: false, lineStyle: { color: 'rgba(255, 255, 255, 0.3)' } @@ -564,22 +581,25 @@ show: true, textStyle: { color: 'rgba(255, 255, 255, 0.8)' - }, - formatter: '{value} %' + } } }, - series: data, + series: [{ + name: '', + type: 'bar', + data: data + }], grid: { - top: '15%', - left: '10', - right: '10', + top: '25%', + left: '0%', + right: '0%', bottom: '0%', containLabel: true, backgroundColor: 'rgba(0,162,233, 0.01)', // borderColor: 'rgba(0,162,233, 1)' }, itemStyle: { - //color: 'rgba(200,201,10, 1)' + color: 'rgba(200,201,10, 1)' }, backgroundColor: 'rgba(0,162,233, 0.01)', textStyle: { @@ -604,8 +624,8 @@ name: '分包3', type: 'line', data: [51, 61, 71], - }] - var data2 = four.series3 + }] + var data2 = four.series[0].data line('four', xArr1, data2) diff --git a/SGGL/FineUIPro.Web/common/mainMenu_JDGL.aspx.cs b/SGGL/FineUIPro.Web/common/mainMenu_JDGL.aspx.cs index 7cbb4c23..b80a9b0a 100644 --- a/SGGL/FineUIPro.Web/common/mainMenu_JDGL.aspx.cs +++ b/SGGL/FineUIPro.Web/common/mainMenu_JDGL.aspx.cs @@ -7,6 +7,7 @@ using System.Web.UI; using System.Web.UI.WebControls; using BLL; using System.Data; +using System.Data.SqlClient; namespace FineUIPro.Web { @@ -42,34 +43,144 @@ namespace FineUIPro.Web Model.BusinessColumn businessColumn = new Model.BusinessColumn(); List listCategories = new List(); businessColumn.title = "赢得值曲线"; - var views = (from x in Funs.DB.View_JDGL_ProgressCompletion where x.ProjectId == this.CurrUser.LoginProjectId orderby x.Months select x).ToList(); - Model.SingleSerie s = new Model.SingleSerie(); - Model.SingleSerie s2 = new Model.SingleSerie(); - Model.SingleSerie s3 = new Model.SingleSerie(); - Model.SingleSerie s4 = new Model.SingleSerie(); - List listdata = new List(); - List listdata2 = new List(); - List listdata3 = new List(); - List listdata4 = new List(); - for (int i = 0; i < views.Count; i++) + Model.Project_Installation installation = BLL.Project_InstallationService.GetProjectInstallationByProjectId(this.CurrUser.LoginProjectId); + if (installation != null) { - listCategories.Add(views[i].MonthStr); - listdata.Add(Convert.ToDouble(views[i].PlanNum)); - listdata2.Add(Convert.ToDouble(views[i].TotalPlanNum)); - listdata3.Add(Convert.ToDouble(views[i].RealNum)); - listdata4.Add(Convert.ToDouble(views[i].TotalRealNum)); + Model.SingleSerie s = new Model.SingleSerie(); + Model.SingleSerie s2 = new Model.SingleSerie(); + Model.SingleSerie s3 = new Model.SingleSerie(); + Model.SingleSerie s4 = new Model.SingleSerie(); + Model.SingleSerie s5 = new Model.SingleSerie(); + Model.SingleSerie s6 = new Model.SingleSerie(); + List listdata = new List(); + List listdata2 = new List(); + List listdata3 = new List(); + List listdata4 = new List(); + List listdata5 = new List(); + List listdata6 = new List(); + string strSql = "select distinct (cast(YEAR(Months) as varchar(4))+'.'+cast(MONTH(Months) as varchar(2))) as 月份,t.Months," + + "ThisRealCost as '本月已完工作实际费用-ACWP',ThisPlanCost as '本月已完工作预算费用-BCWP',ThisPlanValue as '本月计划工作预算费用-BCWS',TotalPlanValue as '累计计划工作预算费用-BCWS',TotalRealCost as '累计已完工作实际费用-ACWP',TotalPlanCost as '累计已完工作预算费用-BCWP' " + + "from dbo.View_WBS_CostControlParentDetail as t where ParentId=@Id order by t.Months"; + //string date = DateTime.Now.Year + "-" + DateTime.Now.Month + "-01"; + SqlParameter[] parameter = new SqlParameter[] + { + new SqlParameter("@Id",installation.InstallationId), + //new SqlParameter("@Months",date), + }; + DataTable dt = SQLHelper.GetDataTableRunText(strSql, parameter); + decimal lastbcws = 0, bcws = 0, lastacwp = 0, acwp = 0, lastbcwp = 0, bcwp = 0; + for (int i = 0; i < dt.Rows.Count; i++) + { + dt.Rows[i]["本月已完工作实际费用-ACWP"] = Funs.GetNewDecimalOrZero(dt.Rows[i]["本月已完工作实际费用-ACWP"].ToString()) / 10000; + dt.Rows[i]["本月已完工作预算费用-BCWP"] = Funs.GetNewDecimalOrZero(dt.Rows[i]["本月已完工作预算费用-BCWP"].ToString()) / 10000; + dt.Rows[i]["本月计划工作预算费用-BCWS"] = Funs.GetNewDecimalOrZero(dt.Rows[i]["本月计划工作预算费用-BCWS"].ToString()) / 10000; + bcws = Funs.GetNewDecimalOrZero(dt.Rows[i]["累计计划工作预算费用-BCWS"].ToString()); + acwp = Funs.GetNewDecimalOrZero(dt.Rows[i]["累计已完工作实际费用-ACWP"].ToString()); + bcwp = Funs.GetNewDecimalOrZero(dt.Rows[i]["累计已完工作预算费用-BCWP"].ToString()); + if (bcws == lastbcws) + { + if (Funs.GetNewDateTimeOrNow(dt.Rows[i]["Months"].ToString()) > DateTime.Now) + { + dt.Rows[i]["累计计划工作预算费用-BCWS"] = 0; + } + else + { + dt.Rows[i]["累计计划工作预算费用-BCWS"] = bcws / 10000; + } + } + else + { + dt.Rows[i]["累计计划工作预算费用-BCWS"] = bcws / 10000; + } + if (acwp == lastacwp) + { + if (Funs.GetNewDateTimeOrNow(dt.Rows[i]["Months"].ToString()) > DateTime.Now) + { + dt.Rows[i]["累计已完工作实际费用-ACWP"] = 0; + } + else + { + dt.Rows[i]["累计已完工作实际费用-ACWP"] = acwp / 10000; + } + } + else + { + dt.Rows[i]["累计已完工作实际费用-ACWP"] = acwp / 10000; + } + if (bcwp == lastbcwp) + { + if (Funs.GetNewDateTimeOrNow(dt.Rows[i]["Months"].ToString()) > DateTime.Now) + { + dt.Rows[i]["累计已完工作预算费用-BCWP"] = 0; + } + else + { + dt.Rows[i]["累计已完工作预算费用-BCWP"] = bcwp / 10000; + } + } + else + { + dt.Rows[i]["累计已完工作预算费用-BCWP"] = bcwp / 10000; + } + lastbcws = bcws; + lastacwp = acwp; + lastbcwp = bcwp; + + listCategories.Add(dt.Rows[i]["月份"].ToString()); + if (Funs.GetNewDateTimeOrNow(dt.Rows[i]["Months"].ToString()) <= DateTime.Now) + { + listdata.Add(Convert.ToDouble(dt.Rows[i]["本月计划工作预算费用-BCWS"])); + listdata2.Add(Convert.ToDouble(dt.Rows[i]["累计计划工作预算费用-BCWS"])); + listdata3.Add(Convert.ToDouble(dt.Rows[i]["本月已完工作预算费用-BCWP"])); + listdata4.Add(Convert.ToDouble(dt.Rows[i]["累计已完工作预算费用-BCWP"])); + listdata5.Add(Convert.ToDouble(dt.Rows[i]["本月已完工作实际费用-ACWP"])); + listdata6.Add(Convert.ToDouble(dt.Rows[i]["累计已完工作实际费用-ACWP"])); + } + } + s.data = listdata; + s2.data = listdata2; + s3.data = listdata3; + s4.data = listdata4; + s5.data = listdata5; + s6.data = listdata6; + series.Add(s); + series.Add(s2); + series.Add(s3); + series.Add(s4); + series.Add(s5); + series.Add(s6); + businessColumn.categories = listCategories; + businessColumn.series = series; } - s.data = listdata; - s2.data = listdata2; - s3.data = listdata3; - s4.data = listdata4; - series.Add(s); - series.Add(s2); - series.Add(s3); - series.Add(s4); - businessColumn.categories = listCategories; - businessColumn.series = series; return JsonConvert.SerializeObject(businessColumn); + //var views = (from x in Funs.DB.View_JDGL_ProgressCompletion where x.ProjectId == this.CurrUser.LoginProjectId orderby x.Months select x).ToList(); + //Model.SingleSerie s = new Model.SingleSerie(); + //Model.SingleSerie s2 = new Model.SingleSerie(); + //Model.SingleSerie s3 = new Model.SingleSerie(); + //Model.SingleSerie s4 = new Model.SingleSerie(); + //List listdata = new List(); + //List listdata2 = new List(); + //List listdata3 = new List(); + //List listdata4 = new List(); + //for (int i = 0; i < views.Count; i++) + //{ + // listCategories.Add(views[i].MonthStr); + // listdata.Add(Convert.ToDouble(views[i].PlanNum)); + // listdata2.Add(Convert.ToDouble(views[i].TotalPlanNum)); + // listdata3.Add(Convert.ToDouble(views[i].RealNum)); + // listdata4.Add(Convert.ToDouble(views[i].TotalRealNum)); + //} + //s.data = listdata; + //s2.data = listdata2; + //s3.data = listdata3; + //s4.data = listdata4; + //series.Add(s); + //series.Add(s2); + //series.Add(s3); + //series.Add(s4); + //businessColumn.categories = listCategories; + //businessColumn.series = series; + //return JsonConvert.SerializeObject(businessColumn); } } #endregion diff --git a/SGGL/FineUIPro.Web/indexProject.aspx.cs b/SGGL/FineUIPro.Web/indexProject.aspx.cs index 525630b2..8d33fb62 100644 --- a/SGGL/FineUIPro.Web/indexProject.aspx.cs +++ b/SGGL/FineUIPro.Web/indexProject.aspx.cs @@ -664,8 +664,8 @@ namespace FineUIPro.Web } else if (type == Const.Menu_CLGL) { - this.Tab1.IFrameUrl = "~/CLGL/Material.aspx"; - this.Tab1.Title = "材料信息"; + this.Tab1.IFrameUrl = "~/CLGL/PipelineMaterialSumList.aspx"; + this.Tab1.Title = "管道材料汇总表"; } else { diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 0e024b08..b8596a69 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -428,6 +428,18 @@ namespace Model partial void InsertCheck_ViolationPerson(Check_ViolationPerson instance); partial void UpdateCheck_ViolationPerson(Check_ViolationPerson instance); partial void DeleteCheck_ViolationPerson(Check_ViolationPerson instance); + partial void InsertCLGL_ArrivalDetailList(CLGL_ArrivalDetailList instance); + partial void UpdateCLGL_ArrivalDetailList(CLGL_ArrivalDetailList instance); + partial void DeleteCLGL_ArrivalDetailList(CLGL_ArrivalDetailList instance); + partial void InsertCLGL_CheckOutDetailList(CLGL_CheckOutDetailList instance); + partial void UpdateCLGL_CheckOutDetailList(CLGL_CheckOutDetailList instance); + partial void DeleteCLGL_CheckOutDetailList(CLGL_CheckOutDetailList instance); + partial void InsertCLGL_ContractList(CLGL_ContractList instance); + partial void UpdateCLGL_ContractList(CLGL_ContractList instance); + partial void DeleteCLGL_ContractList(CLGL_ContractList instance); + partial void InsertCLGL_ContractListSum(CLGL_ContractListSum instance); + partial void UpdateCLGL_ContractListSum(CLGL_ContractListSum instance); + partial void DeleteCLGL_ContractListSum(CLGL_ContractListSum instance); partial void InsertCLGL_ContractQuantitySheet(CLGL_ContractQuantitySheet instance); partial void UpdateCLGL_ContractQuantitySheet(CLGL_ContractQuantitySheet instance); partial void DeleteCLGL_ContractQuantitySheet(CLGL_ContractQuantitySheet instance); @@ -443,9 +455,24 @@ namespace Model partial void InsertCLGL_PickMaterialRecord(CLGL_PickMaterialRecord instance); partial void UpdateCLGL_PickMaterialRecord(CLGL_PickMaterialRecord instance); partial void DeleteCLGL_PickMaterialRecord(CLGL_PickMaterialRecord instance); + partial void InsertCLGL_PipelineMaterialCodeList(CLGL_PipelineMaterialCodeList instance); + partial void UpdateCLGL_PipelineMaterialCodeList(CLGL_PipelineMaterialCodeList instance); + partial void DeleteCLGL_PipelineMaterialCodeList(CLGL_PipelineMaterialCodeList instance); + partial void InsertCLGL_PipelineMaterialList(CLGL_PipelineMaterialList instance); + partial void UpdateCLGL_PipelineMaterialList(CLGL_PipelineMaterialList instance); + partial void DeleteCLGL_PipelineMaterialList(CLGL_PipelineMaterialList instance); + partial void InsertCLGL_PipelineMaterialSumList(CLGL_PipelineMaterialSumList instance); + partial void UpdateCLGL_PipelineMaterialSumList(CLGL_PipelineMaterialSumList instance); + partial void DeleteCLGL_PipelineMaterialSumList(CLGL_PipelineMaterialSumList instance); + partial void InsertCLGL_PipelineSupplierList(CLGL_PipelineSupplierList instance); + partial void UpdateCLGL_PipelineSupplierList(CLGL_PipelineSupplierList instance); + partial void DeleteCLGL_PipelineSupplierList(CLGL_PipelineSupplierList instance); partial void InsertCLGL_PurchaseRequisition(CLGL_PurchaseRequisition instance); partial void UpdateCLGL_PurchaseRequisition(CLGL_PurchaseRequisition instance); partial void DeleteCLGL_PurchaseRequisition(CLGL_PurchaseRequisition instance); + partial void InsertCLGL_RequestDetailList(CLGL_RequestDetailList instance); + partial void UpdateCLGL_RequestDetailList(CLGL_RequestDetailList instance); + partial void DeleteCLGL_RequestDetailList(CLGL_RequestDetailList instance); partial void InsertCLGL_SubUnit(CLGL_SubUnit instance); partial void UpdateCLGL_SubUnit(CLGL_SubUnit instance); partial void DeleteCLGL_SubUnit(CLGL_SubUnit instance); @@ -3177,6 +3204,38 @@ namespace Model } } + public System.Data.Linq.Table CLGL_ArrivalDetailList + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table CLGL_CheckOutDetailList + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table CLGL_ContractList + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table CLGL_ContractListSum + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table CLGL_ContractQuantitySheet { get @@ -3217,6 +3276,38 @@ namespace Model } } + public System.Data.Linq.Table CLGL_PipelineMaterialCodeList + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table CLGL_PipelineMaterialList + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table CLGL_PipelineMaterialSumList + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table CLGL_PipelineSupplierList + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table CLGL_PurchaseRequisition { get @@ -3225,6 +3316,14 @@ namespace Model } } + public System.Data.Linq.Table CLGL_RequestDetailList + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table CLGL_SubUnit { get @@ -71551,6 +71650,2486 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_ArrivalDetailList")] + public partial class CLGL_ArrivalDetailList : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _C1; + + private string _C2; + + private string _C3; + + private string _C4; + + private string _C5; + + private string _C6; + + private string _C7; + + private string _C8; + + private string _C9; + + private string _C10; + + private string _C11; + + private string _C12; + + private string _C13; + + private string _C14; + + private string _C15; + + private string _C16; + + private string _C17; + + private string _C18; + + private string _C19; + + private string _C20; + + private string _C21; + + private string _C22; + + private string _C23; + + private string _C24; + + private string _C25; + + private string _C26; + + private string _C27; + + private string _C28; + + private string _C29; + + private string _C30; + + private string _C31; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnC1Changing(string value); + partial void OnC1Changed(); + partial void OnC2Changing(string value); + partial void OnC2Changed(); + partial void OnC3Changing(string value); + partial void OnC3Changed(); + partial void OnC4Changing(string value); + partial void OnC4Changed(); + partial void OnC5Changing(string value); + partial void OnC5Changed(); + partial void OnC6Changing(string value); + partial void OnC6Changed(); + partial void OnC7Changing(string value); + partial void OnC7Changed(); + partial void OnC8Changing(string value); + partial void OnC8Changed(); + partial void OnC9Changing(string value); + partial void OnC9Changed(); + partial void OnC10Changing(string value); + partial void OnC10Changed(); + partial void OnC11Changing(string value); + partial void OnC11Changed(); + partial void OnC12Changing(string value); + partial void OnC12Changed(); + partial void OnC13Changing(string value); + partial void OnC13Changed(); + partial void OnC14Changing(string value); + partial void OnC14Changed(); + partial void OnC15Changing(string value); + partial void OnC15Changed(); + partial void OnC16Changing(string value); + partial void OnC16Changed(); + partial void OnC17Changing(string value); + partial void OnC17Changed(); + partial void OnC18Changing(string value); + partial void OnC18Changed(); + partial void OnC19Changing(string value); + partial void OnC19Changed(); + partial void OnC20Changing(string value); + partial void OnC20Changed(); + partial void OnC21Changing(string value); + partial void OnC21Changed(); + partial void OnC22Changing(string value); + partial void OnC22Changed(); + partial void OnC23Changing(string value); + partial void OnC23Changed(); + partial void OnC24Changing(string value); + partial void OnC24Changed(); + partial void OnC25Changing(string value); + partial void OnC25Changed(); + partial void OnC26Changing(string value); + partial void OnC26Changed(); + partial void OnC27Changing(string value); + partial void OnC27Changed(); + partial void OnC28Changing(string value); + partial void OnC28Changed(); + partial void OnC29Changing(string value); + partial void OnC29Changed(); + partial void OnC30Changing(string value); + partial void OnC30Changed(); + partial void OnC31Changing(string value); + partial void OnC31Changed(); + #endregion + + public CLGL_ArrivalDetailList() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C1", DbType="NVarChar(500)")] + public string C1 + { + get + { + return this._C1; + } + set + { + if ((this._C1 != value)) + { + this.OnC1Changing(value); + this.SendPropertyChanging(); + this._C1 = value; + this.SendPropertyChanged("C1"); + this.OnC1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C2", DbType="NVarChar(50)")] + public string C2 + { + get + { + return this._C2; + } + set + { + if ((this._C2 != value)) + { + this.OnC2Changing(value); + this.SendPropertyChanging(); + this._C2 = value; + this.SendPropertyChanged("C2"); + this.OnC2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C3", DbType="NVarChar(50)")] + public string C3 + { + get + { + return this._C3; + } + set + { + if ((this._C3 != value)) + { + this.OnC3Changing(value); + this.SendPropertyChanging(); + this._C3 = value; + this.SendPropertyChanged("C3"); + this.OnC3Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C4", DbType="NVarChar(50)")] + public string C4 + { + get + { + return this._C4; + } + set + { + if ((this._C4 != value)) + { + this.OnC4Changing(value); + this.SendPropertyChanging(); + this._C4 = value; + this.SendPropertyChanged("C4"); + this.OnC4Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C5", DbType="NVarChar(50)")] + public string C5 + { + get + { + return this._C5; + } + set + { + if ((this._C5 != value)) + { + this.OnC5Changing(value); + this.SendPropertyChanging(); + this._C5 = value; + this.SendPropertyChanged("C5"); + this.OnC5Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C6", DbType="NVarChar(500)")] + public string C6 + { + get + { + return this._C6; + } + set + { + if ((this._C6 != value)) + { + this.OnC6Changing(value); + this.SendPropertyChanging(); + this._C6 = value; + this.SendPropertyChanged("C6"); + this.OnC6Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C7", DbType="NVarChar(500)")] + public string C7 + { + get + { + return this._C7; + } + set + { + if ((this._C7 != value)) + { + this.OnC7Changing(value); + this.SendPropertyChanging(); + this._C7 = value; + this.SendPropertyChanged("C7"); + this.OnC7Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C8", DbType="NVarChar(500)")] + public string C8 + { + get + { + return this._C8; + } + set + { + if ((this._C8 != value)) + { + this.OnC8Changing(value); + this.SendPropertyChanging(); + this._C8 = value; + this.SendPropertyChanged("C8"); + this.OnC8Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C9", DbType="NVarChar(500)")] + public string C9 + { + get + { + return this._C9; + } + set + { + if ((this._C9 != value)) + { + this.OnC9Changing(value); + this.SendPropertyChanging(); + this._C9 = value; + this.SendPropertyChanged("C9"); + this.OnC9Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C10", DbType="NVarChar(50)")] + public string C10 + { + get + { + return this._C10; + } + set + { + if ((this._C10 != value)) + { + this.OnC10Changing(value); + this.SendPropertyChanging(); + this._C10 = value; + this.SendPropertyChanged("C10"); + this.OnC10Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C11", DbType="NVarChar(500)")] + public string C11 + { + get + { + return this._C11; + } + set + { + if ((this._C11 != value)) + { + this.OnC11Changing(value); + this.SendPropertyChanging(); + this._C11 = value; + this.SendPropertyChanged("C11"); + this.OnC11Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C12", DbType="NVarChar(50)")] + public string C12 + { + get + { + return this._C12; + } + set + { + if ((this._C12 != value)) + { + this.OnC12Changing(value); + this.SendPropertyChanging(); + this._C12 = value; + this.SendPropertyChanged("C12"); + this.OnC12Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C13", DbType="NVarChar(50)")] + public string C13 + { + get + { + return this._C13; + } + set + { + if ((this._C13 != value)) + { + this.OnC13Changing(value); + this.SendPropertyChanging(); + this._C13 = value; + this.SendPropertyChanged("C13"); + this.OnC13Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C14", DbType="NVarChar(50)")] + public string C14 + { + get + { + return this._C14; + } + set + { + if ((this._C14 != value)) + { + this.OnC14Changing(value); + this.SendPropertyChanging(); + this._C14 = value; + this.SendPropertyChanged("C14"); + this.OnC14Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C15", DbType="NVarChar(50)")] + public string C15 + { + get + { + return this._C15; + } + set + { + if ((this._C15 != value)) + { + this.OnC15Changing(value); + this.SendPropertyChanging(); + this._C15 = value; + this.SendPropertyChanged("C15"); + this.OnC15Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C16", DbType="NVarChar(50)")] + public string C16 + { + get + { + return this._C16; + } + set + { + if ((this._C16 != value)) + { + this.OnC16Changing(value); + this.SendPropertyChanging(); + this._C16 = value; + this.SendPropertyChanged("C16"); + this.OnC16Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C17", DbType="NVarChar(500)")] + public string C17 + { + get + { + return this._C17; + } + set + { + if ((this._C17 != value)) + { + this.OnC17Changing(value); + this.SendPropertyChanging(); + this._C17 = value; + this.SendPropertyChanged("C17"); + this.OnC17Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C18", DbType="NVarChar(500)")] + public string C18 + { + get + { + return this._C18; + } + set + { + if ((this._C18 != value)) + { + this.OnC18Changing(value); + this.SendPropertyChanging(); + this._C18 = value; + this.SendPropertyChanged("C18"); + this.OnC18Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C19", DbType="NVarChar(50)")] + public string C19 + { + get + { + return this._C19; + } + set + { + if ((this._C19 != value)) + { + this.OnC19Changing(value); + this.SendPropertyChanging(); + this._C19 = value; + this.SendPropertyChanged("C19"); + this.OnC19Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C20", DbType="NVarChar(50)")] + public string C20 + { + get + { + return this._C20; + } + set + { + if ((this._C20 != value)) + { + this.OnC20Changing(value); + this.SendPropertyChanging(); + this._C20 = value; + this.SendPropertyChanged("C20"); + this.OnC20Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C21", DbType="NVarChar(50)")] + public string C21 + { + get + { + return this._C21; + } + set + { + if ((this._C21 != value)) + { + this.OnC21Changing(value); + this.SendPropertyChanging(); + this._C21 = value; + this.SendPropertyChanged("C21"); + this.OnC21Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C22", DbType="NVarChar(50)")] + public string C22 + { + get + { + return this._C22; + } + set + { + if ((this._C22 != value)) + { + this.OnC22Changing(value); + this.SendPropertyChanging(); + this._C22 = value; + this.SendPropertyChanged("C22"); + this.OnC22Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C23", DbType="NVarChar(50)")] + public string C23 + { + get + { + return this._C23; + } + set + { + if ((this._C23 != value)) + { + this.OnC23Changing(value); + this.SendPropertyChanging(); + this._C23 = value; + this.SendPropertyChanged("C23"); + this.OnC23Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C24", DbType="NVarChar(50)")] + public string C24 + { + get + { + return this._C24; + } + set + { + if ((this._C24 != value)) + { + this.OnC24Changing(value); + this.SendPropertyChanging(); + this._C24 = value; + this.SendPropertyChanged("C24"); + this.OnC24Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C25", DbType="NVarChar(50)")] + public string C25 + { + get + { + return this._C25; + } + set + { + if ((this._C25 != value)) + { + this.OnC25Changing(value); + this.SendPropertyChanging(); + this._C25 = value; + this.SendPropertyChanged("C25"); + this.OnC25Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C26", DbType="NVarChar(50)")] + public string C26 + { + get + { + return this._C26; + } + set + { + if ((this._C26 != value)) + { + this.OnC26Changing(value); + this.SendPropertyChanging(); + this._C26 = value; + this.SendPropertyChanged("C26"); + this.OnC26Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C27", DbType="NVarChar(50)")] + public string C27 + { + get + { + return this._C27; + } + set + { + if ((this._C27 != value)) + { + this.OnC27Changing(value); + this.SendPropertyChanging(); + this._C27 = value; + this.SendPropertyChanged("C27"); + this.OnC27Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C28", DbType="NVarChar(50)")] + public string C28 + { + get + { + return this._C28; + } + set + { + if ((this._C28 != value)) + { + this.OnC28Changing(value); + this.SendPropertyChanging(); + this._C28 = value; + this.SendPropertyChanged("C28"); + this.OnC28Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C29", DbType="NVarChar(50)")] + public string C29 + { + get + { + return this._C29; + } + set + { + if ((this._C29 != value)) + { + this.OnC29Changing(value); + this.SendPropertyChanging(); + this._C29 = value; + this.SendPropertyChanged("C29"); + this.OnC29Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C30", DbType="NVarChar(50)")] + public string C30 + { + get + { + return this._C30; + } + set + { + if ((this._C30 != value)) + { + this.OnC30Changing(value); + this.SendPropertyChanging(); + this._C30 = value; + this.SendPropertyChanged("C30"); + this.OnC30Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C31", DbType="NVarChar(50)")] + public string C31 + { + get + { + return this._C31; + } + set + { + if ((this._C31 != value)) + { + this.OnC31Changing(value); + this.SendPropertyChanging(); + this._C31 = value; + this.SendPropertyChanged("C31"); + this.OnC31Changed(); + } + } + } + + 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)); + } + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_CheckOutDetailList")] + public partial class CLGL_CheckOutDetailList : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _C1; + + private string _C2; + + private string _C3; + + private string _C4; + + private string _C5; + + private string _C6; + + private string _C7; + + private string _C8; + + private string _C9; + + private string _C10; + + private string _C11; + + private string _C12; + + private string _C13; + + private string _C14; + + private string _C15; + + private string _C16; + + private string _C17; + + private string _C18; + + private string _C19; + + private string _C20; + + private string _C21; + + private string _C22; + + private string _C23; + + private string _C24; + + private string _C25; + + private string _C26; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnC1Changing(string value); + partial void OnC1Changed(); + partial void OnC2Changing(string value); + partial void OnC2Changed(); + partial void OnC3Changing(string value); + partial void OnC3Changed(); + partial void OnC4Changing(string value); + partial void OnC4Changed(); + partial void OnC5Changing(string value); + partial void OnC5Changed(); + partial void OnC6Changing(string value); + partial void OnC6Changed(); + partial void OnC7Changing(string value); + partial void OnC7Changed(); + partial void OnC8Changing(string value); + partial void OnC8Changed(); + partial void OnC9Changing(string value); + partial void OnC9Changed(); + partial void OnC10Changing(string value); + partial void OnC10Changed(); + partial void OnC11Changing(string value); + partial void OnC11Changed(); + partial void OnC12Changing(string value); + partial void OnC12Changed(); + partial void OnC13Changing(string value); + partial void OnC13Changed(); + partial void OnC14Changing(string value); + partial void OnC14Changed(); + partial void OnC15Changing(string value); + partial void OnC15Changed(); + partial void OnC16Changing(string value); + partial void OnC16Changed(); + partial void OnC17Changing(string value); + partial void OnC17Changed(); + partial void OnC18Changing(string value); + partial void OnC18Changed(); + partial void OnC19Changing(string value); + partial void OnC19Changed(); + partial void OnC20Changing(string value); + partial void OnC20Changed(); + partial void OnC21Changing(string value); + partial void OnC21Changed(); + partial void OnC22Changing(string value); + partial void OnC22Changed(); + partial void OnC23Changing(string value); + partial void OnC23Changed(); + partial void OnC24Changing(string value); + partial void OnC24Changed(); + partial void OnC25Changing(string value); + partial void OnC25Changed(); + partial void OnC26Changing(string value); + partial void OnC26Changed(); + #endregion + + public CLGL_CheckOutDetailList() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C1", DbType="NVarChar(50)")] + public string C1 + { + get + { + return this._C1; + } + set + { + if ((this._C1 != value)) + { + this.OnC1Changing(value); + this.SendPropertyChanging(); + this._C1 = value; + this.SendPropertyChanged("C1"); + this.OnC1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C2", DbType="NVarChar(50)")] + public string C2 + { + get + { + return this._C2; + } + set + { + if ((this._C2 != value)) + { + this.OnC2Changing(value); + this.SendPropertyChanging(); + this._C2 = value; + this.SendPropertyChanged("C2"); + this.OnC2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C3", DbType="NVarChar(50)")] + public string C3 + { + get + { + return this._C3; + } + set + { + if ((this._C3 != value)) + { + this.OnC3Changing(value); + this.SendPropertyChanging(); + this._C3 = value; + this.SendPropertyChanged("C3"); + this.OnC3Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C4", DbType="NVarChar(50)")] + public string C4 + { + get + { + return this._C4; + } + set + { + if ((this._C4 != value)) + { + this.OnC4Changing(value); + this.SendPropertyChanging(); + this._C4 = value; + this.SendPropertyChanged("C4"); + this.OnC4Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C5", DbType="NVarChar(50)")] + public string C5 + { + get + { + return this._C5; + } + set + { + if ((this._C5 != value)) + { + this.OnC5Changing(value); + this.SendPropertyChanging(); + this._C5 = value; + this.SendPropertyChanged("C5"); + this.OnC5Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C6", DbType="NVarChar(50)")] + public string C6 + { + get + { + return this._C6; + } + set + { + if ((this._C6 != value)) + { + this.OnC6Changing(value); + this.SendPropertyChanging(); + this._C6 = value; + this.SendPropertyChanged("C6"); + this.OnC6Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C7", DbType="NVarChar(50)")] + public string C7 + { + get + { + return this._C7; + } + set + { + if ((this._C7 != value)) + { + this.OnC7Changing(value); + this.SendPropertyChanging(); + this._C7 = value; + this.SendPropertyChanged("C7"); + this.OnC7Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C8", DbType="NVarChar(50)")] + public string C8 + { + get + { + return this._C8; + } + set + { + if ((this._C8 != value)) + { + this.OnC8Changing(value); + this.SendPropertyChanging(); + this._C8 = value; + this.SendPropertyChanged("C8"); + this.OnC8Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C9", DbType="NVarChar(50)")] + public string C9 + { + get + { + return this._C9; + } + set + { + if ((this._C9 != value)) + { + this.OnC9Changing(value); + this.SendPropertyChanging(); + this._C9 = value; + this.SendPropertyChanged("C9"); + this.OnC9Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C10", DbType="NVarChar(50)")] + public string C10 + { + get + { + return this._C10; + } + set + { + if ((this._C10 != value)) + { + this.OnC10Changing(value); + this.SendPropertyChanging(); + this._C10 = value; + this.SendPropertyChanged("C10"); + this.OnC10Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C11", DbType="NVarChar(50)")] + public string C11 + { + get + { + return this._C11; + } + set + { + if ((this._C11 != value)) + { + this.OnC11Changing(value); + this.SendPropertyChanging(); + this._C11 = value; + this.SendPropertyChanged("C11"); + this.OnC11Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C12", DbType="NVarChar(50)")] + public string C12 + { + get + { + return this._C12; + } + set + { + if ((this._C12 != value)) + { + this.OnC12Changing(value); + this.SendPropertyChanging(); + this._C12 = value; + this.SendPropertyChanged("C12"); + this.OnC12Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C13", DbType="NVarChar(50)")] + public string C13 + { + get + { + return this._C13; + } + set + { + if ((this._C13 != value)) + { + this.OnC13Changing(value); + this.SendPropertyChanging(); + this._C13 = value; + this.SendPropertyChanged("C13"); + this.OnC13Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C14", DbType="NVarChar(50)")] + public string C14 + { + get + { + return this._C14; + } + set + { + if ((this._C14 != value)) + { + this.OnC14Changing(value); + this.SendPropertyChanging(); + this._C14 = value; + this.SendPropertyChanged("C14"); + this.OnC14Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C15", DbType="NVarChar(500)")] + public string C15 + { + get + { + return this._C15; + } + set + { + if ((this._C15 != value)) + { + this.OnC15Changing(value); + this.SendPropertyChanging(); + this._C15 = value; + this.SendPropertyChanged("C15"); + this.OnC15Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C16", DbType="NVarChar(50)")] + public string C16 + { + get + { + return this._C16; + } + set + { + if ((this._C16 != value)) + { + this.OnC16Changing(value); + this.SendPropertyChanging(); + this._C16 = value; + this.SendPropertyChanged("C16"); + this.OnC16Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C17", DbType="NVarChar(50)")] + public string C17 + { + get + { + return this._C17; + } + set + { + if ((this._C17 != value)) + { + this.OnC17Changing(value); + this.SendPropertyChanging(); + this._C17 = value; + this.SendPropertyChanged("C17"); + this.OnC17Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C18", DbType="NVarChar(50)")] + public string C18 + { + get + { + return this._C18; + } + set + { + if ((this._C18 != value)) + { + this.OnC18Changing(value); + this.SendPropertyChanging(); + this._C18 = value; + this.SendPropertyChanged("C18"); + this.OnC18Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C19", DbType="NVarChar(50)")] + public string C19 + { + get + { + return this._C19; + } + set + { + if ((this._C19 != value)) + { + this.OnC19Changing(value); + this.SendPropertyChanging(); + this._C19 = value; + this.SendPropertyChanged("C19"); + this.OnC19Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C20", DbType="NVarChar(50)")] + public string C20 + { + get + { + return this._C20; + } + set + { + if ((this._C20 != value)) + { + this.OnC20Changing(value); + this.SendPropertyChanging(); + this._C20 = value; + this.SendPropertyChanged("C20"); + this.OnC20Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C21", DbType="NVarChar(50)")] + public string C21 + { + get + { + return this._C21; + } + set + { + if ((this._C21 != value)) + { + this.OnC21Changing(value); + this.SendPropertyChanging(); + this._C21 = value; + this.SendPropertyChanged("C21"); + this.OnC21Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C22", DbType="NVarChar(50)")] + public string C22 + { + get + { + return this._C22; + } + set + { + if ((this._C22 != value)) + { + this.OnC22Changing(value); + this.SendPropertyChanging(); + this._C22 = value; + this.SendPropertyChanged("C22"); + this.OnC22Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C23", DbType="NVarChar(50)")] + public string C23 + { + get + { + return this._C23; + } + set + { + if ((this._C23 != value)) + { + this.OnC23Changing(value); + this.SendPropertyChanging(); + this._C23 = value; + this.SendPropertyChanged("C23"); + this.OnC23Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C24", DbType="NVarChar(50)")] + public string C24 + { + get + { + return this._C24; + } + set + { + if ((this._C24 != value)) + { + this.OnC24Changing(value); + this.SendPropertyChanging(); + this._C24 = value; + this.SendPropertyChanged("C24"); + this.OnC24Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C25", DbType="NVarChar(50)")] + public string C25 + { + get + { + return this._C25; + } + set + { + if ((this._C25 != value)) + { + this.OnC25Changing(value); + this.SendPropertyChanging(); + this._C25 = value; + this.SendPropertyChanged("C25"); + this.OnC25Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C26", DbType="NVarChar(50)")] + public string C26 + { + get + { + return this._C26; + } + set + { + if ((this._C26 != value)) + { + this.OnC26Changing(value); + this.SendPropertyChanging(); + this._C26 = value; + this.SendPropertyChanged("C26"); + this.OnC26Changed(); + } + } + } + + 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)); + } + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_ContractList")] + public partial class CLGL_ContractList : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _C1; + + private string _C2; + + private string _C3; + + private string _C4; + + private string _C5; + + private string _C6; + + private string _C7; + + private string _C8; + + private string _C9; + + private string _C10; + + private string _C11; + + private string _C12; + + private string _C13; + + private string _C14; + + private string _C15; + + private string _C16; + + private string _C17; + + private string _C18; + + private string _C19; + + private string _C20; + + private string _C21; + + private string _C22; + + private string _C23; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnC1Changing(string value); + partial void OnC1Changed(); + partial void OnC2Changing(string value); + partial void OnC2Changed(); + partial void OnC3Changing(string value); + partial void OnC3Changed(); + partial void OnC4Changing(string value); + partial void OnC4Changed(); + partial void OnC5Changing(string value); + partial void OnC5Changed(); + partial void OnC6Changing(string value); + partial void OnC6Changed(); + partial void OnC7Changing(string value); + partial void OnC7Changed(); + partial void OnC8Changing(string value); + partial void OnC8Changed(); + partial void OnC9Changing(string value); + partial void OnC9Changed(); + partial void OnC10Changing(string value); + partial void OnC10Changed(); + partial void OnC11Changing(string value); + partial void OnC11Changed(); + partial void OnC12Changing(string value); + partial void OnC12Changed(); + partial void OnC13Changing(string value); + partial void OnC13Changed(); + partial void OnC14Changing(string value); + partial void OnC14Changed(); + partial void OnC15Changing(string value); + partial void OnC15Changed(); + partial void OnC16Changing(string value); + partial void OnC16Changed(); + partial void OnC17Changing(string value); + partial void OnC17Changed(); + partial void OnC18Changing(string value); + partial void OnC18Changed(); + partial void OnC19Changing(string value); + partial void OnC19Changed(); + partial void OnC20Changing(string value); + partial void OnC20Changed(); + partial void OnC21Changing(string value); + partial void OnC21Changed(); + partial void OnC22Changing(string value); + partial void OnC22Changed(); + partial void OnC23Changing(string value); + partial void OnC23Changed(); + #endregion + + public CLGL_ContractList() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C1", DbType="NVarChar(50)")] + public string C1 + { + get + { + return this._C1; + } + set + { + if ((this._C1 != value)) + { + this.OnC1Changing(value); + this.SendPropertyChanging(); + this._C1 = value; + this.SendPropertyChanged("C1"); + this.OnC1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C2", DbType="NVarChar(500)")] + public string C2 + { + get + { + return this._C2; + } + set + { + if ((this._C2 != value)) + { + this.OnC2Changing(value); + this.SendPropertyChanging(); + this._C2 = value; + this.SendPropertyChanged("C2"); + this.OnC2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C3", DbType="NVarChar(50)")] + public string C3 + { + get + { + return this._C3; + } + set + { + if ((this._C3 != value)) + { + this.OnC3Changing(value); + this.SendPropertyChanging(); + this._C3 = value; + this.SendPropertyChanged("C3"); + this.OnC3Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C4", DbType="NVarChar(50)")] + public string C4 + { + get + { + return this._C4; + } + set + { + if ((this._C4 != value)) + { + this.OnC4Changing(value); + this.SendPropertyChanging(); + this._C4 = value; + this.SendPropertyChanged("C4"); + this.OnC4Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C5", DbType="NVarChar(50)")] + public string C5 + { + get + { + return this._C5; + } + set + { + if ((this._C5 != value)) + { + this.OnC5Changing(value); + this.SendPropertyChanging(); + this._C5 = value; + this.SendPropertyChanged("C5"); + this.OnC5Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C6", DbType="NVarChar(50)")] + public string C6 + { + get + { + return this._C6; + } + set + { + if ((this._C6 != value)) + { + this.OnC6Changing(value); + this.SendPropertyChanging(); + this._C6 = value; + this.SendPropertyChanged("C6"); + this.OnC6Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C7", DbType="NVarChar(50)")] + public string C7 + { + get + { + return this._C7; + } + set + { + if ((this._C7 != value)) + { + this.OnC7Changing(value); + this.SendPropertyChanging(); + this._C7 = value; + this.SendPropertyChanged("C7"); + this.OnC7Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C8", DbType="NVarChar(500)")] + public string C8 + { + get + { + return this._C8; + } + set + { + if ((this._C8 != value)) + { + this.OnC8Changing(value); + this.SendPropertyChanging(); + this._C8 = value; + this.SendPropertyChanged("C8"); + this.OnC8Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C9", DbType="NVarChar(500)")] + public string C9 + { + get + { + return this._C9; + } + set + { + if ((this._C9 != value)) + { + this.OnC9Changing(value); + this.SendPropertyChanging(); + this._C9 = value; + this.SendPropertyChanged("C9"); + this.OnC9Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C10", DbType="NVarChar(50)")] + public string C10 + { + get + { + return this._C10; + } + set + { + if ((this._C10 != value)) + { + this.OnC10Changing(value); + this.SendPropertyChanging(); + this._C10 = value; + this.SendPropertyChanged("C10"); + this.OnC10Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C11", DbType="NVarChar(500)")] + public string C11 + { + get + { + return this._C11; + } + set + { + if ((this._C11 != value)) + { + this.OnC11Changing(value); + this.SendPropertyChanging(); + this._C11 = value; + this.SendPropertyChanged("C11"); + this.OnC11Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C12", DbType="NVarChar(500)")] + public string C12 + { + get + { + return this._C12; + } + set + { + if ((this._C12 != value)) + { + this.OnC12Changing(value); + this.SendPropertyChanging(); + this._C12 = value; + this.SendPropertyChanged("C12"); + this.OnC12Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C13", DbType="NVarChar(50)")] + public string C13 + { + get + { + return this._C13; + } + set + { + if ((this._C13 != value)) + { + this.OnC13Changing(value); + this.SendPropertyChanging(); + this._C13 = value; + this.SendPropertyChanged("C13"); + this.OnC13Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C14", DbType="NVarChar(50)")] + public string C14 + { + get + { + return this._C14; + } + set + { + if ((this._C14 != value)) + { + this.OnC14Changing(value); + this.SendPropertyChanging(); + this._C14 = value; + this.SendPropertyChanged("C14"); + this.OnC14Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C15", DbType="NVarChar(50)")] + public string C15 + { + get + { + return this._C15; + } + set + { + if ((this._C15 != value)) + { + this.OnC15Changing(value); + this.SendPropertyChanging(); + this._C15 = value; + this.SendPropertyChanged("C15"); + this.OnC15Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C16", DbType="NVarChar(50)")] + public string C16 + { + get + { + return this._C16; + } + set + { + if ((this._C16 != value)) + { + this.OnC16Changing(value); + this.SendPropertyChanging(); + this._C16 = value; + this.SendPropertyChanged("C16"); + this.OnC16Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C17", DbType="NVarChar(50)")] + public string C17 + { + get + { + return this._C17; + } + set + { + if ((this._C17 != value)) + { + this.OnC17Changing(value); + this.SendPropertyChanging(); + this._C17 = value; + this.SendPropertyChanged("C17"); + this.OnC17Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C18", DbType="NVarChar(50)")] + public string C18 + { + get + { + return this._C18; + } + set + { + if ((this._C18 != value)) + { + this.OnC18Changing(value); + this.SendPropertyChanging(); + this._C18 = value; + this.SendPropertyChanged("C18"); + this.OnC18Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C19", DbType="NVarChar(500)")] + public string C19 + { + get + { + return this._C19; + } + set + { + if ((this._C19 != value)) + { + this.OnC19Changing(value); + this.SendPropertyChanging(); + this._C19 = value; + this.SendPropertyChanged("C19"); + this.OnC19Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C20", DbType="NVarChar(50)")] + public string C20 + { + get + { + return this._C20; + } + set + { + if ((this._C20 != value)) + { + this.OnC20Changing(value); + this.SendPropertyChanging(); + this._C20 = value; + this.SendPropertyChanged("C20"); + this.OnC20Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C21", DbType="NVarChar(50)")] + public string C21 + { + get + { + return this._C21; + } + set + { + if ((this._C21 != value)) + { + this.OnC21Changing(value); + this.SendPropertyChanging(); + this._C21 = value; + this.SendPropertyChanged("C21"); + this.OnC21Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C22", DbType="NVarChar(50)")] + public string C22 + { + get + { + return this._C22; + } + set + { + if ((this._C22 != value)) + { + this.OnC22Changing(value); + this.SendPropertyChanging(); + this._C22 = value; + this.SendPropertyChanged("C22"); + this.OnC22Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C23", DbType="NVarChar(50)")] + public string C23 + { + get + { + return this._C23; + } + set + { + if ((this._C23 != value)) + { + this.OnC23Changing(value); + this.SendPropertyChanging(); + this._C23 = value; + this.SendPropertyChanged("C23"); + this.OnC23Changed(); + } + } + } + + 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)); + } + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_ContractListSum")] + public partial class CLGL_ContractListSum : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _C1; + + private string _C2; + + private string _C3; + + private string _C4; + + private string _C5; + + private string _C6; + + private string _C7; + + private string _C8; + + private string _C9; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnC1Changing(string value); + partial void OnC1Changed(); + partial void OnC2Changing(string value); + partial void OnC2Changed(); + partial void OnC3Changing(string value); + partial void OnC3Changed(); + partial void OnC4Changing(string value); + partial void OnC4Changed(); + partial void OnC5Changing(string value); + partial void OnC5Changed(); + partial void OnC6Changing(string value); + partial void OnC6Changed(); + partial void OnC7Changing(string value); + partial void OnC7Changed(); + partial void OnC8Changing(string value); + partial void OnC8Changed(); + partial void OnC9Changing(string value); + partial void OnC9Changed(); + #endregion + + public CLGL_ContractListSum() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C1", DbType="NVarChar(50)")] + public string C1 + { + get + { + return this._C1; + } + set + { + if ((this._C1 != value)) + { + this.OnC1Changing(value); + this.SendPropertyChanging(); + this._C1 = value; + this.SendPropertyChanged("C1"); + this.OnC1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C2", DbType="NVarChar(50)")] + public string C2 + { + get + { + return this._C2; + } + set + { + if ((this._C2 != value)) + { + this.OnC2Changing(value); + this.SendPropertyChanging(); + this._C2 = value; + this.SendPropertyChanged("C2"); + this.OnC2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C3", DbType="NVarChar(500)")] + public string C3 + { + get + { + return this._C3; + } + set + { + if ((this._C3 != value)) + { + this.OnC3Changing(value); + this.SendPropertyChanging(); + this._C3 = value; + this.SendPropertyChanged("C3"); + this.OnC3Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C4", DbType="NVarChar(500)")] + public string C4 + { + get + { + return this._C4; + } + set + { + if ((this._C4 != value)) + { + this.OnC4Changing(value); + this.SendPropertyChanging(); + this._C4 = value; + this.SendPropertyChanged("C4"); + this.OnC4Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C5", DbType="NVarChar(50)")] + public string C5 + { + get + { + return this._C5; + } + set + { + if ((this._C5 != value)) + { + this.OnC5Changing(value); + this.SendPropertyChanging(); + this._C5 = value; + this.SendPropertyChanged("C5"); + this.OnC5Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C6", DbType="NVarChar(50)")] + public string C6 + { + get + { + return this._C6; + } + set + { + if ((this._C6 != value)) + { + this.OnC6Changing(value); + this.SendPropertyChanging(); + this._C6 = value; + this.SendPropertyChanged("C6"); + this.OnC6Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C7", DbType="NVarChar(50)")] + public string C7 + { + get + { + return this._C7; + } + set + { + if ((this._C7 != value)) + { + this.OnC7Changing(value); + this.SendPropertyChanging(); + this._C7 = value; + this.SendPropertyChanged("C7"); + this.OnC7Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C8", DbType="NVarChar(50)")] + public string C8 + { + get + { + return this._C8; + } + set + { + if ((this._C8 != value)) + { + this.OnC8Changing(value); + this.SendPropertyChanging(); + this._C8 = value; + this.SendPropertyChanged("C8"); + this.OnC8Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C9", DbType="NVarChar(50)")] + public string C9 + { + get + { + return this._C9; + } + set + { + if ((this._C9 != value)) + { + this.OnC9Changing(value); + this.SendPropertyChanging(); + this._C9 = value; + this.SendPropertyChanged("C9"); + this.OnC9Changed(); + } + } + } + + 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)); + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_ContractQuantitySheet")] public partial class CLGL_ContractQuantitySheet : INotifyPropertyChanging, INotifyPropertyChanged { @@ -73373,6 +75952,2102 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_PipelineMaterialCodeList")] + public partial class CLGL_PipelineMaterialCodeList : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _C1; + + private string _C2; + + private string _C3; + + private string _C4; + + private string _C5; + + private string _C6; + + private string _C7; + + private string _C8; + + private string _C9; + + private string _C10; + + private string _C11; + + private string _C12; + + private string _C13; + + private string _C14; + + private string _C15; + + private string _C16; + + private string _C17; + + private string _C18; + + private string _C19; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnC1Changing(string value); + partial void OnC1Changed(); + partial void OnC2Changing(string value); + partial void OnC2Changed(); + partial void OnC3Changing(string value); + partial void OnC3Changed(); + partial void OnC4Changing(string value); + partial void OnC4Changed(); + partial void OnC5Changing(string value); + partial void OnC5Changed(); + partial void OnC6Changing(string value); + partial void OnC6Changed(); + partial void OnC7Changing(string value); + partial void OnC7Changed(); + partial void OnC8Changing(string value); + partial void OnC8Changed(); + partial void OnC9Changing(string value); + partial void OnC9Changed(); + partial void OnC10Changing(string value); + partial void OnC10Changed(); + partial void OnC11Changing(string value); + partial void OnC11Changed(); + partial void OnC12Changing(string value); + partial void OnC12Changed(); + partial void OnC13Changing(string value); + partial void OnC13Changed(); + partial void OnC14Changing(string value); + partial void OnC14Changed(); + partial void OnC15Changing(string value); + partial void OnC15Changed(); + partial void OnC16Changing(string value); + partial void OnC16Changed(); + partial void OnC17Changing(string value); + partial void OnC17Changed(); + partial void OnC18Changing(string value); + partial void OnC18Changed(); + partial void OnC19Changing(string value); + partial void OnC19Changed(); + #endregion + + public CLGL_PipelineMaterialCodeList() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C1", DbType="NVarChar(50)")] + public string C1 + { + get + { + return this._C1; + } + set + { + if ((this._C1 != value)) + { + this.OnC1Changing(value); + this.SendPropertyChanging(); + this._C1 = value; + this.SendPropertyChanged("C1"); + this.OnC1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C2", DbType="NVarChar(50)")] + public string C2 + { + get + { + return this._C2; + } + set + { + if ((this._C2 != value)) + { + this.OnC2Changing(value); + this.SendPropertyChanging(); + this._C2 = value; + this.SendPropertyChanged("C2"); + this.OnC2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C3", DbType="NVarChar(50)")] + public string C3 + { + get + { + return this._C3; + } + set + { + if ((this._C3 != value)) + { + this.OnC3Changing(value); + this.SendPropertyChanging(); + this._C3 = value; + this.SendPropertyChanged("C3"); + this.OnC3Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C4", DbType="NVarChar(50)")] + public string C4 + { + get + { + return this._C4; + } + set + { + if ((this._C4 != value)) + { + this.OnC4Changing(value); + this.SendPropertyChanging(); + this._C4 = value; + this.SendPropertyChanged("C4"); + this.OnC4Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C5", DbType="NVarChar(50)")] + public string C5 + { + get + { + return this._C5; + } + set + { + if ((this._C5 != value)) + { + this.OnC5Changing(value); + this.SendPropertyChanging(); + this._C5 = value; + this.SendPropertyChanged("C5"); + this.OnC5Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C6", DbType="NVarChar(50)")] + public string C6 + { + get + { + return this._C6; + } + set + { + if ((this._C6 != value)) + { + this.OnC6Changing(value); + this.SendPropertyChanging(); + this._C6 = value; + this.SendPropertyChanged("C6"); + this.OnC6Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C7", DbType="NVarChar(50)")] + public string C7 + { + get + { + return this._C7; + } + set + { + if ((this._C7 != value)) + { + this.OnC7Changing(value); + this.SendPropertyChanging(); + this._C7 = value; + this.SendPropertyChanged("C7"); + this.OnC7Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C8", DbType="NVarChar(50)")] + public string C8 + { + get + { + return this._C8; + } + set + { + if ((this._C8 != value)) + { + this.OnC8Changing(value); + this.SendPropertyChanging(); + this._C8 = value; + this.SendPropertyChanged("C8"); + this.OnC8Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C9", DbType="NVarChar(50)")] + public string C9 + { + get + { + return this._C9; + } + set + { + if ((this._C9 != value)) + { + this.OnC9Changing(value); + this.SendPropertyChanging(); + this._C9 = value; + this.SendPropertyChanged("C9"); + this.OnC9Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C10", DbType="NVarChar(50)")] + public string C10 + { + get + { + return this._C10; + } + set + { + if ((this._C10 != value)) + { + this.OnC10Changing(value); + this.SendPropertyChanging(); + this._C10 = value; + this.SendPropertyChanged("C10"); + this.OnC10Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C11", DbType="NVarChar(50)")] + public string C11 + { + get + { + return this._C11; + } + set + { + if ((this._C11 != value)) + { + this.OnC11Changing(value); + this.SendPropertyChanging(); + this._C11 = value; + this.SendPropertyChanged("C11"); + this.OnC11Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C12", DbType="NVarChar(50)")] + public string C12 + { + get + { + return this._C12; + } + set + { + if ((this._C12 != value)) + { + this.OnC12Changing(value); + this.SendPropertyChanging(); + this._C12 = value; + this.SendPropertyChanged("C12"); + this.OnC12Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C13", DbType="NVarChar(50)")] + public string C13 + { + get + { + return this._C13; + } + set + { + if ((this._C13 != value)) + { + this.OnC13Changing(value); + this.SendPropertyChanging(); + this._C13 = value; + this.SendPropertyChanged("C13"); + this.OnC13Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C14", DbType="NVarChar(50)")] + public string C14 + { + get + { + return this._C14; + } + set + { + if ((this._C14 != value)) + { + this.OnC14Changing(value); + this.SendPropertyChanging(); + this._C14 = value; + this.SendPropertyChanged("C14"); + this.OnC14Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C15", DbType="NVarChar(50)")] + public string C15 + { + get + { + return this._C15; + } + set + { + if ((this._C15 != value)) + { + this.OnC15Changing(value); + this.SendPropertyChanging(); + this._C15 = value; + this.SendPropertyChanged("C15"); + this.OnC15Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C16", DbType="NVarChar(50)")] + public string C16 + { + get + { + return this._C16; + } + set + { + if ((this._C16 != value)) + { + this.OnC16Changing(value); + this.SendPropertyChanging(); + this._C16 = value; + this.SendPropertyChanged("C16"); + this.OnC16Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C17", DbType="NVarChar(50)")] + public string C17 + { + get + { + return this._C17; + } + set + { + if ((this._C17 != value)) + { + this.OnC17Changing(value); + this.SendPropertyChanging(); + this._C17 = value; + this.SendPropertyChanged("C17"); + this.OnC17Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C18", DbType="NVarChar(50)")] + public string C18 + { + get + { + return this._C18; + } + set + { + if ((this._C18 != value)) + { + this.OnC18Changing(value); + this.SendPropertyChanging(); + this._C18 = value; + this.SendPropertyChanged("C18"); + this.OnC18Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C19", DbType="NVarChar(50)")] + public string C19 + { + get + { + return this._C19; + } + set + { + if ((this._C19 != value)) + { + this.OnC19Changing(value); + this.SendPropertyChanging(); + this._C19 = value; + this.SendPropertyChanged("C19"); + this.OnC19Changed(); + } + } + } + + 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)); + } + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_PipelineMaterialList")] + public partial class CLGL_PipelineMaterialList : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _C1; + + private string _C2; + + private string _C3; + + private string _C4; + + private string _C5; + + private string _C6; + + private string _C7; + + private string _C8; + + private string _C9; + + private string _C10; + + private string _C11; + + private string _C12; + + private string _C13; + + private string _C14; + + private string _C15; + + private string _C16; + + private string _C17; + + private string _C18; + + private string _C19; + + private string _C20; + + private string _C21; + + private string _C22; + + private string _C23; + + private string _C24; + + private string _C25; + + private string _C26; + + private string _C27; + + private string _C28; + + private string _C29; + + private string _C30; + + private string _C31; + + private string _C32; + + private string _C33; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnC1Changing(string value); + partial void OnC1Changed(); + partial void OnC2Changing(string value); + partial void OnC2Changed(); + partial void OnC3Changing(string value); + partial void OnC3Changed(); + partial void OnC4Changing(string value); + partial void OnC4Changed(); + partial void OnC5Changing(string value); + partial void OnC5Changed(); + partial void OnC6Changing(string value); + partial void OnC6Changed(); + partial void OnC7Changing(string value); + partial void OnC7Changed(); + partial void OnC8Changing(string value); + partial void OnC8Changed(); + partial void OnC9Changing(string value); + partial void OnC9Changed(); + partial void OnC10Changing(string value); + partial void OnC10Changed(); + partial void OnC11Changing(string value); + partial void OnC11Changed(); + partial void OnC12Changing(string value); + partial void OnC12Changed(); + partial void OnC13Changing(string value); + partial void OnC13Changed(); + partial void OnC14Changing(string value); + partial void OnC14Changed(); + partial void OnC15Changing(string value); + partial void OnC15Changed(); + partial void OnC16Changing(string value); + partial void OnC16Changed(); + partial void OnC17Changing(string value); + partial void OnC17Changed(); + partial void OnC18Changing(string value); + partial void OnC18Changed(); + partial void OnC19Changing(string value); + partial void OnC19Changed(); + partial void OnC20Changing(string value); + partial void OnC20Changed(); + partial void OnC21Changing(string value); + partial void OnC21Changed(); + partial void OnC22Changing(string value); + partial void OnC22Changed(); + partial void OnC23Changing(string value); + partial void OnC23Changed(); + partial void OnC24Changing(string value); + partial void OnC24Changed(); + partial void OnC25Changing(string value); + partial void OnC25Changed(); + partial void OnC26Changing(string value); + partial void OnC26Changed(); + partial void OnC27Changing(string value); + partial void OnC27Changed(); + partial void OnC28Changing(string value); + partial void OnC28Changed(); + partial void OnC29Changing(string value); + partial void OnC29Changed(); + partial void OnC30Changing(string value); + partial void OnC30Changed(); + partial void OnC31Changing(string value); + partial void OnC31Changed(); + partial void OnC32Changing(string value); + partial void OnC32Changed(); + partial void OnC33Changing(string value); + partial void OnC33Changed(); + #endregion + + public CLGL_PipelineMaterialList() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C1", DbType="NVarChar(50)")] + public string C1 + { + get + { + return this._C1; + } + set + { + if ((this._C1 != value)) + { + this.OnC1Changing(value); + this.SendPropertyChanging(); + this._C1 = value; + this.SendPropertyChanged("C1"); + this.OnC1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C2", DbType="NVarChar(50)")] + public string C2 + { + get + { + return this._C2; + } + set + { + if ((this._C2 != value)) + { + this.OnC2Changing(value); + this.SendPropertyChanging(); + this._C2 = value; + this.SendPropertyChanged("C2"); + this.OnC2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C3", DbType="NVarChar(50)")] + public string C3 + { + get + { + return this._C3; + } + set + { + if ((this._C3 != value)) + { + this.OnC3Changing(value); + this.SendPropertyChanging(); + this._C3 = value; + this.SendPropertyChanged("C3"); + this.OnC3Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C4", DbType="NVarChar(50)")] + public string C4 + { + get + { + return this._C4; + } + set + { + if ((this._C4 != value)) + { + this.OnC4Changing(value); + this.SendPropertyChanging(); + this._C4 = value; + this.SendPropertyChanged("C4"); + this.OnC4Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C5", DbType="NVarChar(50)")] + public string C5 + { + get + { + return this._C5; + } + set + { + if ((this._C5 != value)) + { + this.OnC5Changing(value); + this.SendPropertyChanging(); + this._C5 = value; + this.SendPropertyChanged("C5"); + this.OnC5Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C6", DbType="NVarChar(50)")] + public string C6 + { + get + { + return this._C6; + } + set + { + if ((this._C6 != value)) + { + this.OnC6Changing(value); + this.SendPropertyChanging(); + this._C6 = value; + this.SendPropertyChanged("C6"); + this.OnC6Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C7", DbType="NVarChar(50)")] + public string C7 + { + get + { + return this._C7; + } + set + { + if ((this._C7 != value)) + { + this.OnC7Changing(value); + this.SendPropertyChanging(); + this._C7 = value; + this.SendPropertyChanged("C7"); + this.OnC7Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C8", DbType="NVarChar(50)")] + public string C8 + { + get + { + return this._C8; + } + set + { + if ((this._C8 != value)) + { + this.OnC8Changing(value); + this.SendPropertyChanging(); + this._C8 = value; + this.SendPropertyChanged("C8"); + this.OnC8Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C9", DbType="NVarChar(50)")] + public string C9 + { + get + { + return this._C9; + } + set + { + if ((this._C9 != value)) + { + this.OnC9Changing(value); + this.SendPropertyChanging(); + this._C9 = value; + this.SendPropertyChanged("C9"); + this.OnC9Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C10", DbType="NVarChar(50)")] + public string C10 + { + get + { + return this._C10; + } + set + { + if ((this._C10 != value)) + { + this.OnC10Changing(value); + this.SendPropertyChanging(); + this._C10 = value; + this.SendPropertyChanged("C10"); + this.OnC10Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C11", DbType="NVarChar(50)")] + public string C11 + { + get + { + return this._C11; + } + set + { + if ((this._C11 != value)) + { + this.OnC11Changing(value); + this.SendPropertyChanging(); + this._C11 = value; + this.SendPropertyChanged("C11"); + this.OnC11Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C12", DbType="NVarChar(50)")] + public string C12 + { + get + { + return this._C12; + } + set + { + if ((this._C12 != value)) + { + this.OnC12Changing(value); + this.SendPropertyChanging(); + this._C12 = value; + this.SendPropertyChanged("C12"); + this.OnC12Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C13", DbType="NVarChar(50)")] + public string C13 + { + get + { + return this._C13; + } + set + { + if ((this._C13 != value)) + { + this.OnC13Changing(value); + this.SendPropertyChanging(); + this._C13 = value; + this.SendPropertyChanged("C13"); + this.OnC13Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C14", DbType="NVarChar(50)")] + public string C14 + { + get + { + return this._C14; + } + set + { + if ((this._C14 != value)) + { + this.OnC14Changing(value); + this.SendPropertyChanging(); + this._C14 = value; + this.SendPropertyChanged("C14"); + this.OnC14Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C15", DbType="NVarChar(50)")] + public string C15 + { + get + { + return this._C15; + } + set + { + if ((this._C15 != value)) + { + this.OnC15Changing(value); + this.SendPropertyChanging(); + this._C15 = value; + this.SendPropertyChanged("C15"); + this.OnC15Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C16", DbType="NVarChar(50)")] + public string C16 + { + get + { + return this._C16; + } + set + { + if ((this._C16 != value)) + { + this.OnC16Changing(value); + this.SendPropertyChanging(); + this._C16 = value; + this.SendPropertyChanged("C16"); + this.OnC16Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C17", DbType="NVarChar(50)")] + public string C17 + { + get + { + return this._C17; + } + set + { + if ((this._C17 != value)) + { + this.OnC17Changing(value); + this.SendPropertyChanging(); + this._C17 = value; + this.SendPropertyChanged("C17"); + this.OnC17Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C18", DbType="NVarChar(50)")] + public string C18 + { + get + { + return this._C18; + } + set + { + if ((this._C18 != value)) + { + this.OnC18Changing(value); + this.SendPropertyChanging(); + this._C18 = value; + this.SendPropertyChanged("C18"); + this.OnC18Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C19", DbType="NVarChar(50)")] + public string C19 + { + get + { + return this._C19; + } + set + { + if ((this._C19 != value)) + { + this.OnC19Changing(value); + this.SendPropertyChanging(); + this._C19 = value; + this.SendPropertyChanged("C19"); + this.OnC19Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C20", DbType="NVarChar(50)")] + public string C20 + { + get + { + return this._C20; + } + set + { + if ((this._C20 != value)) + { + this.OnC20Changing(value); + this.SendPropertyChanging(); + this._C20 = value; + this.SendPropertyChanged("C20"); + this.OnC20Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C21", DbType="NVarChar(50)")] + public string C21 + { + get + { + return this._C21; + } + set + { + if ((this._C21 != value)) + { + this.OnC21Changing(value); + this.SendPropertyChanging(); + this._C21 = value; + this.SendPropertyChanged("C21"); + this.OnC21Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C22", DbType="NVarChar(50)")] + public string C22 + { + get + { + return this._C22; + } + set + { + if ((this._C22 != value)) + { + this.OnC22Changing(value); + this.SendPropertyChanging(); + this._C22 = value; + this.SendPropertyChanged("C22"); + this.OnC22Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C23", DbType="NVarChar(50)")] + public string C23 + { + get + { + return this._C23; + } + set + { + if ((this._C23 != value)) + { + this.OnC23Changing(value); + this.SendPropertyChanging(); + this._C23 = value; + this.SendPropertyChanged("C23"); + this.OnC23Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C24", DbType="NVarChar(50)")] + public string C24 + { + get + { + return this._C24; + } + set + { + if ((this._C24 != value)) + { + this.OnC24Changing(value); + this.SendPropertyChanging(); + this._C24 = value; + this.SendPropertyChanged("C24"); + this.OnC24Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C25", DbType="NVarChar(50)")] + public string C25 + { + get + { + return this._C25; + } + set + { + if ((this._C25 != value)) + { + this.OnC25Changing(value); + this.SendPropertyChanging(); + this._C25 = value; + this.SendPropertyChanged("C25"); + this.OnC25Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C26", DbType="NVarChar(50)")] + public string C26 + { + get + { + return this._C26; + } + set + { + if ((this._C26 != value)) + { + this.OnC26Changing(value); + this.SendPropertyChanging(); + this._C26 = value; + this.SendPropertyChanged("C26"); + this.OnC26Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C27", DbType="NVarChar(50)")] + public string C27 + { + get + { + return this._C27; + } + set + { + if ((this._C27 != value)) + { + this.OnC27Changing(value); + this.SendPropertyChanging(); + this._C27 = value; + this.SendPropertyChanged("C27"); + this.OnC27Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C28", DbType="NVarChar(50)")] + public string C28 + { + get + { + return this._C28; + } + set + { + if ((this._C28 != value)) + { + this.OnC28Changing(value); + this.SendPropertyChanging(); + this._C28 = value; + this.SendPropertyChanged("C28"); + this.OnC28Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C29", DbType="NVarChar(50)")] + public string C29 + { + get + { + return this._C29; + } + set + { + if ((this._C29 != value)) + { + this.OnC29Changing(value); + this.SendPropertyChanging(); + this._C29 = value; + this.SendPropertyChanged("C29"); + this.OnC29Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C30", DbType="NVarChar(50)")] + public string C30 + { + get + { + return this._C30; + } + set + { + if ((this._C30 != value)) + { + this.OnC30Changing(value); + this.SendPropertyChanging(); + this._C30 = value; + this.SendPropertyChanged("C30"); + this.OnC30Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C31", DbType="NVarChar(50)")] + public string C31 + { + get + { + return this._C31; + } + set + { + if ((this._C31 != value)) + { + this.OnC31Changing(value); + this.SendPropertyChanging(); + this._C31 = value; + this.SendPropertyChanged("C31"); + this.OnC31Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C32", DbType="NVarChar(50)")] + public string C32 + { + get + { + return this._C32; + } + set + { + if ((this._C32 != value)) + { + this.OnC32Changing(value); + this.SendPropertyChanging(); + this._C32 = value; + this.SendPropertyChanged("C32"); + this.OnC32Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C33", DbType="NVarChar(50)")] + public string C33 + { + get + { + return this._C33; + } + set + { + if ((this._C33 != value)) + { + this.OnC33Changing(value); + this.SendPropertyChanging(); + this._C33 = value; + this.SendPropertyChanged("C33"); + this.OnC33Changed(); + } + } + } + + 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)); + } + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_PipelineMaterialSumList")] + public partial class CLGL_PipelineMaterialSumList : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _Type; + + private string _C1; + + private string _C2; + + private string _C3; + + private string _C4; + + private string _C5; + + private string _C6; + + private string _C7; + + private string _C8; + + private string _C9; + + private string _C10; + + private string _C11; + + private string _C12; + + private string _C13; + + private string _C14; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnTypeChanging(string value); + partial void OnTypeChanged(); + partial void OnC1Changing(string value); + partial void OnC1Changed(); + partial void OnC2Changing(string value); + partial void OnC2Changed(); + partial void OnC3Changing(string value); + partial void OnC3Changed(); + partial void OnC4Changing(string value); + partial void OnC4Changed(); + partial void OnC5Changing(string value); + partial void OnC5Changed(); + partial void OnC6Changing(string value); + partial void OnC6Changed(); + partial void OnC7Changing(string value); + partial void OnC7Changed(); + partial void OnC8Changing(string value); + partial void OnC8Changed(); + partial void OnC9Changing(string value); + partial void OnC9Changed(); + partial void OnC10Changing(string value); + partial void OnC10Changed(); + partial void OnC11Changing(string value); + partial void OnC11Changed(); + partial void OnC12Changing(string value); + partial void OnC12Changed(); + partial void OnC13Changing(string value); + partial void OnC13Changed(); + partial void OnC14Changing(string value); + partial void OnC14Changed(); + #endregion + + public CLGL_PipelineMaterialSumList() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Type", DbType="Char(1)")] + public string Type + { + get + { + return this._Type; + } + set + { + if ((this._Type != value)) + { + this.OnTypeChanging(value); + this.SendPropertyChanging(); + this._Type = value; + this.SendPropertyChanged("Type"); + this.OnTypeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C1", DbType="NVarChar(50)")] + public string C1 + { + get + { + return this._C1; + } + set + { + if ((this._C1 != value)) + { + this.OnC1Changing(value); + this.SendPropertyChanging(); + this._C1 = value; + this.SendPropertyChanged("C1"); + this.OnC1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C2", DbType="NVarChar(50)")] + public string C2 + { + get + { + return this._C2; + } + set + { + if ((this._C2 != value)) + { + this.OnC2Changing(value); + this.SendPropertyChanging(); + this._C2 = value; + this.SendPropertyChanged("C2"); + this.OnC2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C3", DbType="NVarChar(50)")] + public string C3 + { + get + { + return this._C3; + } + set + { + if ((this._C3 != value)) + { + this.OnC3Changing(value); + this.SendPropertyChanging(); + this._C3 = value; + this.SendPropertyChanged("C3"); + this.OnC3Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C4", DbType="NVarChar(50)")] + public string C4 + { + get + { + return this._C4; + } + set + { + if ((this._C4 != value)) + { + this.OnC4Changing(value); + this.SendPropertyChanging(); + this._C4 = value; + this.SendPropertyChanged("C4"); + this.OnC4Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C5", DbType="NVarChar(50)")] + public string C5 + { + get + { + return this._C5; + } + set + { + if ((this._C5 != value)) + { + this.OnC5Changing(value); + this.SendPropertyChanging(); + this._C5 = value; + this.SendPropertyChanged("C5"); + this.OnC5Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C6", DbType="NVarChar(50)")] + public string C6 + { + get + { + return this._C6; + } + set + { + if ((this._C6 != value)) + { + this.OnC6Changing(value); + this.SendPropertyChanging(); + this._C6 = value; + this.SendPropertyChanged("C6"); + this.OnC6Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C7", DbType="NVarChar(50)")] + public string C7 + { + get + { + return this._C7; + } + set + { + if ((this._C7 != value)) + { + this.OnC7Changing(value); + this.SendPropertyChanging(); + this._C7 = value; + this.SendPropertyChanged("C7"); + this.OnC7Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C8", DbType="NVarChar(50)")] + public string C8 + { + get + { + return this._C8; + } + set + { + if ((this._C8 != value)) + { + this.OnC8Changing(value); + this.SendPropertyChanging(); + this._C8 = value; + this.SendPropertyChanged("C8"); + this.OnC8Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C9", DbType="NVarChar(50)")] + public string C9 + { + get + { + return this._C9; + } + set + { + if ((this._C9 != value)) + { + this.OnC9Changing(value); + this.SendPropertyChanging(); + this._C9 = value; + this.SendPropertyChanged("C9"); + this.OnC9Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C10", DbType="NVarChar(50)")] + public string C10 + { + get + { + return this._C10; + } + set + { + if ((this._C10 != value)) + { + this.OnC10Changing(value); + this.SendPropertyChanging(); + this._C10 = value; + this.SendPropertyChanged("C10"); + this.OnC10Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C11", DbType="NVarChar(50)")] + public string C11 + { + get + { + return this._C11; + } + set + { + if ((this._C11 != value)) + { + this.OnC11Changing(value); + this.SendPropertyChanging(); + this._C11 = value; + this.SendPropertyChanged("C11"); + this.OnC11Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C12", DbType="NVarChar(50)")] + public string C12 + { + get + { + return this._C12; + } + set + { + if ((this._C12 != value)) + { + this.OnC12Changing(value); + this.SendPropertyChanging(); + this._C12 = value; + this.SendPropertyChanged("C12"); + this.OnC12Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C13", DbType="NVarChar(50)")] + public string C13 + { + get + { + return this._C13; + } + set + { + if ((this._C13 != value)) + { + this.OnC13Changing(value); + this.SendPropertyChanging(); + this._C13 = value; + this.SendPropertyChanged("C13"); + this.OnC13Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C14", DbType="NVarChar(50)")] + public string C14 + { + get + { + return this._C14; + } + set + { + if ((this._C14 != value)) + { + this.OnC14Changing(value); + this.SendPropertyChanging(); + this._C14 = value; + this.SendPropertyChanged("C14"); + this.OnC14Changed(); + } + } + } + + 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)); + } + } + } + + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_PipelineSupplierList")] + public partial class CLGL_PipelineSupplierList : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _C1; + + private string _C2; + + private string _C3; + + private string _C4; + + private string _C5; + + private string _C6; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnC1Changing(string value); + partial void OnC1Changed(); + partial void OnC2Changing(string value); + partial void OnC2Changed(); + partial void OnC3Changing(string value); + partial void OnC3Changed(); + partial void OnC4Changing(string value); + partial void OnC4Changed(); + partial void OnC5Changing(string value); + partial void OnC5Changed(); + partial void OnC6Changing(string value); + partial void OnC6Changed(); + #endregion + + public CLGL_PipelineSupplierList() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C1", DbType="NVarChar(50)")] + public string C1 + { + get + { + return this._C1; + } + set + { + if ((this._C1 != value)) + { + this.OnC1Changing(value); + this.SendPropertyChanging(); + this._C1 = value; + this.SendPropertyChanged("C1"); + this.OnC1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C2", DbType="NVarChar(50)")] + public string C2 + { + get + { + return this._C2; + } + set + { + if ((this._C2 != value)) + { + this.OnC2Changing(value); + this.SendPropertyChanging(); + this._C2 = value; + this.SendPropertyChanged("C2"); + this.OnC2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C3", DbType="NVarChar(50)")] + public string C3 + { + get + { + return this._C3; + } + set + { + if ((this._C3 != value)) + { + this.OnC3Changing(value); + this.SendPropertyChanging(); + this._C3 = value; + this.SendPropertyChanged("C3"); + this.OnC3Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C4", DbType="NVarChar(50)")] + public string C4 + { + get + { + return this._C4; + } + set + { + if ((this._C4 != value)) + { + this.OnC4Changing(value); + this.SendPropertyChanging(); + this._C4 = value; + this.SendPropertyChanged("C4"); + this.OnC4Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C5", DbType="NVarChar(50)")] + public string C5 + { + get + { + return this._C5; + } + set + { + if ((this._C5 != value)) + { + this.OnC5Changing(value); + this.SendPropertyChanging(); + this._C5 = value; + this.SendPropertyChanged("C5"); + this.OnC5Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C6", DbType="NVarChar(50)")] + public string C6 + { + get + { + return this._C6; + } + set + { + if ((this._C6 != value)) + { + this.OnC6Changing(value); + this.SendPropertyChanging(); + this._C6 = value; + this.SendPropertyChanged("C6"); + this.OnC6Changed(); + } + } + } + + 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)); + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_PurchaseRequisition")] public partial class CLGL_PurchaseRequisition : INotifyPropertyChanging, INotifyPropertyChanged { @@ -73867,6 +78542,836 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_RequestDetailList")] + public partial class CLGL_RequestDetailList : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _Id; + + private string _ProjectId; + + private string _C1; + + private string _C2; + + private string _C3; + + private string _C4; + + private string _C5; + + private string _C6; + + private string _C7; + + private string _C8; + + private string _C9; + + private string _C10; + + private string _C11; + + private string _C12; + + private string _C13; + + private string _C14; + + private string _C15; + + private string _C16; + + private string _C17; + + private string _C18; + + private string _C19; + + private string _C20; + + private string _C21; + + private string _C22; + + private string _C23; + + private string _C24; + + private string _C25; + + private string _C26; + + private string _C27; + + private string _C28; + + private string _C29; + + private string _C30; + + private string _C31; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnIdChanging(string value); + partial void OnIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnC1Changing(string value); + partial void OnC1Changed(); + partial void OnC2Changing(string value); + partial void OnC2Changed(); + partial void OnC3Changing(string value); + partial void OnC3Changed(); + partial void OnC4Changing(string value); + partial void OnC4Changed(); + partial void OnC5Changing(string value); + partial void OnC5Changed(); + partial void OnC6Changing(string value); + partial void OnC6Changed(); + partial void OnC7Changing(string value); + partial void OnC7Changed(); + partial void OnC8Changing(string value); + partial void OnC8Changed(); + partial void OnC9Changing(string value); + partial void OnC9Changed(); + partial void OnC10Changing(string value); + partial void OnC10Changed(); + partial void OnC11Changing(string value); + partial void OnC11Changed(); + partial void OnC12Changing(string value); + partial void OnC12Changed(); + partial void OnC13Changing(string value); + partial void OnC13Changed(); + partial void OnC14Changing(string value); + partial void OnC14Changed(); + partial void OnC15Changing(string value); + partial void OnC15Changed(); + partial void OnC16Changing(string value); + partial void OnC16Changed(); + partial void OnC17Changing(string value); + partial void OnC17Changed(); + partial void OnC18Changing(string value); + partial void OnC18Changed(); + partial void OnC19Changing(string value); + partial void OnC19Changed(); + partial void OnC20Changing(string value); + partial void OnC20Changed(); + partial void OnC21Changing(string value); + partial void OnC21Changed(); + partial void OnC22Changing(string value); + partial void OnC22Changed(); + partial void OnC23Changing(string value); + partial void OnC23Changed(); + partial void OnC24Changing(string value); + partial void OnC24Changed(); + partial void OnC25Changing(string value); + partial void OnC25Changed(); + partial void OnC26Changing(string value); + partial void OnC26Changed(); + partial void OnC27Changing(string value); + partial void OnC27Changed(); + partial void OnC28Changing(string value); + partial void OnC28Changed(); + partial void OnC29Changing(string value); + partial void OnC29Changed(); + partial void OnC30Changing(string value); + partial void OnC30Changed(); + partial void OnC31Changing(string value); + partial void OnC31Changed(); + #endregion + + public CLGL_RequestDetailList() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Id", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string Id + { + get + { + return this._Id; + } + set + { + if ((this._Id != value)) + { + this.OnIdChanging(value); + this.SendPropertyChanging(); + this._Id = value; + this.SendPropertyChanged("Id"); + this.OnIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")] + public string ProjectId + { + get + { + return this._ProjectId; + } + set + { + if ((this._ProjectId != value)) + { + this.OnProjectIdChanging(value); + this.SendPropertyChanging(); + this._ProjectId = value; + this.SendPropertyChanged("ProjectId"); + this.OnProjectIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C1", DbType="NVarChar(200)")] + public string C1 + { + get + { + return this._C1; + } + set + { + if ((this._C1 != value)) + { + this.OnC1Changing(value); + this.SendPropertyChanging(); + this._C1 = value; + this.SendPropertyChanged("C1"); + this.OnC1Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C2", DbType="NVarChar(200)")] + public string C2 + { + get + { + return this._C2; + } + set + { + if ((this._C2 != value)) + { + this.OnC2Changing(value); + this.SendPropertyChanging(); + this._C2 = value; + this.SendPropertyChanged("C2"); + this.OnC2Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C3", DbType="NVarChar(200)")] + public string C3 + { + get + { + return this._C3; + } + set + { + if ((this._C3 != value)) + { + this.OnC3Changing(value); + this.SendPropertyChanging(); + this._C3 = value; + this.SendPropertyChanged("C3"); + this.OnC3Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C4", DbType="NVarChar(200)")] + public string C4 + { + get + { + return this._C4; + } + set + { + if ((this._C4 != value)) + { + this.OnC4Changing(value); + this.SendPropertyChanging(); + this._C4 = value; + this.SendPropertyChanged("C4"); + this.OnC4Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C5", DbType="NVarChar(200)")] + public string C5 + { + get + { + return this._C5; + } + set + { + if ((this._C5 != value)) + { + this.OnC5Changing(value); + this.SendPropertyChanging(); + this._C5 = value; + this.SendPropertyChanged("C5"); + this.OnC5Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C6", DbType="NVarChar(200)")] + public string C6 + { + get + { + return this._C6; + } + set + { + if ((this._C6 != value)) + { + this.OnC6Changing(value); + this.SendPropertyChanging(); + this._C6 = value; + this.SendPropertyChanged("C6"); + this.OnC6Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C7", DbType="NVarChar(200)")] + public string C7 + { + get + { + return this._C7; + } + set + { + if ((this._C7 != value)) + { + this.OnC7Changing(value); + this.SendPropertyChanging(); + this._C7 = value; + this.SendPropertyChanged("C7"); + this.OnC7Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C8", DbType="NVarChar(200)")] + public string C8 + { + get + { + return this._C8; + } + set + { + if ((this._C8 != value)) + { + this.OnC8Changing(value); + this.SendPropertyChanging(); + this._C8 = value; + this.SendPropertyChanged("C8"); + this.OnC8Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C9", DbType="NVarChar(200)")] + public string C9 + { + get + { + return this._C9; + } + set + { + if ((this._C9 != value)) + { + this.OnC9Changing(value); + this.SendPropertyChanging(); + this._C9 = value; + this.SendPropertyChanged("C9"); + this.OnC9Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C10", DbType="NVarChar(200)")] + public string C10 + { + get + { + return this._C10; + } + set + { + if ((this._C10 != value)) + { + this.OnC10Changing(value); + this.SendPropertyChanging(); + this._C10 = value; + this.SendPropertyChanged("C10"); + this.OnC10Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C11", DbType="NVarChar(200)")] + public string C11 + { + get + { + return this._C11; + } + set + { + if ((this._C11 != value)) + { + this.OnC11Changing(value); + this.SendPropertyChanging(); + this._C11 = value; + this.SendPropertyChanged("C11"); + this.OnC11Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C12", DbType="NVarChar(200)")] + public string C12 + { + get + { + return this._C12; + } + set + { + if ((this._C12 != value)) + { + this.OnC12Changing(value); + this.SendPropertyChanging(); + this._C12 = value; + this.SendPropertyChanged("C12"); + this.OnC12Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C13", DbType="NVarChar(200)")] + public string C13 + { + get + { + return this._C13; + } + set + { + if ((this._C13 != value)) + { + this.OnC13Changing(value); + this.SendPropertyChanging(); + this._C13 = value; + this.SendPropertyChanged("C13"); + this.OnC13Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C14", DbType="NVarChar(200)")] + public string C14 + { + get + { + return this._C14; + } + set + { + if ((this._C14 != value)) + { + this.OnC14Changing(value); + this.SendPropertyChanging(); + this._C14 = value; + this.SendPropertyChanged("C14"); + this.OnC14Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C15", DbType="NVarChar(200)")] + public string C15 + { + get + { + return this._C15; + } + set + { + if ((this._C15 != value)) + { + this.OnC15Changing(value); + this.SendPropertyChanging(); + this._C15 = value; + this.SendPropertyChanged("C15"); + this.OnC15Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C16", DbType="NVarChar(200)")] + public string C16 + { + get + { + return this._C16; + } + set + { + if ((this._C16 != value)) + { + this.OnC16Changing(value); + this.SendPropertyChanging(); + this._C16 = value; + this.SendPropertyChanged("C16"); + this.OnC16Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C17", DbType="NVarChar(200)")] + public string C17 + { + get + { + return this._C17; + } + set + { + if ((this._C17 != value)) + { + this.OnC17Changing(value); + this.SendPropertyChanging(); + this._C17 = value; + this.SendPropertyChanged("C17"); + this.OnC17Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C18", DbType="NVarChar(200)")] + public string C18 + { + get + { + return this._C18; + } + set + { + if ((this._C18 != value)) + { + this.OnC18Changing(value); + this.SendPropertyChanging(); + this._C18 = value; + this.SendPropertyChanged("C18"); + this.OnC18Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C19", DbType="NVarChar(200)")] + public string C19 + { + get + { + return this._C19; + } + set + { + if ((this._C19 != value)) + { + this.OnC19Changing(value); + this.SendPropertyChanging(); + this._C19 = value; + this.SendPropertyChanged("C19"); + this.OnC19Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C20", DbType="NVarChar(200)")] + public string C20 + { + get + { + return this._C20; + } + set + { + if ((this._C20 != value)) + { + this.OnC20Changing(value); + this.SendPropertyChanging(); + this._C20 = value; + this.SendPropertyChanged("C20"); + this.OnC20Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C21", DbType="NVarChar(200)")] + public string C21 + { + get + { + return this._C21; + } + set + { + if ((this._C21 != value)) + { + this.OnC21Changing(value); + this.SendPropertyChanging(); + this._C21 = value; + this.SendPropertyChanged("C21"); + this.OnC21Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C22", DbType="NVarChar(200)")] + public string C22 + { + get + { + return this._C22; + } + set + { + if ((this._C22 != value)) + { + this.OnC22Changing(value); + this.SendPropertyChanging(); + this._C22 = value; + this.SendPropertyChanged("C22"); + this.OnC22Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C23", DbType="NVarChar(200)")] + public string C23 + { + get + { + return this._C23; + } + set + { + if ((this._C23 != value)) + { + this.OnC23Changing(value); + this.SendPropertyChanging(); + this._C23 = value; + this.SendPropertyChanged("C23"); + this.OnC23Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C24", DbType="NVarChar(200)")] + public string C24 + { + get + { + return this._C24; + } + set + { + if ((this._C24 != value)) + { + this.OnC24Changing(value); + this.SendPropertyChanging(); + this._C24 = value; + this.SendPropertyChanged("C24"); + this.OnC24Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C25", DbType="NVarChar(200)")] + public string C25 + { + get + { + return this._C25; + } + set + { + if ((this._C25 != value)) + { + this.OnC25Changing(value); + this.SendPropertyChanging(); + this._C25 = value; + this.SendPropertyChanged("C25"); + this.OnC25Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C26", DbType="NVarChar(200)")] + public string C26 + { + get + { + return this._C26; + } + set + { + if ((this._C26 != value)) + { + this.OnC26Changing(value); + this.SendPropertyChanging(); + this._C26 = value; + this.SendPropertyChanged("C26"); + this.OnC26Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C27", DbType="NVarChar(200)")] + public string C27 + { + get + { + return this._C27; + } + set + { + if ((this._C27 != value)) + { + this.OnC27Changing(value); + this.SendPropertyChanging(); + this._C27 = value; + this.SendPropertyChanged("C27"); + this.OnC27Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C28", DbType="NVarChar(200)")] + public string C28 + { + get + { + return this._C28; + } + set + { + if ((this._C28 != value)) + { + this.OnC28Changing(value); + this.SendPropertyChanging(); + this._C28 = value; + this.SendPropertyChanged("C28"); + this.OnC28Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C29", DbType="NVarChar(200)")] + public string C29 + { + get + { + return this._C29; + } + set + { + if ((this._C29 != value)) + { + this.OnC29Changing(value); + this.SendPropertyChanging(); + this._C29 = value; + this.SendPropertyChanged("C29"); + this.OnC29Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C30", DbType="NVarChar(200)")] + public string C30 + { + get + { + return this._C30; + } + set + { + if ((this._C30 != value)) + { + this.OnC30Changing(value); + this.SendPropertyChanging(); + this._C30 = value; + this.SendPropertyChanged("C30"); + this.OnC30Changed(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_C31", DbType="NVarChar(200)")] + public string C31 + { + get + { + return this._C31; + } + set + { + if ((this._C31 != value)) + { + this.OnC31Changing(value); + this.SendPropertyChanging(); + this._C31 = value; + this.SendPropertyChanged("C31"); + this.OnC31Changed(); + } + } + } + + 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)); + } + } + } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.CLGL_SubUnit")] public partial class CLGL_SubUnit : INotifyPropertyChanging, INotifyPropertyChanged { diff --git a/SGGL/Model/Num.cs b/SGGL/Model/Num.cs index a0a3d879..89daac74 100644 --- a/SGGL/Model/Num.cs +++ b/SGGL/Model/Num.cs @@ -27,5 +27,9 @@ namespace Model public int num8 { get; set; } public int num9 { get; set; } + + public decimal num10 { get; set; } + + public decimal num11 { get; set; } } }