From c41b3b9777a28b2736ea4dbe283dfa5162f2c8b1 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Thu, 10 Aug 2023 10:03:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DataBase/版本日志/SGGLDB_WH_2023-08-04.sql | 174 ++++ SGGL/Model/Model.cs | 963 +++++++++++++++++++++ 2 files changed, 1137 insertions(+) create mode 100644 DataBase/版本日志/SGGLDB_WH_2023-08-04.sql diff --git a/DataBase/版本日志/SGGLDB_WH_2023-08-04.sql b/DataBase/版本日志/SGGLDB_WH_2023-08-04.sql new file mode 100644 index 00000000..165baecc --- /dev/null +++ b/DataBase/版本日志/SGGLDB_WH_2023-08-04.sql @@ -0,0 +1,174 @@ + + alter table Sys_HttpLog add MeThod nvarchar(50) + go + +INSERT Sys_Menu (MenuId,MenuName,SortIndex,SuperMenu,MenuType,IsOffice,IsEnd,IsUsed) +VALUES ( N'831FA803-E2E9-4674-9B56-44E5A5DDCB1A',N'ԶϱŶԽ',10,N'0',N'Menu_ZHGL',1,0,1) + +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) +VALUES('FFD221D7-AE05-447F-8727-80058A04F401','ӿ','TaskScheduling/InterFace/InterFaceSet.aspx',20,'831FA803-E2E9-4674-9B56-44E5A5DDCB1A','Menu_ZHGL',1,1) +GO +INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) +VALUES ( N'3D57D9D0-163A-493A-93B4-FF34F7ECD05A',N'FFD221D7-AE05-447F-8727-80058A04F401',N'',1) +INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) +VALUES ( N'518962FE-4E79-4812-8CCD-2EC351DA1EB7',N'FFD221D7-AE05-447F-8727-80058A04F401',N'޸',2) +INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) +VALUES ( N'65C09E8A-1C07-4155-A970-AE2D3DADA794',N'FFD221D7-AE05-447F-8727-80058A04F401',N'ɾ',3) +INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) +VALUES ( N'A4617107-FF92-4446-B037-6D2E15CAAE5C',N'FFD221D7-AE05-447F-8727-80058A04F401',N'',4) +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) +VALUES('FFD221D7-AE05-447F-8727-80058A04F402','嵥','TaskScheduling/InterFace/InterFaceTask.aspx',30,'831FA803-E2E9-4674-9B56-44E5A5DDCB1A','Menu_ZHGL',1,1) +GO +INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) +VALUES ( N'0AA0B45D-28B8-4DEE-9BEE-0CFF08DB42BD',N'FFD221D7-AE05-447F-8727-80058A04F402',N'',1) +INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) +VALUES ( N'77D8A100-82E3-4640-ABB9-61DDB66A1596',N'FFD221D7-AE05-447F-8727-80058A04F402',N'޸',2) +INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) +VALUES ( N'D8621A85-7D2D-4AA8-9C80-321B82FAC36F',N'FFD221D7-AE05-447F-8727-80058A04F402',N'ɾ',3) +INSERT Sys_ButtonToMenu (ButtonToMenuId,MenuId,ButtonName,SortIndex) +VALUES ( N'9E233D11-8160-41A0-AAC6-FAA472E839BD',N'FFD221D7-AE05-447F-8727-80058A04F402',N'',4) +INSERT INTO dbo.Sys_Menu(MenuId,MenuName,Url,SortIndex,SuperMenu,MenuType,IsEnd,IsUsed) +VALUES('FFD221D7-AE05-447F-8727-80058A04F404','ݵ־','TaskScheduling/InterFace/IFLogList.aspx',40,'831FA803-E2E9-4674-9B56-44E5A5DDCB1A','Menu_ZHGL',1,1) +GO + go + CREATE TABLE [dbo].[InterFaceLog]( + [InterFaceLogId] [nvarchar](50) NOT NULL, + [UserId] [nvarchar](50) NULL, + [UnitId] [nvarchar](50) NULL, + [InterFaceName] [nchar](10) NULL, + [InterFaceUrl] [varchar](max) NULL, + [InterFaceMehtod] [nchar](10) NULL, + [InterFaceBody] [varchar](max) NULL, + [InterFaceReturnData] [varchar](max) NULL, + [InterFaceLogDate] [datetime] NULL, + [InterFaceType] [nvarchar](50) NULL, + [LogSate] [bit] NULL, + [IP] [nvarchar](50) NULL, + CONSTRAINT [PK_InterFaceLog] PRIMARY KEY CLUSTERED +( + [InterFaceLogId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] + +GO + +SET ANSI_PADDING OFF +GO + + + +CREATE TABLE [dbo].[InterFaceSet]( + [InterFaceSetId] [nvarchar](50) NOT NULL, + [InterFaceName] [nvarchar](100) NULL, + [InterFaceUrl] [nvarchar](500) NULL, + [UrlReqMethod] [varchar](50) NULL, + [UnitId] [nvarchar](50) NULL, + [AuthUnitIds] [nvarchar](1020) NULL, + [AuthUnitName] [nvarchar](2000) NULL, + [IsOpen] [bit] NULL, + [ValidPeriod] [nvarchar](20) NULL, + [TxtRemarks] [nvarchar](2000) NULL, + [InterFaceForUrl] [nvarchar](500) NULL, + [ForUrlReqMethod] [varchar](50) NULL, + [IsCallBack] [bit] NULL, + [InterFaceCallBackUrl] [nvarchar](500) NULL, + [CallBackUrlReqMethod] [varchar](50) NULL, + CONSTRAINT [PK_InterFaceSet] PRIMARY KEY CLUSTERED +( + [InterFaceSetId] 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'InterFaceSet', @level2type=N'COLUMN',@level2name=N'InterFaceSetId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ӿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceSet', @level2type=N'COLUMN',@level2name=N'InterFaceName' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ӿڵַ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceSet', @level2type=N'COLUMN',@level2name=N'InterFaceUrl' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Դλ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceSet', @level2type=N'COLUMN',@level2name=N'UnitId' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ȩλɶѡʹãƴ20' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceSet', @level2type=N'COLUMN',@level2name=N'AuthUnitIds' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ƿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceSet', @level2type=N'COLUMN',@level2name=N'IsOpen' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ƶʣƴ߿ʱ磺08-1215-1822-24' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceSet', @level2type=N'COLUMN',@level2name=N'ValidPeriod' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ע' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceSet', @level2type=N'COLUMN',@level2name=N'TxtRemarks' +GO + + + +CREATE TABLE [dbo].[InterFaceTask]( + [InterFaceTaskId] [nvarchar](50) NOT NULL, + [InterFaceName] [nvarchar](100) NULL, + [InterFaceSetLists] [nvarchar](max) NULL, + [Frequency] [nchar](10) NULL, + [CreateTime] [datetime] NULL, + [Enable] [bit] NULL, + CONSTRAINT [PK_InterFaceDetail] PRIMARY KEY CLUSTERED +( + [InterFaceTaskId] ASC +)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] +) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY] + +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ӿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceTask', @level2type=N'COLUMN',@level2name=N'InterFaceName' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ӿϢ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceTask', @level2type=N'COLUMN',@level2name=N'InterFaceSetLists' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ƶ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceTask', @level2type=N'COLUMN',@level2name=N'Frequency' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'ʱ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceTask', @level2type=N'COLUMN',@level2name=N'CreateTime' +GO + +EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'Ƿ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'InterFaceTask', @level2type=N'COLUMN',@level2name=N'Enable' +GO + + +delete from Sys_Const where GroupId='InterfacePopup'; + +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'AccidentEvent', '/DataShow/Accident.aspx',1,'InterfacePopup') --¹¼ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'ConstructionEquipment', '/DataShow/ConstructionEquipment.aspx',1,'InterfacePopup')--ʩ豸 +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'EmergencyManagement', '/DataShow/Emergency.aspx',1,'InterfacePopup')--Ӧ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'EnvironmentalData', '/DataShow/Environmental.aspx',1,'InterfacePopup')-- +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'HiddenRectification', '/DataShow/HiddenRectification.aspx',1,'InterfacePopup')--Ų +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'HighRiskWorkPermit', '/DataShow/License.aspx',1,'InterfacePopup')--߷ҵ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'LargeDangerousProject', '/DataShow/LargeEngineering.aspx',1,'InterfacePopup')--Σ󹤳 +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'ProjectInfomation', '/DataShow/Project.aspx',1,'InterfacePopup')--ĿϢ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'SafeCheck', '/DataShow/Check.aspx',1,'InterfacePopup')--ȫල +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'SafeCost', '/DataShow/SecurityCost.aspx',1,'InterfacePopup')--ȫ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'SafePerson_Branch', '/DataShow/CompanyPerson.aspx',1,'InterfacePopup')--֧ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'SafePerson_HeadOffice', '/DataShow/CompanyPerson.aspx',1,'InterfacePopup')--ҵܲ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'SafePerson_ProjectPerson', '/DataShow/ProjectPerson.aspx',1,'InterfacePopup')--ĿԱ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'SafeRiskData', '/DataShow/SecurityRisk.aspx',1,'InterfacePopup')--ȫ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'SafeTrainData', '/DataShow/EduTrain.aspx',1,'InterfacePopup')--ȫѵ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'SafetyMeetingData', '/DataShow/Meeting.aspx',1,'InterfacePopup')--ȫ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'WorkingHourData', '/DataShow/WorkingHours.aspx',1,'InterfacePopup')--ʱ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'QualityTrainingData', '/DataShow/QualityTraining.aspx',1,'InterfacePopup')--ѵ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'MeasuringInstrumentsData', '/DataShow/QualityInstruments.aspx',1,'InterfacePopup')-- +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'ManagerData', '/DataShow/QualityPerson.aspx',1,'InterfacePopup')--Ա +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'QualityProblem', '/DataShow/QualityProblem.aspx',1,'InterfacePopup')-- +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'QualityControlPoint', '/DataShow/QualityControlPoint.aspx',1,'InterfacePopup')--Ƶ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'QualityAcceptance', '/DataShow/QualityAcceptance.aspx',1,'InterfacePopup')-- +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'ProjectDivision', '/DataShow/ProjectDivision.aspx',1,'InterfacePopup')--̻ +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'HjData', '/DataShow/HJGLWelding.aspx',1,'InterfacePopup')-- +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'DefectAnalysis', '/DataShow/HJGLDefect.aspx',1,'InterfacePopup')--ȱݷ + +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'', 'http://114.247.88.97:20080/',1,'SafeReferer')--referer +insert into Sys_Const ([ID],[ConstText],[ConstValue],[SortIndex],[GroupId]) values (NEWID(),'nbd', 'https://lygcgs.com.cn/',1,'SafeReferer')--referer diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 840c11be..fe0501a5 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -1202,6 +1202,15 @@ namespace Model partial void InsertInformationProject_WorkSummaryReport(InformationProject_WorkSummaryReport instance); partial void UpdateInformationProject_WorkSummaryReport(InformationProject_WorkSummaryReport instance); partial void DeleteInformationProject_WorkSummaryReport(InformationProject_WorkSummaryReport instance); + partial void InsertInterFaceLog(InterFaceLog instance); + partial void UpdateInterFaceLog(InterFaceLog instance); + partial void DeleteInterFaceLog(InterFaceLog instance); + partial void InsertInterFaceSet(InterFaceSet instance); + partial void UpdateInterFaceSet(InterFaceSet instance); + partial void DeleteInterFaceSet(InterFaceSet instance); + partial void InsertInterFaceTask(InterFaceTask instance); + partial void UpdateInterFaceTask(InterFaceTask instance); + partial void DeleteInterFaceTask(InterFaceTask instance); partial void InsertJDGL_Base_RectificationMeasure(JDGL_Base_RectificationMeasure instance); partial void UpdateJDGL_Base_RectificationMeasure(JDGL_Base_RectificationMeasure instance); partial void DeleteJDGL_Base_RectificationMeasure(JDGL_Base_RectificationMeasure instance); @@ -5540,6 +5549,30 @@ namespace Model } } + public System.Data.Linq.Table InterFaceLog + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table InterFaceSet + { + get + { + return this.GetTable(); + } + } + + public System.Data.Linq.Table InterFaceTask + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table JDGL_Base_RectificationMeasure { get @@ -197635,6 +197668,912 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.InterFaceLog")] + public partial class InterFaceLog : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _InterFaceLogId; + + private string _UserId; + + private string _UnitId; + + private string _InterFaceName; + + private string _InterFaceUrl; + + private string _InterFaceMehtod; + + private string _InterFaceBody; + + private string _InterFaceReturnData; + + private System.Nullable _InterFaceLogDate; + + private string _InterFaceType; + + private System.Nullable _LogSate; + + private string _IP; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnInterFaceLogIdChanging(string value); + partial void OnInterFaceLogIdChanged(); + partial void OnUserIdChanging(string value); + partial void OnUserIdChanged(); + partial void OnUnitIdChanging(string value); + partial void OnUnitIdChanged(); + partial void OnInterFaceNameChanging(string value); + partial void OnInterFaceNameChanged(); + partial void OnInterFaceUrlChanging(string value); + partial void OnInterFaceUrlChanged(); + partial void OnInterFaceMehtodChanging(string value); + partial void OnInterFaceMehtodChanged(); + partial void OnInterFaceBodyChanging(string value); + partial void OnInterFaceBodyChanged(); + partial void OnInterFaceReturnDataChanging(string value); + partial void OnInterFaceReturnDataChanged(); + partial void OnInterFaceLogDateChanging(System.Nullable value); + partial void OnInterFaceLogDateChanged(); + partial void OnInterFaceTypeChanging(string value); + partial void OnInterFaceTypeChanged(); + partial void OnLogSateChanging(System.Nullable value); + partial void OnLogSateChanged(); + partial void OnIPChanging(string value); + partial void OnIPChanged(); + #endregion + + public InterFaceLog() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceLogId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string InterFaceLogId + { + get + { + return this._InterFaceLogId; + } + set + { + if ((this._InterFaceLogId != value)) + { + this.OnInterFaceLogIdChanging(value); + this.SendPropertyChanging(); + this._InterFaceLogId = value; + this.SendPropertyChanged("InterFaceLogId"); + this.OnInterFaceLogIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UserId", DbType="NVarChar(50)")] + public string UserId + { + get + { + return this._UserId; + } + set + { + if ((this._UserId != value)) + { + this.OnUserIdChanging(value); + this.SendPropertyChanging(); + this._UserId = value; + this.SendPropertyChanged("UserId"); + this.OnUserIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] + public string UnitId + { + get + { + return this._UnitId; + } + set + { + if ((this._UnitId != value)) + { + this.OnUnitIdChanging(value); + this.SendPropertyChanging(); + this._UnitId = value; + this.SendPropertyChanged("UnitId"); + this.OnUnitIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceName", DbType="NChar(10)")] + public string InterFaceName + { + get + { + return this._InterFaceName; + } + set + { + if ((this._InterFaceName != value)) + { + this.OnInterFaceNameChanging(value); + this.SendPropertyChanging(); + this._InterFaceName = value; + this.SendPropertyChanged("InterFaceName"); + this.OnInterFaceNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceUrl", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string InterFaceUrl + { + get + { + return this._InterFaceUrl; + } + set + { + if ((this._InterFaceUrl != value)) + { + this.OnInterFaceUrlChanging(value); + this.SendPropertyChanging(); + this._InterFaceUrl = value; + this.SendPropertyChanged("InterFaceUrl"); + this.OnInterFaceUrlChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceMehtod", DbType="NChar(10)")] + public string InterFaceMehtod + { + get + { + return this._InterFaceMehtod; + } + set + { + if ((this._InterFaceMehtod != value)) + { + this.OnInterFaceMehtodChanging(value); + this.SendPropertyChanging(); + this._InterFaceMehtod = value; + this.SendPropertyChanged("InterFaceMehtod"); + this.OnInterFaceMehtodChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceBody", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string InterFaceBody + { + get + { + return this._InterFaceBody; + } + set + { + if ((this._InterFaceBody != value)) + { + this.OnInterFaceBodyChanging(value); + this.SendPropertyChanging(); + this._InterFaceBody = value; + this.SendPropertyChanged("InterFaceBody"); + this.OnInterFaceBodyChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceReturnData", DbType="VarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string InterFaceReturnData + { + get + { + return this._InterFaceReturnData; + } + set + { + if ((this._InterFaceReturnData != value)) + { + this.OnInterFaceReturnDataChanging(value); + this.SendPropertyChanging(); + this._InterFaceReturnData = value; + this.SendPropertyChanged("InterFaceReturnData"); + this.OnInterFaceReturnDataChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceLogDate", DbType="DateTime")] + public System.Nullable InterFaceLogDate + { + get + { + return this._InterFaceLogDate; + } + set + { + if ((this._InterFaceLogDate != value)) + { + this.OnInterFaceLogDateChanging(value); + this.SendPropertyChanging(); + this._InterFaceLogDate = value; + this.SendPropertyChanged("InterFaceLogDate"); + this.OnInterFaceLogDateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceType", DbType="NVarChar(50)")] + public string InterFaceType + { + get + { + return this._InterFaceType; + } + set + { + if ((this._InterFaceType != value)) + { + this.OnInterFaceTypeChanging(value); + this.SendPropertyChanging(); + this._InterFaceType = value; + this.SendPropertyChanged("InterFaceType"); + this.OnInterFaceTypeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_LogSate", DbType="Bit")] + public System.Nullable LogSate + { + get + { + return this._LogSate; + } + set + { + if ((this._LogSate != value)) + { + this.OnLogSateChanging(value); + this.SendPropertyChanging(); + this._LogSate = value; + this.SendPropertyChanged("LogSate"); + this.OnLogSateChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IP", DbType="NVarChar(50)")] + public string IP + { + get + { + return this._IP; + } + set + { + if ((this._IP != value)) + { + this.OnIPChanging(value); + this.SendPropertyChanging(); + this._IP = value; + this.SendPropertyChanged("IP"); + this.OnIPChanged(); + } + } + } + + 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.InterFaceSet")] + public partial class InterFaceSet : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _InterFaceSetId; + + private string _InterFaceName; + + private string _InterFaceUrl; + + private string _UrlReqMethod; + + private string _UnitId; + + private string _AuthUnitIds; + + private string _AuthUnitName; + + private System.Nullable _IsOpen; + + private string _ValidPeriod; + + private string _TxtRemarks; + + private string _InterFaceForUrl; + + private string _ForUrlReqMethod; + + private System.Nullable _IsCallBack; + + private string _InterFaceCallBackUrl; + + private string _CallBackUrlReqMethod; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnInterFaceSetIdChanging(string value); + partial void OnInterFaceSetIdChanged(); + partial void OnInterFaceNameChanging(string value); + partial void OnInterFaceNameChanged(); + partial void OnInterFaceUrlChanging(string value); + partial void OnInterFaceUrlChanged(); + partial void OnUrlReqMethodChanging(string value); + partial void OnUrlReqMethodChanged(); + partial void OnUnitIdChanging(string value); + partial void OnUnitIdChanged(); + partial void OnAuthUnitIdsChanging(string value); + partial void OnAuthUnitIdsChanged(); + partial void OnAuthUnitNameChanging(string value); + partial void OnAuthUnitNameChanged(); + partial void OnIsOpenChanging(System.Nullable value); + partial void OnIsOpenChanged(); + partial void OnValidPeriodChanging(string value); + partial void OnValidPeriodChanged(); + partial void OnTxtRemarksChanging(string value); + partial void OnTxtRemarksChanged(); + partial void OnInterFaceForUrlChanging(string value); + partial void OnInterFaceForUrlChanged(); + partial void OnForUrlReqMethodChanging(string value); + partial void OnForUrlReqMethodChanged(); + partial void OnIsCallBackChanging(System.Nullable value); + partial void OnIsCallBackChanged(); + partial void OnInterFaceCallBackUrlChanging(string value); + partial void OnInterFaceCallBackUrlChanged(); + partial void OnCallBackUrlReqMethodChanging(string value); + partial void OnCallBackUrlReqMethodChanged(); + #endregion + + public InterFaceSet() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceSetId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string InterFaceSetId + { + get + { + return this._InterFaceSetId; + } + set + { + if ((this._InterFaceSetId != value)) + { + this.OnInterFaceSetIdChanging(value); + this.SendPropertyChanging(); + this._InterFaceSetId = value; + this.SendPropertyChanged("InterFaceSetId"); + this.OnInterFaceSetIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceName", DbType="NVarChar(100)")] + public string InterFaceName + { + get + { + return this._InterFaceName; + } + set + { + if ((this._InterFaceName != value)) + { + this.OnInterFaceNameChanging(value); + this.SendPropertyChanging(); + this._InterFaceName = value; + this.SendPropertyChanged("InterFaceName"); + this.OnInterFaceNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceUrl", DbType="NVarChar(500)")] + public string InterFaceUrl + { + get + { + return this._InterFaceUrl; + } + set + { + if ((this._InterFaceUrl != value)) + { + this.OnInterFaceUrlChanging(value); + this.SendPropertyChanging(); + this._InterFaceUrl = value; + this.SendPropertyChanged("InterFaceUrl"); + this.OnInterFaceUrlChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UrlReqMethod", DbType="VarChar(50)")] + public string UrlReqMethod + { + get + { + return this._UrlReqMethod; + } + set + { + if ((this._UrlReqMethod != value)) + { + this.OnUrlReqMethodChanging(value); + this.SendPropertyChanging(); + this._UrlReqMethod = value; + this.SendPropertyChanged("UrlReqMethod"); + this.OnUrlReqMethodChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_UnitId", DbType="NVarChar(50)")] + public string UnitId + { + get + { + return this._UnitId; + } + set + { + if ((this._UnitId != value)) + { + this.OnUnitIdChanging(value); + this.SendPropertyChanging(); + this._UnitId = value; + this.SendPropertyChanged("UnitId"); + this.OnUnitIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuthUnitIds", DbType="NVarChar(1020)")] + public string AuthUnitIds + { + get + { + return this._AuthUnitIds; + } + set + { + if ((this._AuthUnitIds != value)) + { + this.OnAuthUnitIdsChanging(value); + this.SendPropertyChanging(); + this._AuthUnitIds = value; + this.SendPropertyChanged("AuthUnitIds"); + this.OnAuthUnitIdsChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AuthUnitName", DbType="NVarChar(2000)")] + public string AuthUnitName + { + get + { + return this._AuthUnitName; + } + set + { + if ((this._AuthUnitName != value)) + { + this.OnAuthUnitNameChanging(value); + this.SendPropertyChanging(); + this._AuthUnitName = value; + this.SendPropertyChanged("AuthUnitName"); + this.OnAuthUnitNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsOpen", DbType="Bit")] + public System.Nullable IsOpen + { + get + { + return this._IsOpen; + } + set + { + if ((this._IsOpen != value)) + { + this.OnIsOpenChanging(value); + this.SendPropertyChanging(); + this._IsOpen = value; + this.SendPropertyChanged("IsOpen"); + this.OnIsOpenChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ValidPeriod", DbType="NVarChar(20)")] + public string ValidPeriod + { + get + { + return this._ValidPeriod; + } + set + { + if ((this._ValidPeriod != value)) + { + this.OnValidPeriodChanging(value); + this.SendPropertyChanging(); + this._ValidPeriod = value; + this.SendPropertyChanged("ValidPeriod"); + this.OnValidPeriodChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TxtRemarks", DbType="NVarChar(2000)")] + public string TxtRemarks + { + get + { + return this._TxtRemarks; + } + set + { + if ((this._TxtRemarks != value)) + { + this.OnTxtRemarksChanging(value); + this.SendPropertyChanging(); + this._TxtRemarks = value; + this.SendPropertyChanged("TxtRemarks"); + this.OnTxtRemarksChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceForUrl", DbType="NVarChar(500)")] + public string InterFaceForUrl + { + get + { + return this._InterFaceForUrl; + } + set + { + if ((this._InterFaceForUrl != value)) + { + this.OnInterFaceForUrlChanging(value); + this.SendPropertyChanging(); + this._InterFaceForUrl = value; + this.SendPropertyChanged("InterFaceForUrl"); + this.OnInterFaceForUrlChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ForUrlReqMethod", DbType="VarChar(50)")] + public string ForUrlReqMethod + { + get + { + return this._ForUrlReqMethod; + } + set + { + if ((this._ForUrlReqMethod != value)) + { + this.OnForUrlReqMethodChanging(value); + this.SendPropertyChanging(); + this._ForUrlReqMethod = value; + this.SendPropertyChanged("ForUrlReqMethod"); + this.OnForUrlReqMethodChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_IsCallBack", DbType="Bit")] + public System.Nullable IsCallBack + { + get + { + return this._IsCallBack; + } + set + { + if ((this._IsCallBack != value)) + { + this.OnIsCallBackChanging(value); + this.SendPropertyChanging(); + this._IsCallBack = value; + this.SendPropertyChanged("IsCallBack"); + this.OnIsCallBackChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceCallBackUrl", DbType="NVarChar(500)")] + public string InterFaceCallBackUrl + { + get + { + return this._InterFaceCallBackUrl; + } + set + { + if ((this._InterFaceCallBackUrl != value)) + { + this.OnInterFaceCallBackUrlChanging(value); + this.SendPropertyChanging(); + this._InterFaceCallBackUrl = value; + this.SendPropertyChanged("InterFaceCallBackUrl"); + this.OnInterFaceCallBackUrlChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CallBackUrlReqMethod", DbType="VarChar(50)")] + public string CallBackUrlReqMethod + { + get + { + return this._CallBackUrlReqMethod; + } + set + { + if ((this._CallBackUrlReqMethod != value)) + { + this.OnCallBackUrlReqMethodChanging(value); + this.SendPropertyChanging(); + this._CallBackUrlReqMethod = value; + this.SendPropertyChanged("CallBackUrlReqMethod"); + this.OnCallBackUrlReqMethodChanged(); + } + } + } + + 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.InterFaceTask")] + public partial class InterFaceTask : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _InterFaceTaskId; + + private string _InterFaceName; + + private string _InterFaceSetLists; + + private string _Frequency; + + private System.Nullable _CreateTime; + + private System.Nullable _Enable; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnInterFaceTaskIdChanging(string value); + partial void OnInterFaceTaskIdChanged(); + partial void OnInterFaceNameChanging(string value); + partial void OnInterFaceNameChanged(); + partial void OnInterFaceSetListsChanging(string value); + partial void OnInterFaceSetListsChanged(); + partial void OnFrequencyChanging(string value); + partial void OnFrequencyChanged(); + partial void OnCreateTimeChanging(System.Nullable value); + partial void OnCreateTimeChanged(); + partial void OnEnableChanging(System.Nullable value); + partial void OnEnableChanged(); + #endregion + + public InterFaceTask() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceTaskId", DbType="NVarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string InterFaceTaskId + { + get + { + return this._InterFaceTaskId; + } + set + { + if ((this._InterFaceTaskId != value)) + { + this.OnInterFaceTaskIdChanging(value); + this.SendPropertyChanging(); + this._InterFaceTaskId = value; + this.SendPropertyChanged("InterFaceTaskId"); + this.OnInterFaceTaskIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceName", DbType="NVarChar(100)")] + public string InterFaceName + { + get + { + return this._InterFaceName; + } + set + { + if ((this._InterFaceName != value)) + { + this.OnInterFaceNameChanging(value); + this.SendPropertyChanging(); + this._InterFaceName = value; + this.SendPropertyChanged("InterFaceName"); + this.OnInterFaceNameChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InterFaceSetLists", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)] + public string InterFaceSetLists + { + get + { + return this._InterFaceSetLists; + } + set + { + if ((this._InterFaceSetLists != value)) + { + this.OnInterFaceSetListsChanging(value); + this.SendPropertyChanging(); + this._InterFaceSetLists = value; + this.SendPropertyChanged("InterFaceSetLists"); + this.OnInterFaceSetListsChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Frequency", DbType="NChar(10)")] + public string Frequency + { + get + { + return this._Frequency; + } + set + { + if ((this._Frequency != value)) + { + this.OnFrequencyChanging(value); + this.SendPropertyChanging(); + this._Frequency = value; + this.SendPropertyChanged("Frequency"); + this.OnFrequencyChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreateTime", DbType="DateTime")] + public System.Nullable CreateTime + { + get + { + return this._CreateTime; + } + set + { + if ((this._CreateTime != value)) + { + this.OnCreateTimeChanging(value); + this.SendPropertyChanging(); + this._CreateTime = value; + this.SendPropertyChanged("CreateTime"); + this.OnCreateTimeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Enable", DbType="Bit")] + public System.Nullable Enable + { + get + { + return this._Enable; + } + set + { + if ((this._Enable != value)) + { + this.OnEnableChanging(value); + this.SendPropertyChanging(); + this._Enable = value; + this.SendPropertyChanged("Enable"); + this.OnEnableChanged(); + } + } + } + + 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.JDGL_Base_RectificationMeasure")] public partial class JDGL_Base_RectificationMeasure : INotifyPropertyChanging, INotifyPropertyChanged { @@ -320073,6 +321012,8 @@ namespace Model private string _LogTxt; + private string _MeThod; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -320087,6 +321028,8 @@ namespace Model partial void OnHttpUrlChanged(); partial void OnLogTxtChanging(string value); partial void OnLogTxtChanged(); + partial void OnMeThodChanging(string value); + partial void OnMeThodChanged(); #endregion public Sys_HttpLog() @@ -320194,6 +321137,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MeThod", DbType="NVarChar(50)")] + public string MeThod + { + get + { + return this._MeThod; + } + set + { + if ((this._MeThod != value)) + { + this.OnMeThodChanging(value); + this.SendPropertyChanging(); + this._MeThod = value; + this.SendPropertyChanged("MeThod"); + this.OnMeThodChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged;