diff --git a/Models/DyelotsBulkedRecipeProvider.cs b/Models/DyelotsBulkedRecipeProvider.cs index 0beca18..f2ba7db 100644 --- a/Models/DyelotsBulkedRecipeProvider.cs +++ b/Models/DyelotsBulkedRecipeProvider.cs @@ -27,7 +27,7 @@ namespace Models public List Select() { - return db.DyelotsBulkedRecipe.SqlQuery("select TOP (10000) * from DyelotsBulkedRecipe").ToList();//查询前100条 + return db.DyelotsBulkedRecipe.SqlQuery("select TOP (100) * from DyelotsBulkedRecipe").ToList();//查询前100条 } public int Update(DyelotsBulkedRecipe t) diff --git a/View/QueryView.xaml.cs b/View/QueryView.xaml.cs index 5a6511d..c9a5cdb 100644 --- a/View/QueryView.xaml.cs +++ b/View/QueryView.xaml.cs @@ -1,4 +1,5 @@ -using System; +using Models; +using System; using System.Collections.Generic; using System.Linq; using System.Text; @@ -62,7 +63,7 @@ namespace Audit.View } else { - MessageBox.Show("SC:查询工单");//有单号查询 + MessageBox.Show("SC:查询工单");//有单号查询 } }