Commit f4a0ece5 authored by liudong1993's avatar liudong1993

1

parent 24e4c9e9
......@@ -1075,8 +1075,15 @@ namespace Edu.Module.Course
var saleIdList = orderList.Where(x => x.EnterID > 0).Select(x => x.EnterID).Distinct().ToList();
var teacherIdList = orderList.Where(x => x.HelpEnterId > 0).Select(x => x.HelpEnterId).Distinct().ToList();
var consultantIdList = orderList.Where(x => x.CourseConsultantId > 0).Select(x => x.CourseConsultantId).Distinct().ToList();
saleIdList.AddRange(teacherIdList);
var userIds = string.Join(",", saleIdList);
if (teacherIdList.Any())
{
saleIdList.AddRange(teacherIdList);
}
if (consultantIdList.Any())
{
saleIdList.AddRange(consultantIdList);
}
var userIds = string.Join(",", saleIdList.Distinct());
var UserList = accountRepository.GetEmployeeListRepository(new Employee_ViewModel() { Group_Id = userInfo.Group_Id, QIds = userIds });
//查询班级信息
string classIds = string.Join(",", orderList.Select(x => x.ClassId).Distinct());
......
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