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
30c19983
Commit
30c19983
authored
Aug 22, 2023
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 甲鹤试听课调整
parent
a8994290
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
107 additions
and
92 deletions
+107
-92
TeachingRewardsModule.cs
Edu.Module.Course/TeachingRewardsModule.cs
+23
-20
FinanceModule.cs
Edu.Module.Finance/FinanceModule.cs
+84
-72
No files found.
Edu.Module.Course/TeachingRewardsModule.cs
View file @
30c19983
...
...
@@ -614,27 +614,30 @@ namespace Edu.Module.Course
if
(
stlist
.
Any
())
{
//每次试听课 算一个课时
foreach
(
var
item
in
stlist
)
{
stDateList
.
Add
(
new
RB_Teaching_BonusDetail_ViewModel
(
)
if
(
item
.
ClassHourFee
>
0
)
{
BonusId
=
bonusId
,
CheckInNum
=
item
.
CheckNum
,
ClassId
=
item
.
ReserveClassId
,
CourseHour
=
1
,
CreateBy
=
dmodel
.
CreateBy
,
CreateTime
=
DateTime
.
Now
,
Date
=
item
.
ClassDate
,
Group_Id
=
dmodel
.
Group_Id
,
Id
=
0
,
Money
=
item
.
ClassHourFee
,
School_Id
=
item
.
School_Id
,
Status
=
0
,
TeacherId
=
item
.
TeacherId
,
Type
=
1
,
UnitPrice
=
item
.
ClassHourFee
,
UpdateBy
=
dmodel
.
UpdateBy
,
UpdateTime
=
DateTime
.
Now
,
CouseClassify
=
2
});
stDateList
.
Add
(
new
RB_Teaching_BonusDetail_ViewModel
()
{
BonusId
=
bonusId
,
CheckInNum
=
item
.
CheckNum
,
ClassId
=
item
.
ReserveClassId
,
CourseHour
=
1
,
CreateBy
=
dmodel
.
CreateBy
,
CreateTime
=
DateTime
.
Now
,
Date
=
item
.
ClassDate
,
Group_Id
=
dmodel
.
Group_Id
,
Id
=
0
,
Money
=
item
.
ClassHourFee
,
School_Id
=
item
.
School_Id
,
Status
=
0
,
TeacherId
=
item
.
TeacherId
,
Type
=
1
,
UnitPrice
=
item
.
ClassHourFee
,
UpdateBy
=
dmodel
.
UpdateBy
,
UpdateTime
=
DateTime
.
Now
,
CouseClassify
=
2
});
}
}
}
...
...
Edu.Module.Finance/FinanceModule.cs
View file @
30c19983
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