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
e14fa96c
Commit
e14fa96c
authored
Dec 17, 2020
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
efdaa7ce
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
TeachingRewardsModule.cs
Edu.Module.Course/TeachingRewardsModule.cs
+6
-6
No files found.
Edu.Module.Course/TeachingRewardsModule.cs
View file @
e14fa96c
...
...
@@ -1046,11 +1046,11 @@ namespace Edu.Module.Course
decimal
FullClassRate
=
0
;
if
(
teachModel
.
BaseStuNum
>
0
)
{
FullClassRate
=
Math
.
Round
(
Convert
.
ToDecimal
(
TotalPeopleNum
)
/
teachModel
.
BaseStuNum
,
2
,
MidpointRounding
.
AwayFromZero
);
FullClassRate
=
Math
.
Round
(
Convert
.
ToDecimal
(
TotalPeopleNum
)
/
teachModel
.
BaseStuNum
,
2
,
MidpointRounding
.
AwayFromZero
)
*
100
;
}
//班级平均上课率
decimal
AvgTakeClassRate
=
class_CheckRepository
.
GetClassAvgTakeClassRate
(
classId
,
classModel
.
Group_Id
);
decimal
AvgTakeClassRate
=
class_CheckRepository
.
GetClassAvgTakeClassRate
(
classId
,
classModel
.
Group_Id
)
*
100
;
//查询奖金金额
decimal
UnitPrice
=
0
;
...
...
@@ -1169,15 +1169,15 @@ namespace Edu.Module.Course
{
new
{
CostTypeId
=
Config
.
ReadConfigKey
(
"
Bonus
CostTypeId"
),
CostTypeId
=
Config
.
ReadConfigKey
(
"
Perf
CostTypeId"
),
Number
=
tmodel
.
ClassHours
,
OriginalMoney
=
tmodel
.
UnitPrice
,
tmodel
.
UnitPrice
,
Remark
=
"满班率:"
+
tmodel
.
FullClassRate
+
",平均上课率:"
+
tmodel
.
AvgCheckRate
+
",累计课时:"
+
tmodel
.
ClassHours
}
};
string
Remark
=
teacherModel
.
TeacherName
+
"教师绩效"
;
var
classModel
=
classRepository
.
GetEntity
(
tmodel
.
ClassId
);
string
Remark
=
teacherModel
.
TeacherName
+
"教师
【"
+
(
classModel
?.
ClassName
??
""
)
+
"】
绩效"
;
var
financeObj
=
new
{
IsPublic
,
...
...
@@ -1186,7 +1186,7 @@ namespace Edu.Module.Course
CurrencyId
,
WBMoney
=
tmodel
.
Money
,
PayDate
=
DateTime
.
Now
.
ToString
(
"yyyy-MM-dd"
),
TemplateId
=
Config
.
ReadConfigKey
(
"Teaching
Bonus
Templete"
),
TemplateId
=
Config
.
ReadConfigKey
(
"Teaching
Perf
Templete"
),
OrderSource
=
17
,
OtherType
=
27
,
ReFinanceId
=
perfId
,
...
...
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