From 5005ca15fda62250923b3cfec3d685df4c40adc8 Mon Sep 17 00:00:00 2001 From: "vick_wang419@hotmail.com.tw" Date: Tue, 30 Jan 2024 01:35:04 +0800 Subject: [PATCH] =?UTF-8?q?PTD003=20=E6=97=A5=E6=9C=9F=E7=AF=A9=E9=81=B8?= =?UTF-8?q?=E5=84=AA=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs b/AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs index 39b28864..29970645 100644 --- a/AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs +++ b/AMESCoreStudio.WebApi/Controllers/AMES/WipInfosController.cs @@ -3490,7 +3490,7 @@ and b.item_no = '{0}' and a.barcode_no = '{1}'", kp_no, barcode_no); result.Success = false; return result; } - strSQL += $" And a.CreateDate Between '{dateStart}' And '{dateEnd}'"; + strSQL += $" And a.CreateDate Between '{dateStart + " 00:00:00"}' And '{dateEnd + " 23:59:59"}'"; } //排序:ZProductTrans.CreateDate DESC