Commit a401fe26 by Licx

姓名修改为模糊匹配

parent 6b602c3d
...@@ -897,7 +897,7 @@ public List<view_per_apr_amount> GetEmployeeMessage(int allotId, string personne ...@@ -897,7 +897,7 @@ public List<view_per_apr_amount> GetEmployeeMessage(int allotId, string personne
if (!string.IsNullOrEmpty(doctorName)) if (!string.IsNullOrEmpty(doctorName))
{ {
var filterEmployees = peremployeeRepository.GetEntities(w => w.AllotId == allotId && w.DoctorName != null var filterEmployees = peremployeeRepository.GetEntities(w => w.AllotId == allotId && w.DoctorName != null
&& w.DoctorName.Trim() == doctorName.Trim() && w.Id != employeeId); && w.DoctorName.Trim().Contains(doctorName.Trim()) && w.Id != employeeId);
if (filterEmployees != null && filterEmployees.Any()) employees.AddRange(filterEmployees); if (filterEmployees != null && filterEmployees.Any()) employees.AddRange(filterEmployees);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment