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
c2516484
Commit
c2516484
authored
4 years ago
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复教师奖励
parent
b1dc7708
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
TeachingRewardsModule.cs
Edu.Module.Course/TeachingRewardsModule.cs
+1
-0
No files found.
Edu.Module.Course/TeachingRewardsModule.cs
View file @
c2516484
...
@@ -605,6 +605,7 @@ namespace Edu.Module.Course
...
@@ -605,6 +605,7 @@ namespace Edu.Module.Course
string
msg
=
""
;
string
msg
=
""
;
//查询出所有需要发提成的人
//查询出所有需要发提成的人
List
<
int
>
EmpList
=
list
.
Select
(
x
=>
x
.
TeacherId
).
Distinct
().
ToList
();
List
<
int
>
EmpList
=
list
.
Select
(
x
=>
x
.
TeacherId
).
Distinct
().
ToList
();
if
(!
EmpList
.
Any
())
{
return
"暂无老师有可发放的提成金额"
;
}
//根据教师ids 查询 账号ids
//根据教师ids 查询 账号ids
var
teachList
=
teacherRepository
.
GetTeacherList
(
string
.
Join
(
","
,
EmpList
));
var
teachList
=
teacherRepository
.
GetTeacherList
(
string
.
Join
(
","
,
EmpList
));
//查询所有的账户信息 不存在的需要提示
//查询所有的账户信息 不存在的需要提示
...
...
This diff is collapsed.
Click to expand it.
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