From 5e452aa2803021c513f8ea32945bc5cb5b82bb81 Mon Sep 17 00:00:00 2001 From: Marvin Date: Fri, 10 Feb 2023 12:01:45 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E7=B6=AD=E4=BF=AE=E8=B3=87?= =?UTF-8?q?=E6=96=99=E7=B5=B1=E8=A8=88,=E6=8C=89=E7=B6=AD=E4=BF=AE?= =?UTF-8?q?=E6=97=A5=E6=9C=9F=E6=9F=A5=E8=A9=A2,=E8=87=AA=E5=8B=95?= =?UTF-8?q?=E5=B0=87=E7=B5=90=E6=9D=9F=E6=99=82=E9=96=93+1=E5=A4=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AMESCoreStudio.WebApi/Controllers/AMES/NgRepairsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/NgRepairsController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/NgRepairsController.cs index 8283a07d..a8d1362a 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/NgRepairsController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/NgRepairsController.cs @@ -333,7 +333,7 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES { if (dateStart != "" && dateEnd != "") { - q = q.Where(w => w.CreateDate >= DateTime.Parse(dateStart) && w.CreateDate <= DateTime.Parse(dateEnd)); + q = q.Where(w => w.CreateDate >= DateTime.Parse(dateStart) && w.CreateDate <= DateTime.Parse(dateEnd).AddDays(1)); } }