From d0f94051b726aa3572d97aa81dd5c5b36246511f Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Wed, 26 Jun 2024 09:14:56 +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 --- SGGL/FineUIPro.Web/Web.config | 4 +- SGGL/Model/Model.cs | 505 +++++++++++++++++++++------------- 2 files changed, 315 insertions(+), 194 deletions(-) diff --git a/SGGL/FineUIPro.Web/Web.config b/SGGL/FineUIPro.Web/Web.config index 9fc55c34..963148f2 100644 --- a/SGGL/FineUIPro.Web/Web.config +++ b/SGGL/FineUIPro.Web/Web.config @@ -12,7 +12,7 @@ - + @@ -77,7 +77,7 @@ - + diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index ca90b5f2..d48ebc50 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -2078,6 +2078,9 @@ namespace Model partial void InsertRun_ScheduleSetUp(Run_ScheduleSetUp instance); partial void UpdateRun_ScheduleSetUp(Run_ScheduleSetUp instance); partial void DeleteRun_ScheduleSetUp(Run_ScheduleSetUp instance); + partial void InsertRunning_LogMain(Running_LogMain instance); + partial void UpdateRunning_LogMain(Running_LogMain instance); + partial void DeleteRunning_LogMain(Running_LogMain instance); partial void InsertRunning_LogManagement(Running_LogManagement instance); partial void UpdateRunning_LogManagement(Running_LogManagement instance); partial void DeleteRunning_LogManagement(Running_LogManagement instance); @@ -8185,6 +8188,14 @@ namespace Model } } + public System.Data.Linq.Table Running_LogMain + { + get + { + return this.GetTable(); + } + } + public System.Data.Linq.Table Running_LogManagement { get @@ -320255,6 +320266,236 @@ namespace Model } } + [global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.Running_LogMain")] + public partial class Running_LogMain : INotifyPropertyChanging, INotifyPropertyChanged + { + + private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); + + private string _MainId; + + private string _ProjectId; + + private string _JobNo; + + private string _ShiftType; + + private System.Nullable _StartData; + + private System.Nullable _EndData; + + private string _AddUser; + + private System.Nullable _AddTime; + + #region 可扩展性方法定义 + partial void OnLoaded(); + partial void OnValidate(System.Data.Linq.ChangeAction action); + partial void OnCreated(); + partial void OnMainIdChanging(string value); + partial void OnMainIdChanged(); + partial void OnProjectIdChanging(string value); + partial void OnProjectIdChanged(); + partial void OnJobNoChanging(string value); + partial void OnJobNoChanged(); + partial void OnShiftTypeChanging(string value); + partial void OnShiftTypeChanged(); + partial void OnStartDataChanging(System.Nullable value); + partial void OnStartDataChanged(); + partial void OnEndDataChanging(System.Nullable value); + partial void OnEndDataChanged(); + partial void OnAddUserChanging(string value); + partial void OnAddUserChanged(); + partial void OnAddTimeChanging(System.Nullable value); + partial void OnAddTimeChanged(); + #endregion + + public Running_LogMain() + { + OnCreated(); + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainId", DbType="VarChar(50) NOT NULL", CanBeNull=false, IsPrimaryKey=true)] + public string MainId + { + get + { + return this._MainId; + } + set + { + if ((this._MainId != value)) + { + this.OnMainIdChanging(value); + this.SendPropertyChanging(); + this._MainId = value; + this.SendPropertyChanged("MainId"); + this.OnMainIdChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(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="_JobNo", DbType="VarChar(50)")] + public string JobNo + { + get + { + return this._JobNo; + } + set + { + if ((this._JobNo != value)) + { + this.OnJobNoChanging(value); + this.SendPropertyChanging(); + this._JobNo = value; + this.SendPropertyChanged("JobNo"); + this.OnJobNoChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ShiftType", DbType="VarChar(50)")] + public string ShiftType + { + get + { + return this._ShiftType; + } + set + { + if ((this._ShiftType != value)) + { + this.OnShiftTypeChanging(value); + this.SendPropertyChanging(); + this._ShiftType = value; + this.SendPropertyChanged("ShiftType"); + this.OnShiftTypeChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_StartData", DbType="DateTime")] + public System.Nullable StartData + { + get + { + return this._StartData; + } + set + { + if ((this._StartData != value)) + { + this.OnStartDataChanging(value); + this.SendPropertyChanging(); + this._StartData = value; + this.SendPropertyChanged("StartData"); + this.OnStartDataChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_EndData", DbType="DateTime")] + public System.Nullable EndData + { + get + { + return this._EndData; + } + set + { + if ((this._EndData != value)) + { + this.OnEndDataChanging(value); + this.SendPropertyChanging(); + this._EndData = value; + this.SendPropertyChanged("EndData"); + this.OnEndDataChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddUser", DbType="VarChar(50)")] + public string AddUser + { + get + { + return this._AddUser; + } + set + { + if ((this._AddUser != value)) + { + this.OnAddUserChanging(value); + this.SendPropertyChanging(); + this._AddUser = value; + this.SendPropertyChanged("AddUser"); + this.OnAddUserChanged(); + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_AddTime", DbType="DateTime")] + public System.Nullable AddTime + { + get + { + return this._AddTime; + } + set + { + if ((this._AddTime != value)) + { + this.OnAddTimeChanging(value); + this.SendPropertyChanging(); + this._AddTime = value; + this.SendPropertyChanged("AddTime"); + this.OnAddTimeChanged(); + } + } + } + + 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.Running_LogManagement")] public partial class Running_LogManagement : INotifyPropertyChanging, INotifyPropertyChanged { @@ -320295,6 +320536,8 @@ namespace Model private System.Nullable _Sort; + private string _MainId; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -320333,6 +320576,8 @@ namespace Model partial void OnAddTimeChanged(); partial void OnSortChanging(System.Nullable value); partial void OnSortChanged(); + partial void OnMainIdChanging(string value); + partial void OnMainIdChanged(); #endregion public Running_LogManagement() @@ -320680,6 +320925,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainId", DbType="VarChar(50)")] + public string MainId + { + get + { + return this._MainId; + } + set + { + if ((this._MainId != value)) + { + this.OnMainIdChanging(value); + this.SendPropertyChanging(); + this._MainId = value; + this.SendPropertyChanged("MainId"); + this.OnMainIdChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -320709,16 +320974,8 @@ namespace Model private string _MaintenanceId; - private string _RunningId; - private string _ProjectId; - private string _InstallationId; - - private string _ProcessesId; - - private string _SystemId; - private string _MaintenanceReason; private string _MaintenanceHandle; @@ -320729,22 +320986,16 @@ namespace Model private System.Nullable _Sort; + private string _MainId; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnMaintenanceIdChanging(string value); partial void OnMaintenanceIdChanged(); - partial void OnRunningIdChanging(string value); - partial void OnRunningIdChanged(); partial void OnProjectIdChanging(string value); partial void OnProjectIdChanged(); - partial void OnInstallationIdChanging(string value); - partial void OnInstallationIdChanged(); - partial void OnProcessesIdChanging(string value); - partial void OnProcessesIdChanged(); - partial void OnSystemIdChanging(string value); - partial void OnSystemIdChanged(); partial void OnMaintenanceReasonChanging(string value); partial void OnMaintenanceReasonChanged(); partial void OnMaintenanceHandleChanging(string value); @@ -320755,6 +321006,8 @@ namespace Model partial void OnAddTimeChanged(); partial void OnSortChanging(System.Nullable value); partial void OnSortChanged(); + partial void OnMainIdChanging(string value); + partial void OnMainIdChanged(); #endregion public Running_Maintenance() @@ -320782,26 +321035,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RunningId", DbType="VarChar(50)")] - public string RunningId - { - get - { - return this._RunningId; - } - set - { - if ((this._RunningId != value)) - { - this.OnRunningIdChanging(value); - this.SendPropertyChanging(); - this._RunningId = value; - this.SendPropertyChanged("RunningId"); - this.OnRunningIdChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] public string ProjectId { @@ -320822,66 +321055,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="VarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - this.OnInstallationIdChanging(value); - this.SendPropertyChanging(); - this._InstallationId = value; - this.SendPropertyChanged("InstallationId"); - this.OnInstallationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProcessesId", DbType="VarChar(50)")] - public string ProcessesId - { - get - { - return this._ProcessesId; - } - set - { - if ((this._ProcessesId != value)) - { - this.OnProcessesIdChanging(value); - this.SendPropertyChanging(); - this._ProcessesId = value; - this.SendPropertyChanged("ProcessesId"); - this.OnProcessesIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemId", DbType="VarChar(50)")] - public string SystemId - { - get - { - return this._SystemId; - } - set - { - if ((this._SystemId != value)) - { - this.OnSystemIdChanging(value); - this.SendPropertyChanging(); - this._SystemId = value; - this.SendPropertyChanged("SystemId"); - this.OnSystemIdChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MaintenanceReason", DbType="VarChar(1000)")] public string MaintenanceReason { @@ -320982,6 +321155,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainId", DbType="VarChar(50)")] + public string MainId + { + get + { + return this._MainId; + } + set + { + if ((this._MainId != value)) + { + this.OnMainIdChanging(value); + this.SendPropertyChanging(); + this._MainId = value; + this.SendPropertyChanged("MainId"); + this.OnMainIdChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -321011,16 +321204,8 @@ namespace Model private string _OperationId; - private string _RunningId; - private string _ProjectId; - private string _InstallationId; - - private string _ProcessesId; - - private string _SystemId; - private string _OperationReason; private string _OperationHandle; @@ -321031,22 +321216,16 @@ namespace Model private System.Nullable _Sort; + private string _MainId; + #region 可扩展性方法定义 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); partial void OnCreated(); partial void OnOperationIdChanging(string value); partial void OnOperationIdChanged(); - partial void OnRunningIdChanging(string value); - partial void OnRunningIdChanged(); partial void OnProjectIdChanging(string value); partial void OnProjectIdChanged(); - partial void OnInstallationIdChanging(string value); - partial void OnInstallationIdChanged(); - partial void OnProcessesIdChanging(string value); - partial void OnProcessesIdChanged(); - partial void OnSystemIdChanging(string value); - partial void OnSystemIdChanged(); partial void OnOperationReasonChanging(string value); partial void OnOperationReasonChanged(); partial void OnOperationHandleChanging(string value); @@ -321057,6 +321236,8 @@ namespace Model partial void OnAddTimeChanged(); partial void OnSortChanging(System.Nullable value); partial void OnSortChanged(); + partial void OnMainIdChanging(string value); + partial void OnMainIdChanged(); #endregion public Running_Operation() @@ -321084,26 +321265,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_RunningId", DbType="VarChar(50)")] - public string RunningId - { - get - { - return this._RunningId; - } - set - { - if ((this._RunningId != value)) - { - this.OnRunningIdChanging(value); - this.SendPropertyChanging(); - this._RunningId = value; - this.SendPropertyChanged("RunningId"); - this.OnRunningIdChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="VarChar(50)")] public string ProjectId { @@ -321124,66 +321285,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_InstallationId", DbType="VarChar(50)")] - public string InstallationId - { - get - { - return this._InstallationId; - } - set - { - if ((this._InstallationId != value)) - { - this.OnInstallationIdChanging(value); - this.SendPropertyChanging(); - this._InstallationId = value; - this.SendPropertyChanged("InstallationId"); - this.OnInstallationIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProcessesId", DbType="VarChar(50)")] - public string ProcessesId - { - get - { - return this._ProcessesId; - } - set - { - if ((this._ProcessesId != value)) - { - this.OnProcessesIdChanging(value); - this.SendPropertyChanging(); - this._ProcessesId = value; - this.SendPropertyChanged("ProcessesId"); - this.OnProcessesIdChanged(); - } - } - } - - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_SystemId", DbType="VarChar(50)")] - public string SystemId - { - get - { - return this._SystemId; - } - set - { - if ((this._SystemId != value)) - { - this.OnSystemIdChanging(value); - this.SendPropertyChanging(); - this._SystemId = value; - this.SendPropertyChanged("SystemId"); - this.OnSystemIdChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_OperationReason", DbType="VarChar(1000)")] public string OperationReason { @@ -321284,6 +321385,26 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_MainId", DbType="VarChar(50)")] + public string MainId + { + get + { + return this._MainId; + } + set + { + if ((this._MainId != value)) + { + this.OnMainIdChanging(value); + this.SendPropertyChanging(); + this._MainId = value; + this.SendPropertyChanged("MainId"); + this.OnMainIdChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged;