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