提交代码

This commit is contained in:
2023-10-24 14:17:57 +08:00
parent 10f7a64314
commit 43eee355dc
@@ -549,8 +549,12 @@ namespace FineUIPro.Web.PZHGL.InformationProject
this.txtFileCode.Text = BLL.SQLHelper.RunProcNewId("SpGetThreeNumber", "ZHGL_ConstructionLog", "FileCode", this.CurrUser.LoginProjectId, prefix); this.txtFileCode.Text = BLL.SQLHelper.RunProcNewId("SpGetThreeNumber", "ZHGL_ConstructionLog", "FileCode", this.CurrUser.LoginProjectId, prefix);
this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", today); this.txtCompileDate.Text = string.Format("{0:yyyy-MM-dd}", today);
this.txtWeek.Text = Funs.GetWeekDay(today.DayOfWeek.ToString()); this.txtWeek.Text = Funs.GetWeekDay(today.DayOfWeek.ToString());
this.txtWeather.Text = string.Empty; var getW = WeatherService.GetWeather(this.CurrUser.LoginProjectId);
this.txtTemperature.Text = string.Empty; if (getW != null)
{
this.txtWeather.Text = getW.WeatherRef;
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();