试压包导入

This commit is contained in:
jackchenyang
2024-05-24 21:27:14 +08:00
parent abfad3c2af
commit 3d974eead4
16 changed files with 1034 additions and 929 deletions
+562 -73
View File
@@ -29,10 +29,6 @@ namespace Model
#region
partial void OnCreated();
partial void OnCreated()
{
this.CommandTimeout = 600;
}
partial void InsertAttachFile(AttachFile instance);
partial void UpdateAttachFile(AttachFile instance);
partial void DeleteAttachFile(AttachFile instance);
@@ -225,6 +221,9 @@ namespace Model
partial void InsertPTP_TestPackage(PTP_TestPackage instance);
partial void UpdatePTP_TestPackage(PTP_TestPackage instance);
partial void DeletePTP_TestPackage(PTP_TestPackage instance);
partial void InsertPTP_TestPackage_ImportErrorLog(PTP_TestPackage_ImportErrorLog instance);
partial void UpdatePTP_TestPackage_ImportErrorLog(PTP_TestPackage_ImportErrorLog instance);
partial void DeletePTP_TestPackage_ImportErrorLog(PTP_TestPackage_ImportErrorLog instance);
partial void InsertRepair_RepairRecord(Repair_RepairRecord instance);
partial void UpdateRepair_RepairRecord(Repair_RepairRecord instance);
partial void DeleteRepair_RepairRecord(Repair_RepairRecord instance);
@@ -817,6 +816,14 @@ namespace Model
}
}
public System.Data.Linq.Table<PTP_TestPackage_ImportErrorLog> PTP_TestPackage_ImportErrorLog
{
get
{
return this.GetTable<PTP_TestPackage_ImportErrorLog>();
}
}
public System.Data.Linq.Table<Repair_RepairRecord> Repair_RepairRecord
{
get
@@ -22492,12 +22499,12 @@ namespace Model
private string _DetectionStandard;
private string _Tabler;
private string _Remark;
private System.Nullable<System.DateTime> _CreatedTime;
private string _Tabler;
#region
partial void OnLoaded();
partial void OnValidate(System.Data.Linq.ChangeAction action);
@@ -22516,12 +22523,12 @@ namespace Model
partial void OnUnitIdChanged();
partial void OnDetectionStandardChanging(string value);
partial void OnDetectionStandardChanged();
partial void OnTablerChanging(string value);
partial void OnTablerChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCreatedTimeChanged();
partial void OnTablerChanging(string value);
partial void OnTablerChanged();
#endregion
public PMI_Delegation()
@@ -22589,7 +22596,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ProjectId", DbType="NVarChar(50)")]
public string ProjectId
{
get
@@ -22669,26 +22676,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tabler", DbType="NVarChar(50)")]
public string Tabler
{
get
{
return this._Tabler;
}
set
{
if ((this._Tabler != value))
{
this.OnTablerChanging(value);
this.SendPropertyChanging();
this._Tabler = value;
this.SendPropertyChanged("Tabler");
this.OnTablerChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Remark", DbType="NVarChar(255)")]
public string Remark
{
@@ -22729,6 +22716,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Tabler", DbType="NVarChar(50)")]
public string Tabler
{
get
{
return this._Tabler;
}
set
{
if ((this._Tabler != value))
{
this.OnTablerChanging(value);
this.SendPropertyChanging();
this._Tabler = value;
this.SendPropertyChanged("Tabler");
this.OnTablerChanged();
}
}
}
public event PropertyChangingEventHandler PropertyChanging;
public event PropertyChangedEventHandler PropertyChanged;
@@ -22768,10 +22775,10 @@ namespace Model
private int _Status;
private System.Nullable<System.DateTime> _CheckTime;
private string _ReportNo;
private System.Nullable<System.DateTime> _CheckTime;
private System.Nullable<System.DateTime> _ReportTime;
#region
@@ -22790,10 +22797,10 @@ namespace Model
partial void OnAcceptanceChanged();
partial void OnStatusChanging(int value);
partial void OnStatusChanged();
partial void OnCheckTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCheckTimeChanged();
partial void OnReportNoChanging(string value);
partial void OnReportNoChanged();
partial void OnCheckTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCheckTimeChanged();
partial void OnReportTimeChanging(System.Nullable<System.DateTime> value);
partial void OnReportTimeChanged();
#endregion
@@ -22903,7 +22910,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_Status", DbType="Int NOT NULL")]
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="status", Storage="_Status", DbType="Int NOT NULL")]
public int Status
{
get
@@ -22923,26 +22930,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="checkTime", Storage="_CheckTime", DbType="DateTime")]
public System.Nullable<System.DateTime> CheckTime
{
get
{
return this._CheckTime;
}
set
{
if ((this._CheckTime != value))
{
this.OnCheckTimeChanging(value);
this.SendPropertyChanging();
this._CheckTime = value;
this.SendPropertyChanged("CheckTime");
this.OnCheckTimeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="reportNo", Storage="_ReportNo", DbType="NVarChar(50)")]
public string ReportNo
{
@@ -22963,6 +22950,26 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="checkTime", Storage="_CheckTime", DbType="DateTime")]
public System.Nullable<System.DateTime> CheckTime
{
get
{
return this._CheckTime;
}
set
{
if ((this._CheckTime != value))
{
this.OnCheckTimeChanging(value);
this.SendPropertyChanging();
this._CheckTime = value;
this.SendPropertyChanged("CheckTime");
this.OnCheckTimeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="reportTime", Storage="_ReportTime", DbType="DateTime")]
public System.Nullable<System.DateTime> ReportTime
{
@@ -26739,6 +26746,452 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.TableAttribute(Name="dbo.PTP_TestPackage_ImportErrorLog")]
public partial class PTP_TestPackage_ImportErrorLog : INotifyPropertyChanging, INotifyPropertyChanged
{
private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty);
private string _Id;
private string _BatchNo;
private System.Nullable<int> _RowId;
private string _TestPackageNo;
private string _UnitCode;
private string _InstallCode;
private string _AreaCode;
private string _PiplineCode;
private string _IsAll;
private string _JointCode;
private string _ProjectId;
private string _UnitId;
private string _InstallId;
private string _WorkAreaId;
private string _PipelineId;
private string _Remark;
private System.Nullable<System.DateTime> _CreatedTime;
#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 OnBatchNoChanging(string value);
partial void OnBatchNoChanged();
partial void OnRowIdChanging(System.Nullable<int> value);
partial void OnRowIdChanged();
partial void OnTestPackageNoChanging(string value);
partial void OnTestPackageNoChanged();
partial void OnUnitCodeChanging(string value);
partial void OnUnitCodeChanged();
partial void OnInstallCodeChanging(string value);
partial void OnInstallCodeChanged();
partial void OnAreaCodeChanging(string value);
partial void OnAreaCodeChanged();
partial void OnPiplineCodeChanging(string value);
partial void OnPiplineCodeChanged();
partial void OnIsAllChanging(string value);
partial void OnIsAllChanged();
partial void OnJointCodeChanging(string value);
partial void OnJointCodeChanged();
partial void OnProjectIdChanging(string value);
partial void OnProjectIdChanged();
partial void OnUnitIdChanging(string value);
partial void OnUnitIdChanged();
partial void OnInstallIdChanging(string value);
partial void OnInstallIdChanged();
partial void OnWorkAreaIdChanging(string value);
partial void OnWorkAreaIdChanged();
partial void OnPipelineIdChanging(string value);
partial void OnPipelineIdChanged();
partial void OnRemarkChanging(string value);
partial void OnRemarkChanged();
partial void OnCreatedTimeChanging(System.Nullable<System.DateTime> value);
partial void OnCreatedTimeChanged();
#endregion
public PTP_TestPackage_ImportErrorLog()
{
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(Name="batchNo", Storage="_BatchNo", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string BatchNo
{
get
{
return this._BatchNo;
}
set
{
if ((this._BatchNo != value))
{
this.OnBatchNoChanging(value);
this.SendPropertyChanging();
this._BatchNo = value;
this.SendPropertyChanged("BatchNo");
this.OnBatchNoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="rowId", Storage="_RowId", DbType="Int")]
public System.Nullable<int> RowId
{
get
{
return this._RowId;
}
set
{
if ((this._RowId != value))
{
this.OnRowIdChanging(value);
this.SendPropertyChanging();
this._RowId = value;
this.SendPropertyChanged("RowId");
this.OnRowIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TestPackageNo", DbType="NVarChar(50)")]
public string TestPackageNo
{
get
{
return this._TestPackageNo;
}
set
{
if ((this._TestPackageNo != value))
{
this.OnTestPackageNoChanging(value);
this.SendPropertyChanging();
this._TestPackageNo = value;
this.SendPropertyChanged("TestPackageNo");
this.OnTestPackageNoChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="unitCode", Storage="_UnitCode", DbType="NVarChar(50)")]
public string UnitCode
{
get
{
return this._UnitCode;
}
set
{
if ((this._UnitCode != value))
{
this.OnUnitCodeChanging(value);
this.SendPropertyChanging();
this._UnitCode = value;
this.SendPropertyChanged("UnitCode");
this.OnUnitCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="installCode", Storage="_InstallCode", DbType="NVarChar(50)")]
public string InstallCode
{
get
{
return this._InstallCode;
}
set
{
if ((this._InstallCode != value))
{
this.OnInstallCodeChanging(value);
this.SendPropertyChanging();
this._InstallCode = value;
this.SendPropertyChanged("InstallCode");
this.OnInstallCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="areaCode", Storage="_AreaCode", DbType="NVarChar(50)")]
public string AreaCode
{
get
{
return this._AreaCode;
}
set
{
if ((this._AreaCode != value))
{
this.OnAreaCodeChanging(value);
this.SendPropertyChanging();
this._AreaCode = value;
this.SendPropertyChanged("AreaCode");
this.OnAreaCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="piplineCode", Storage="_PiplineCode", DbType="NVarChar(50)")]
public string PiplineCode
{
get
{
return this._PiplineCode;
}
set
{
if ((this._PiplineCode != value))
{
this.OnPiplineCodeChanging(value);
this.SendPropertyChanging();
this._PiplineCode = value;
this.SendPropertyChanged("PiplineCode");
this.OnPiplineCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="isAll", Storage="_IsAll", DbType="NVarChar(50)")]
public string IsAll
{
get
{
return this._IsAll;
}
set
{
if ((this._IsAll != value))
{
this.OnIsAllChanging(value);
this.SendPropertyChanging();
this._IsAll = value;
this.SendPropertyChanged("IsAll");
this.OnIsAllChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="jointCode", Storage="_JointCode", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string JointCode
{
get
{
return this._JointCode;
}
set
{
if ((this._JointCode != value))
{
this.OnJointCodeChanging(value);
this.SendPropertyChanging();
this._JointCode = value;
this.SendPropertyChanged("JointCode");
this.OnJointCodeChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="projectId", Storage="_ProjectId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
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(Name="unitId", Storage="_UnitId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
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(Name="installId", Storage="_InstallId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string InstallId
{
get
{
return this._InstallId;
}
set
{
if ((this._InstallId != value))
{
this.OnInstallIdChanging(value);
this.SendPropertyChanging();
this._InstallId = value;
this.SendPropertyChanged("InstallId");
this.OnInstallIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="workAreaId", Storage="_WorkAreaId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string WorkAreaId
{
get
{
return this._WorkAreaId;
}
set
{
if ((this._WorkAreaId != value))
{
this.OnWorkAreaIdChanging(value);
this.SendPropertyChanging();
this._WorkAreaId = value;
this.SendPropertyChanged("WorkAreaId");
this.OnWorkAreaIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="pipelineId", Storage="_PipelineId", DbType="NVarChar(50) NOT NULL", CanBeNull=false)]
public string PipelineId
{
get
{
return this._PipelineId;
}
set
{
if ((this._PipelineId != value))
{
this.OnPipelineIdChanging(value);
this.SendPropertyChanging();
this._PipelineId = value;
this.SendPropertyChanged("PipelineId");
this.OnPipelineIdChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="remark", Storage="_Remark", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
public string Remark
{
get
{
return this._Remark;
}
set
{
if ((this._Remark != value))
{
this.OnRemarkChanging(value);
this.SendPropertyChanging();
this._Remark = value;
this.SendPropertyChanged("Remark");
this.OnRemarkChanged();
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="createdTime", Storage="_CreatedTime", DbType="DateTime")]
public System.Nullable<System.DateTime> CreatedTime
{
get
{
return this._CreatedTime;
}
set
{
if ((this._CreatedTime != value))
{
this.OnCreatedTimeChanging(value);
this.SendPropertyChanging();
this._CreatedTime = value;
this.SendPropertyChanged("CreatedTime");
this.OnCreatedTimeChanged();
}
}
}
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.Repair_RepairRecord")]
public partial class Repair_RepairRecord : INotifyPropertyChanging, INotifyPropertyChanged
{
@@ -35503,6 +35956,8 @@ namespace Model
private System.Nullable<bool> _IsCompletedPoint;
private string _TrustBatchItemId;
private string _JLAudit;
private string _GLGSAudit;
@@ -36029,6 +36484,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_TrustBatchItemId", DbType="NVarChar(50)")]
public string TrustBatchItemId
{
get
{
return this._TrustBatchItemId;
}
set
{
if ((this._TrustBatchItemId != value))
{
this._TrustBatchItemId = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_JLAudit", DbType="NVarChar(20)")]
public string JLAudit
{
@@ -38675,6 +39146,8 @@ namespace Model
private string _ProjectId;
private System.Nullable<bool> _IsPMI;
private string _PipelineCode;
private string _PipelineId;
@@ -38805,6 +39278,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Name="isPMI", Storage="_IsPMI", DbType="Bit")]
public System.Nullable<bool> IsPMI
{
get
{
return this._IsPMI;
}
set
{
if ((this._IsPMI != value))
{
this._IsPMI = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PipelineCode", DbType="NVarChar(100)")]
public string PipelineCode
{
@@ -40813,8 +41302,6 @@ namespace Model
private string _PipingClassCode;
private string _PIPClassCode;
private string _WeldingDate;
private System.Nullable<bool> _IsCancel;
@@ -40829,6 +41316,8 @@ namespace Model
private string _DetectionType;
private string _PIPClassCode;
private string _PageNum;
public View_Pipeline_WeldJoint()
@@ -41923,22 +42412,6 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PIPClassCode", DbType="NVarChar(50)")]
public string PIPClassCode
{
get
{
return this._PIPClassCode;
}
set
{
if ((this._PIPClassCode != value))
{
this._PIPClassCode = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WeldingDate", DbType="VarChar(100)")]
public string WeldingDate
{
@@ -42051,6 +42524,22 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PIPClassCode", DbType="NVarChar(50)")]
public string PIPClassCode
{
get
{
return this._PIPClassCode;
}
set
{
if ((this._PIPClassCode != value))
{
this._PIPClassCode = value;
}
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_PageNum", DbType="NVarChar(10)")]
public string PageNum
{
@@ -46614,7 +47103,7 @@ namespace Model
}
}
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderIds", DbType="NVarChar(MAX)", UpdateCheck=UpdateCheck.Never)]
[global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_WelderIds", DbType="VarChar(1000)")]
public string WelderIds
{
get