From 7d43083004bb254645eeba8d9c3339d11c761d91 Mon Sep 17 00:00:00 2001 From: wangsr Date: Tue, 7 Nov 2023 16:49:29 +0800 Subject: [PATCH] =?UTF-8?q?change=20-=20=E6=B9=BF=E6=B7=B7=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E7=BB=9F=E8=AE=A1=E6=97=A5=E6=9C=9F=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../LjReport/WetTimeCounting.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjReport/WetTimeCounting.cs b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjReport/WetTimeCounting.cs index 6466c12..5a249aa 100644 --- a/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjReport/WetTimeCounting.cs +++ b/Actions/ChemicalWeighing/Mesnac.Action.ChemicalWeighing/LjReport/WetTimeCounting.cs @@ -88,8 +88,8 @@ namespace Mesnac.Action.ChemicalWeighing.LjReport { dt.Rows.Clear(); DateTime time = mCDateTimePicker.Value; - DateTime start = time.AddHours(0); - DateTime end = time.AddHours(24); + DateTime start = time.Date.AddHours(0); + DateTime end = time.Date.AddHours(24); list = FreeSqlUnit.Instance.Select().Where(x => x.MixReadyStartTime >= start && x.RGVLeaveTime <= end).ToList(); DataTableSum();