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
351dfa3e
Commit
351dfa3e
authored
Feb 09, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
68a2855f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
SellAchievementsModule.cs
Edu.Module.Course/SellAchievementsModule.cs
+2
-2
No files found.
Edu.Module.Course/SellAchievementsModule.cs
View file @
351dfa3e
...
...
@@ -1046,7 +1046,7 @@ namespace Edu.Module.Course
foreach
(
var
AchModel
in
AchEmpList
.
Where
(
x
=>
x
.
OrderId
==
item
.
OrderId
))
{
var
classModel
=
clist
.
Where
(
x
=>
x
.
ClassId
==
item
.
ClassId
).
FirstOrDefault
();
if
(
classModel
==
null
)
{
break
;
}
if
(
classModel
==
null
)
{
continue
;
}
//当前已发提成
decimal
SaleCommissioned
=
dlist
.
Where
(
x
=>
x
.
OrderId
==
item
.
OrderId
&&
x
.
UserId
==
AchModel
.
EmpId
&&
x
.
UserType
==
AchModel
.
Type
&&
x
.
IsDept
==
AchModel
.
IsDept
).
Sum
(
x
=>
x
.
CurrentPeriodMoney
);
...
...
@@ -1054,7 +1054,7 @@ namespace Edu.Module.Course
decimal
YFCommission
=
AchModel
.
PushMoney
;
if
(
YFCommission
==
0
&&
SaleCommissioned
==
0
)
{
break
;
continue
;
}
#
region
计算课时
...
...
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