This commit is contained in:
2023-10-24 14:56:48 +08:00
2 changed files with 9 additions and 9 deletions
@@ -555,14 +555,14 @@ namespace FineUIPro.Web.PZHGL.InformationProject
this.txtWeather.Text = getW.WeatherRef; this.txtWeather.Text = getW.WeatherRef;
this.txtTemperature.Text = getW.AllTem; this.txtTemperature.Text = getW.AllTem;
} }
var log = (from x in Funs.DB.ZHGL_ConstructionLog //var log = (from x in Funs.DB.ZHGL_ConstructionLog
where x.ProjectId == this.CurrUser.LoginProjectId && x.CompileDate == today // where x.ProjectId == this.CurrUser.LoginProjectId && x.CompileDate == today
select x).FirstOrDefault(); // select x).FirstOrDefault();
if (log != null) //if (log != null)
{ //{
this.txtWeather.Text = log.Weather; // this.txtWeather.Text = log.Weather;
this.txtTemperature.Text = log.Temperature; // this.txtTemperature.Text = log.Temperature;
} //}
this.txtCompileMan.Text = this.CurrUser.PersonName; this.txtCompileMan.Text = this.CurrUser.PersonName;
this.drpContractNo.SelectedIndex = 0; this.drpContractNo.SelectedIndex = 0;
this.drpUnitWork.SelectedIndex = 0; this.drpUnitWork.SelectedIndex = 0;
+1 -1
View File
@@ -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 public string ConstValue
{ {
get get