diff --git a/SGGL/FineUIPro.Web/PZHGL/InformationProject/ConstructionLog.aspx.cs b/SGGL/FineUIPro.Web/PZHGL/InformationProject/ConstructionLog.aspx.cs index e64b9de9..cd1d07ea 100644 --- a/SGGL/FineUIPro.Web/PZHGL/InformationProject/ConstructionLog.aspx.cs +++ b/SGGL/FineUIPro.Web/PZHGL/InformationProject/ConstructionLog.aspx.cs @@ -555,14 +555,14 @@ namespace FineUIPro.Web.PZHGL.InformationProject this.txtWeather.Text = getW.WeatherRef; this.txtTemperature.Text = getW.AllTem; } - var log = (from x in Funs.DB.ZHGL_ConstructionLog - where x.ProjectId == this.CurrUser.LoginProjectId && x.CompileDate == today - select x).FirstOrDefault(); - if (log != null) - { - this.txtWeather.Text = log.Weather; - this.txtTemperature.Text = log.Temperature; - } + //var log = (from x in Funs.DB.ZHGL_ConstructionLog + // where x.ProjectId == this.CurrUser.LoginProjectId && x.CompileDate == today + // select x).FirstOrDefault(); + //if (log != null) + //{ + // this.txtWeather.Text = log.Weather; + // this.txtTemperature.Text = log.Temperature; + //} this.txtCompileMan.Text = this.CurrUser.PersonName; this.drpContractNo.SelectedIndex = 0; this.drpUnitWork.SelectedIndex = 0; diff --git a/SGGL/Model/Model.cs b/SGGL/Model/Model.cs index 3486d11c..4fca87bc 100644 --- a/SGGL/Model/Model.cs +++ b/SGGL/Model/Model.cs @@ -237694,7 +237694,7 @@ namespace Model } } - [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstValue", DbType="NVarChar(50)")] + [global::System.Data.Linq.Mapping.ColumnAttribute(Storage="_ConstValue", DbType="NVarChar(500)")] public string ConstValue { get