diff --git a/CreateModel.bat b/CreateModel.bat new file mode 100644 index 0000000..27ceb4a --- /dev/null +++ b/CreateModel.bat @@ -0,0 +1,33 @@ +@echo off +REM --------------- +REM 发布包生成工具 +REM 执行此文件前请先用Release生成WebOA项目 +REM -------------- + + + +REM -------------- +REM 环境变量设置 Project_Src为如WebOA这样的分支 +REM -------------- +set PROJECT_SRC=%CD% +cd.. + +REM 源代码Model项目文件夹 +set Model_ROOT=%PROJECT_SRC%\HJGL\Model + + +REM -------------- +REM 发布程序包文件夹相关 +REM -------------- + + + + +@echo 设置.net控制台环境 +@echo. +@call "%VS150%" + +SqlMetal /views /server:. /database:HJGLDB_ZJBSF /code:%Model_ROOT%\Model.cs /namespace:Model + +@ECHO 完成 +pause diff --git a/HJGL/.vs/HJGL/v17/.suo b/HJGL/.vs/HJGL/v17/.suo index 5883d9e..34a03ca 100644 Binary files a/HJGL/.vs/HJGL/v17/.suo and b/HJGL/.vs/HJGL/v17/.suo differ diff --git a/HJGL/Model/Model.cs b/HJGL/Model/Model.cs index 85a5f76..9050676 100644 --- a/HJGL/Model/Model.cs +++ b/HJGL/Model/Model.cs @@ -21300,7 +21300,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 @@ -21479,10 +21479,12 @@ namespace Model private int _Status; - private System.Nullable _CreatedTime; - private string _ReportNo; + private System.Nullable _CheckTime; + + private System.Nullable _ReportTime; + #region 鍙墿灞曟ф柟娉曞畾涔 partial void OnLoaded(); partial void OnValidate(System.Data.Linq.ChangeAction action); @@ -21499,10 +21501,12 @@ namespace Model partial void OnAcceptanceChanged(); partial void OnStatusChanging(int value); partial void OnStatusChanged(); - partial void OnCreatedTimeChanging(System.Nullable value); - partial void OnCreatedTimeChanged(); partial void OnReportNoChanging(string value); partial void OnReportNoChanged(); + partial void OnCheckTimeChanging(System.Nullable value); + partial void OnCheckTimeChanged(); + partial void OnReportTimeChanging(System.Nullable value); + partial void OnReportTimeChanged(); #endregion public PMI_DelegationDetails() @@ -21610,7 +21614,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 @@ -21630,26 +21634,6 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedTime", DbType="DateTime")] - public System.Nullable CreatedTime - { - get - { - return this._CreatedTime; - } - set - { - if ((this._CreatedTime != value)) - { - this.OnCreatedTimeChanging(value); - this.SendPropertyChanging(); - this._CreatedTime = value; - this.SendPropertyChanged("CreatedTime"); - this.OnCreatedTimeChanged(); - } - } - } - [global::System.Data.Linq.Mapping.ColumnAttribute(Name="reportNo", Storage="_ReportNo", DbType="NVarChar(50)")] public string ReportNo { @@ -21670,6 +21654,46 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="checkTime", Storage="_CheckTime", DbType="DateTime")] + public System.Nullable 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 ReportTime + { + get + { + return this._ReportTime; + } + set + { + if ((this._ReportTime != value)) + { + this.OnReportTimeChanging(value); + this.SendPropertyChanging(); + this._ReportTime = value; + this.SendPropertyChanged("ReportTime"); + this.OnReportTimeChanged(); + } + } + } + public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; @@ -37290,6 +37314,8 @@ namespace Model private string _ProjectId; + private System.Nullable _IsPMI; + private string _PipelineCode; private string _PipelineId; @@ -37420,6 +37446,22 @@ namespace Model } } + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="isPMI", Storage="_IsPMI", DbType="Bit")] + public System.Nullable 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 { @@ -39428,8 +39470,6 @@ namespace Model private string _PipingClassCode; - private string _PIPClassCode; - private string _WeldingDate; private System.Nullable _IsCancel; @@ -40538,22 +40578,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 { @@ -40691,7 +40715,9 @@ namespace Model private string _Acceptance; - private System.Nullable _CreatedTime; + private System.Nullable _CheckTime; + + private System.Nullable _ReportTime; private string _WeldJointId; @@ -40755,18 +40781,34 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_CreatedTime", DbType="DateTime")] - public System.Nullable CreatedTime + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="checkTime", Storage="_CheckTime", DbType="DateTime")] + public System.Nullable CheckTime { get { - return this._CreatedTime; + return this._CheckTime; } set { - if ((this._CreatedTime != value)) + if ((this._CheckTime != value)) { - this._CreatedTime = value; + this._CheckTime = value; + } + } + } + + [global::System.Data.Linq.Mapping.ColumnAttribute(Name="reportTime", Storage="_ReportTime", DbType="DateTime")] + public System.Nullable ReportTime + { + get + { + return this._ReportTime; + } + set + { + if ((this._ReportTime != value)) + { + this._ReportTime = value; } } } diff --git a/HJGL/Model/Model.csproj.user b/HJGL/Model/Model.csproj.user index 55f44b9..07dbd5b 100644 --- a/HJGL/Model/Model.csproj.user +++ b/HJGL/Model/Model.csproj.user @@ -1,6 +1,6 @@ 锘 - ShowAllFiles + ProjectFiles \ No newline at end of file