拉取代码

This commit is contained in:
2023-10-24 14:34:02 +08:00
parent 43eee355dc
commit fc42a4917e
@@ -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;