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
171b09d2
Commit
171b09d2
authored
Jul 02, 2021
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1提成调整
parent
5d16f12f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SellCommissionModule.cs
Edu.Module.Course/SellCommissionModule.cs
+1
-1
No files found.
Edu.Module.Course/SellCommissionModule.cs
View file @
171b09d2
...
...
@@ -488,7 +488,7 @@ namespace Edu.Module.Course
#
region
计算课时
var
g3list
=
glist
.
Where
(
x
=>
x
.
OrderId
==
item
.
OrderId
&&
x
.
GuestState
!=
2
).
ToList
();
//查询这几个学生累计课时
decimal
TotalLearn
=
CheckList
.
Where
(
x
=>
x
.
OrderId
==
item
.
OrderId
).
Sum
(
x
=>
x
.
CurrentDeductionHours
);
//累计消费课时
decimal
TotalLearn
=
CheckList
.
Where
(
x
=>
x
.
OrderId
==
item
.
OrderId
&&
x
.
MonthDate
<=
Convert
.
ToDateTime
(
EDate
)).
Sum
(
x
=>
x
.
CurrentDeductionHours
);
//累计消费课时 (要查询当前发放提成日期) ld 07-02调整
decimal
TotalHours
=
g3list
.
Sum
(
x
=>
x
.
TotalHours
);
// 直接根据学生表 总课时计算 (必须签到课时 = 总课时 才发完最后一个月的)
#
endregion
...
...
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