忱 沈 4 years ago
parent
commit
dbad3e53af
  1. 2
      Models/DyelotsBulkedRecipeProvider.cs
  2. 5
      View/QueryView.xaml.cs

2
Models/DyelotsBulkedRecipeProvider.cs

@ -27,7 +27,7 @@ namespace Models
public List<DyelotsBulkedRecipe> Select() public List<DyelotsBulkedRecipe> 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) public int Update(DyelotsBulkedRecipe t)

5
View/QueryView.xaml.cs

@ -1,4 +1,5 @@
using System; using Models;
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Text; using System.Text;
@ -62,7 +63,7 @@ namespace Audit.View
} }
else else
{ {
MessageBox.Show("SC:查询工单");//有单号查询 MessageBox.Show("SC:查询工单");//有单号查询
} }
} }

Loading…
Cancel
Save