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
9ef8c07b
Commit
9ef8c07b
authored
Sep 03, 2024
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
9a4d4e09
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
StudentBillModule.cs
Edu.Module.Course/StudentBillModule.cs
+1
-1
RB_OrderRepository.cs
Edu.Repository/Sell/RB_OrderRepository.cs
+1
-1
No files found.
Edu.Module.Course/StudentBillModule.cs
View file @
9ef8c07b
...
...
@@ -142,7 +142,7 @@ namespace Edu.Module.Course
var
guestModel
=
order_GuestRepository
.
GetEntity
(
backModel
.
GuestId
);
//orderModel.CommissionMoney = returnComissionRepository.GetOrderReturnComissionListRepositpry(new RB_Order_ReturnComission_ViewModel() { GroupId = orderModel.Group_Id, QOrderIds = orderModel.OrderId.ToString() }).Sum(x => x.CommissionMoeny);
orderModel
.
TotalClassHours
=
guestModel
.
TotalHours
;
orderModel
.
Class
_Price
=
guestModel
.
ClassUnitPrice
;
orderModel
.
Unit
_Price
=
guestModel
.
ClassUnitPrice
;
decimal
backMoney
=
orderRepository
.
CalcBackMoneyRepository
(
orderModel
,
courseModel
,
FinishHours
,
out
decimal
classHourPrice
);
var
obj
=
new
{
...
...
Edu.Repository/Sell/RB_OrderRepository.cs
View file @
9ef8c07b
...
...
@@ -671,7 +671,7 @@ GROUP BY ClassId;";
public
decimal
CalcBackMoneyRepository
(
RB_Order
orderModel
,
RB_Course
courseModel
,
decimal
FinishHours
,
out
decimal
newClassHourPrice
)
{
//课时单价
decimal
classHourPrice
=
orderModel
.
Class
_Price
;
decimal
classHourPrice
=
orderModel
.
Unit
_Price
;
newClassHourPrice
=
classHourPrice
;
//预计退款金额
decimal
backMoney
=
0
;
...
...
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