From fc42a4917e42edef0e7f495b34dcd29c668e35c6 Mon Sep 17 00:00:00 2001 From: gaofei1985 <181547018@qq.com> Date: Tue, 24 Oct 2023 14:34:02 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=89=E5=8F=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../InformationProject/ConstructionLog.aspx.cs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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;