Administrator 2 months ago
parent
commit
b70596cf31
  1. 2
      ViewModel/MainWindowViewModel.cs

2
ViewModel/MainWindowViewModel.cs

@ -389,7 +389,7 @@ namespace SunlightAggregationManager.ViewModel
{
try
{
string DyelotsBulkedRecipe_sql = "SELECT [ProductCode],[ProductName],SUM(DispenseGrams)/1000 " +
string DyelotsBulkedRecipe_sql = "SELECT [ProductCode],[ProductName],SUM(DispenseGrams)" +
"as TotalDispenseGrams FROM [BatchDyeingCentral].[dbo].[DyelotsBulkedRecipe] " +
"where DispenseEndTime > '" + DateTime.Now.ToString("yyyy-MM-dd") + "' AND DispenseEndTime < '" +
DateTime.Now.AddDays(1).ToString("yyyy-MM-dd") + "' GROUP BY [ProductCode],[ProductName] " +

Loading…
Cancel
Save