修复bug

This commit is contained in:
18942506660
2023-12-18 16:07:19 +08:00
parent d1e3d35196
commit 3fc73df1d7
3 changed files with 3 additions and 3 deletions

View File

@@ -124,7 +124,7 @@ namespace WMS.Web.Repositories
List<int> ids = new List<int>();
if (!string.IsNullOrEmpty(dto.Creator))
{
var staffList = await _basicsRepositories.GetStaffListAsync(_loginRepositories.CompanyId);
var staffList = await _basicsRepositories.GetStaffListAsync(companyId);
ids = staffList.Where(w => w.Name.Contains(dto.Creator)).Select(s => s.Id).ToList();
}