From 3e473e90358abbf82e7a60b6ed58ca2df02d4ce4 Mon Sep 17 00:00:00 2001 From: liuying <1427574514@qq.com> Date: 周二, 10 12月 2024 13:33:09 +0800 Subject: [PATCH] pda页面 --- LA24030_LuLiPackageLine_Wms/Admin.NET.Application/Service/ThirdInterFace/MesPushPackageCode/MesPushPackageCodeService.cs | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LA24030_LuLiPackageLine_Wms/Admin.NET.Application/Service/ThirdInterFace/MesPushPackageCode/MesPushPackageCodeService.cs b/LA24030_LuLiPackageLine_Wms/Admin.NET.Application/Service/ThirdInterFace/MesPushPackageCode/MesPushPackageCodeService.cs index 9845132..eeb0504 100644 --- a/LA24030_LuLiPackageLine_Wms/Admin.NET.Application/Service/ThirdInterFace/MesPushPackageCode/MesPushPackageCodeService.cs +++ b/LA24030_LuLiPackageLine_Wms/Admin.NET.Application/Service/ThirdInterFace/MesPushPackageCode/MesPushPackageCodeService.cs @@ -138,12 +138,12 @@ .Select<MesPushPackageCodeOutput>(); if(input.PushTimeRange != null && input.PushTimeRange.Count >0) { - DateTime? start= input.PushTimeRange[0].Value.AddDays(-1); - query = query.WhereIF(start.HasValue, u => u.PushTime > start); + DateTime? start= input.PushTimeRange[0].Value; + query = query.WhereIF(start.HasValue, u => u.PushTime >= start); if (input.PushTimeRange.Count >1 && input.PushTimeRange[1].HasValue) { - var end = input.PushTimeRange[1].Value.AddDays(1); - query = query.Where(u => u.PushTime < end); + var end = input.PushTimeRange[1].Value; + query = query.Where(u => u.PushTime <= end); } } return query; -- Gitblit v1.9.3