修复bug
This commit is contained in:
@@ -125,7 +125,8 @@ namespace WMS.Web.Repositories
|
||||
if (!string.IsNullOrEmpty(dto.Creator))
|
||||
{
|
||||
var staffList = await _basicsRepositories.GetStaffListAsync(companyId);
|
||||
ids = staffList.Where(w => w.Name.Contains(dto.Creator)).Select(s => s.Id).ToList();
|
||||
if (staffList != null)
|
||||
ids = staffList.Where(w => w.Name.Contains(dto.Creator)).Select(s => s.Id).ToList();
|
||||
}
|
||||
|
||||
var materials_result = await _erpService.BillQueryForMaterial();
|
||||
|
||||
Reference in New Issue
Block a user