修复bug

This commit is contained in:
18942506660
2023-11-24 15:03:00 +08:00
parent 42ce73f920
commit 86f9a23eda

View File

@@ -88,7 +88,7 @@ namespace WMS.Web.Repositories
if (!string.IsNullOrEmpty(dto.Creator))
{
var staffList = await _basicsRepositories.GetStaffListAsync(_loginRepositories.CompanyId);
ids = staffList.Where(w => EF.Functions.Like(w.Name, "%" + dto.Creator + "%")).Select(s => s.Id).ToList();
ids = staffList.Where(w => w.Name.Contains(dto.Creator)).Select(s => s.Id).ToList();
}
#region erp基础资料
List<int> mIds = new List<int>();