测试
This commit is contained in:
@@ -178,6 +178,16 @@ namespace BarCode.Web.Repositories
|
||||
return entitys;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// 获取物料按规格
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public async Task<List<Materials>> GetEntityListByGuiGe(List<string> materGuiGes,DateTime dt)
|
||||
{
|
||||
var entitys = await _context.Materials.Where(x => materGuiGes.Contains(x.Specifications) && x.FCreateDate <dt.AddMinutes(-3)).ToListAsync();
|
||||
return entitys;
|
||||
}
|
||||
|
||||
public async Task<List<Materials>> GetEntityList(List<string> materNumbers)
|
||||
{
|
||||
var entitys = await _context.Materials.Where(x => materNumbers.Contains(x.MaterialNumber)).ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user