Commit b4a8ffc6 authored by liudong1993's avatar liudong1993

1

parent f0cba4ad
......@@ -5037,8 +5037,7 @@ namespace Edu.Module.Finance
string empIds = string.Join(",", list.Select(x => x.CourseConsultantId).Distinct());
var empList = accountRepository.GetEmployeeListRepository(new Model.ViewModel.User.Employee_ViewModel() { Group_Id = group_Id, QIds = empIds });
foreach (var item in list) {
item.DueInMoney = item.PreferPrice - item.Income - item.PlatformTax + item.Refund;
foreach (var item in list) {
item.HelpEnterName = empList.Where(x => x.Id == item.CourseConsultantId).FirstOrDefault()?.EmployeeName ?? "";
}
}
......
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