Browse Source

添加滞后时间

master
sc 4 months ago
committed by 忱 沈
parent
commit
d49b0afb9d
  1. 1
      ProcessManageUI/MainWindow.xaml.cs

1
ProcessManageUI/MainWindow.xaml.cs

@ -130,6 +130,7 @@ namespace ProcessManageUI
string Connstr_SC; string Connstr_SC;
string DyelotsBulkedRecipe_sql = string DyelotsBulkedRecipe_sql =
"SELECT * FROM [dbo].[DyelotsBulkedRecipe] WHERE Created > '" + DateTime.Now.AddDays(-1).ToString("yyyy/MM/dd") + "SELECT * FROM [dbo].[DyelotsBulkedRecipe] WHERE Created > '" + DateTime.Now.AddDays(-1).ToString("yyyy/MM/dd") +
" ' and Created <'" + DateTime.Now.AddMinutes(-1).ToString("yyyy/MM/dd") +
"' AND ProductType = '" + _type + "' AND Process IS NULL AND StepNumber IS NOT NULL AND ProductCode IS NOT NULL AND ReDye IS NOT NULL"; "' AND ProductType = '" + _type + "' AND Process IS NULL AND StepNumber IS NOT NULL AND ProductCode IS NOT NULL AND ReDye IS NOT NULL";
if (SQMOD == "Windows Authentication") if (SQMOD == "Windows Authentication")
{ {

Loading…
Cancel
Save