This commit is contained in:
sc committed 2022-02-19 20:57:05 +08:00
commit dbad3e53af
2 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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)
+2 -1
View File
@@ -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;