优化
This commit is contained in:
@@ -456,14 +456,14 @@ namespace WMS.Web.Repositories
|
||||
if (!string.IsNullOrEmpty(dto.Receiver))
|
||||
{
|
||||
var staffList = await _basicsRepositories.GetStaffListAsync(companyId);
|
||||
if (staffList != null && staffList.Count!=0)
|
||||
if (staffList != null)
|
||||
ids_Receiver = staffList.Where(w => w.Name.Contains(dto.Receiver)).Select(s => s.Id).ToList();
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(dto.Operator))
|
||||
{
|
||||
var staffList = await _basicsRepositories.GetStaffListAsync(companyId);
|
||||
if (staffList != null && staffList.Count != 0)
|
||||
if (staffList != null)
|
||||
ids_Operator = staffList.Where(w => w.Name.Contains(dto.Operator)).Select(s => s.Id).ToList();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user