修复bug
This commit is contained in:
@@ -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>();
|
||||
|
||||
Reference in New Issue
Block a user