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
f1e43c04
Commit
f1e43c04
authored
Jul 23, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
3fcb3c64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
+14
-2
OrderChangeModule.cs
Edu.Module.EduTask/OrderChangeModule.cs
+14
-2
No files found.
Edu.Module.EduTask/OrderChangeModule.cs
View file @
f1e43c04
...
...
@@ -656,6 +656,7 @@ namespace Edu.Module.EduTask
JoinType
=
Common
.
Enum
.
Sale
.
OrderJoinTypeEnum
.
SplitOrder
,
TargetJoinType
=
oldOrderModel
.
JoinType
,
EffectTime
=
orderChangeModel
.
EffectiveDate
,
};
orderModel
.
SourceOrderId
=
orderChangeModel
.
SourceOrderId
;
orderModel
.
Group_Id
=
userInfo
.
Group_Id
;
...
...
@@ -671,6 +672,15 @@ namespace Edu.Module.EduTask
orderModel
.
UpdateTime
=
DateTime
.
Now
;
orderModel
.
OldGuestId
=
orderChangeModel
.
OrderGuestId
;
orderModel
.
NewGuestTotalClassHours
=
Convert
.
ToInt32
(
courseValidHourse
);
orderModel
.
SourceOrderId
=
orderChangeModel
.
SourceOrderId
;
if
(
orderModel
.
JoinType
!=
Common
.
Enum
.
Sale
.
OrderJoinTypeEnum
.
SplitOrder
&&
orderModel
.
JoinType
!=
Common
.
Enum
.
Sale
.
OrderJoinTypeEnum
.
TransOrder
)
{
orderModel
.
FirstOrderId
=
oldOrderModel
.
OrderId
;
}
else
{
orderModel
.
FirstOrderId
=
oldOrderModel
.
TargetOrderId
;
}
flag
=
orderModule
.
SetClassOrderCommonModule
(
orderModel
,
userInfo
,
false
,
out
string
message
);
#
endregion
...
...
@@ -679,7 +689,7 @@ namespace Edu.Module.EduTask
//添加关联记录
splitDetailsRepository
.
Insert
(
new
RB_Order_SplitDetails
()
{
OldOrderId
=
order
ChangeModel
.
Source
OrderId
,
OldOrderId
=
order
Model
.
First
OrderId
,
S_OrderId
=
oldOrderModel
.
OrderId
,
S_JoinType
=
oldOrderModel
.
JoinType
,
S_ClassId
=
oldOrderModel
.
ClassId
,
...
...
@@ -704,7 +714,6 @@ namespace Edu.Module.EduTask
Dictionary
<
string
,
object
>
guestFileds
=
new
Dictionary
<
string
,
object
>()
{
{
nameof
(
RB_Order_Guest_ViewModel
.
TotalHours
),
guestModel
.
TotalHours
-
courseValidHourse
},
//{nameof(RB_Order_Guest_ViewModel.GuestState),7 },
};
if
(
flag
)
{
...
...
@@ -774,8 +783,11 @@ namespace Edu.Module.EduTask
}
return
flag
;
}
#
endregion
/// <summary>
/// 生成合同
/// </summary>
...
...
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