Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
Education
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄奎
Education
Commits
f4a0ece5
Commit
f4a0ece5
authored
Apr 14, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
24e4c9e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
SellAchievementsModule.cs
Edu.Module.Course/SellAchievementsModule.cs
+9
-2
No files found.
Edu.Module.Course/SellAchievementsModule.cs
View file @
f4a0ece5
...
...
@@ -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
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment