优化发送接口

This commit is contained in:
tongfei
2024-04-12 18:11:51 +08:00
parent 8247db60d1
commit 6ab9ca3015
2 changed files with 8 additions and 4 deletions

View File

@@ -430,7 +430,8 @@ namespace WMS.Web.Repositories
/// <returns></returns>
public async Task<List<InStockDetails>> GetNotSendDetails()
{
return await _context.InStockDetails.Where(x =>x.IsHasSend != null && x.IsHasSend == false && !string.IsNullOrEmpty(x.CustomerCode)).ToListAsync();
var result= await _context.InStockDetails.Where(x =>x.IsHasSend != null && x.IsHasSend == false && !string.IsNullOrEmpty(x.CustomerCode)).ToListAsync();
return result.Clone();
}
/// <summary>