diff --git a/SGGL/FineUIPro.Web/PZHGL/InformationProject/ConstructionLog.aspx.cs b/SGGL/FineUIPro.Web/PZHGL/InformationProject/ConstructionLog.aspx.cs index bf53912b..e64b9de9 100644 --- a/SGGL/FineUIPro.Web/PZHGL/InformationProject/ConstructionLog.aspx.cs +++ b/SGGL/FineUIPro.Web/PZHGL/InformationProject/ConstructionLog.aspx.cs @@ -549,8 +549,12 @@ namespace FineUIPro.Web.PZHGL.InformationProject 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.txtWeek.Text = Funs.GetWeekDay(today.DayOfWeek.ToString()); - this.txtWeather.Text = string.Empty; - this.txtTemperature.Text = string.Empty; + var getW = WeatherService.GetWeather(this.CurrUser.LoginProjectId); + if (getW != null) + { + 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(); @@ -593,7 +597,7 @@ namespace FineUIPro.Web.PZHGL.InformationProject } } this.txtRemark.Text = string.Empty; - this.txtHSETodaySummary.Text = "安全事故:次;安全检查:次;安全检查累计问题项:项,已整改:项。"; + this.txtHSETodaySummary.Text = "安全事故:次;安全检查:次;安全检查累计问题项:项,已整改:项。"; this.txtHSETodaySummaryRemark.Text = string.Empty; this.txtHSETomorrowPlan.Text = string.Empty; this.txtHSETomorrowPlanRemark.Text = string.Empty;