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
5ad58821
Commit
5ad58821
authored
Jun 23, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
5aff9645
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
OrderModule.cs
Edu.Module.Course/OrderModule.cs
+3
-0
VisitorReserveModule.cs
Edu.Module.Duty/VisitorReserveModule.cs
+1
-2
No files found.
Edu.Module.Course/OrderModule.cs
View file @
5ad58821
...
@@ -672,6 +672,9 @@ namespace Edu.Module.Course
...
@@ -672,6 +672,9 @@ namespace Edu.Module.Course
{
nameof
(
RB_Visitor_Reserve_Extend
.
OrderId
),
demodel
.
OrderId
},
{
nameof
(
RB_Visitor_Reserve_Extend
.
OrderId
),
demodel
.
OrderId
},
};
};
flag
=
visitor_ReserveRepository
.
Update
(
visitorFileds
,
new
WhereHelper
(
nameof
(
RB_Visitor_Reserve_Extend
.
Id
),
demodel
.
VisitorReserveId
));
flag
=
visitor_ReserveRepository
.
Update
(
visitorFileds
,
new
WhereHelper
(
nameof
(
RB_Visitor_Reserve_Extend
.
Id
),
demodel
.
VisitorReserveId
));
var
guestModel
=
new
RB_Order_Guest_ViewModel
();
//SetOrderGuestInfo(guestModel, out string Nmessage);
}
}
#
endregion
#
endregion
...
...
Edu.Module.Duty/VisitorReserveModule.cs
View file @
5ad58821
...
@@ -218,12 +218,11 @@ namespace Edu.Module.Duty
...
@@ -218,12 +218,11 @@ namespace Edu.Module.Duty
}
}
if
(
CheckReserveClassExistsModule
(
model
))
if
(
CheckReserveClassExistsModule
(
model
))
{
{
message
=
string
.
Format
(
"此教师已有{0}的
约
课计划!请重新选择时间"
,
Common
.
ConvertHelper
.
FormatDate
(
chooseDateTime
));
message
=
string
.
Format
(
"此教师已有{0}的
试听
课计划!请重新选择时间"
,
Common
.
ConvertHelper
.
FormatDate
(
chooseDateTime
));
return
false
;
return
false
;
}
}
if
(
model
.
ReserveClassId
>
0
)
if
(
model
.
ReserveClassId
>
0
)
{
{
var
oldModel
=
GetReserveClassModule
(
model
.
ReserveClassId
);
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
Dictionary
<
string
,
object
>
fileds
=
new
Dictionary
<
string
,
object
>()
{
{
{
nameof
(
RB_Reserve_Class_Extend
.
TeacherId
),
model
.
TeacherId
},
{
nameof
(
RB_Reserve_Class_Extend
.
TeacherId
),
model
.
TeacherId
},
...
...
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