From a714b51425922d1526c165393b59355039279f44 Mon Sep 17 00:00:00 2001 From: "vick_wang419@hotmail.com.tw" Date: Wed, 31 Jan 2024 10:49:47 +0800 Subject: [PATCH] =?UTF-8?q?PTD003=20=E5=9B=A0=E6=87=89=E8=B3=87=E6=96=99?= =?UTF-8?q?=E5=BA=AB=E6=97=A5=E6=9C=9F=E6=AC=84=E4=BD=8D=E7=94=A8Vchar?= =?UTF-8?q?=E5=9E=8B=E6=85=8B=E5=AD=98=E5=8F=96=EF=BC=8C=E6=A0=BC=E5=BC=8F?= =?UTF-8?q?=E9=9C=80=E5=AE=A2=E8=A3=BD=E5=8C=96=E8=99=95=E7=90=86?= 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 29970645..177c3ef4 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 + " 00:00:00"}' And '{dateEnd + " 23:59:59"}'"; + strSQL += $" And a.CreateDate Between '{dateStart.Replace("/","-") + " 00:00:00"}' And '{dateEnd.Replace("/", "-") + " 23:59:59"}'"; } //排序:ZProductTrans.CreateDate DESC