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
d8c7edee
Commit
d8c7edee
authored
Sep 14, 2024
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
老师排课表和学员发课表下载调整
parent
e3dfad48
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
80 additions
and
45 deletions
+80
-45
ClassModule.cs
Edu.Module.Course/ClassModule.cs
+7
-5
TeacherClassController.cs
Edu.WebApi/Controllers/Course/TeacherClassController.cs
+73
-40
No files found.
Edu.Module.Course/ClassModule.cs
View file @
d8c7edee
...
...
@@ -4400,7 +4400,7 @@ namespace Edu.Module.Course
/// <summary>
/// 预约课管理
/// 预约课管理
导出
/// </summary>
/// <param name="StartDate"></param>
/// <param name="EndDate"></param>
...
...
@@ -4410,7 +4410,7 @@ namespace Edu.Module.Course
/// <param name="appointState"></param>
/// <param name="group_Id"></param>
/// <returns></returns>
public
List
<
RB_Teacher_ViewModel
>
GetAppointmentPlanStatExport
(
string
StartDate
,
string
EndDate
,
int
teacherId
,
int
classRoomId
,
int
ClassType
,
int
appointState
,
int
group_Id
,
out
List
<
RB_Class_Plan_ViewModel
>
list
,
out
List
<
RB_Reserve_Class_Extend
>
reserveList
,
out
List
<
RB_Scroll_Appointment_ViewModel
>
appointList
,
out
List
<
RB_Class_Time_ViewModel
>
timeList
,
out
List
<
RB_Order_Guest_ViewModel
>
guestList
,
out
List
<
RB_Order_Guest_ViewModel
>
tempGuestList
,
out
List
<
RB_Visitor_Reserve_Extend
>
visitorList
,
out
List
<
RB_Course_Chapter_ViewModel
>
chatperList
)
public
List
<
RB_Teacher_ViewModel
>
GetAppointmentPlanStatExport
(
string
StartDate
,
string
EndDate
,
int
teacherId
,
int
classRoomId
,
int
ClassType
,
int
appointState
,
int
group_Id
,
out
List
<
RB_Class_Plan_ViewModel
>
list
,
out
List
<
RB_Reserve_Class_Extend
>
reserveList
,
out
List
<
RB_Scroll_Appointment_ViewModel
>
appointList
,
out
List
<
RB_Class_Time_ViewModel
>
timeList
,
out
List
<
RB_Order_Guest_ViewModel
>
guestList
,
out
List
<
RB_Order_Guest_ViewModel
>
tempGuestList
,
out
List
<
RB_Visitor_Reserve_Extend
>
visitorList
,
out
List
<
RB_Course_Chapter_ViewModel
>
chatperList
,
out
List
<
RB_Course_ViewModel
>
courseList
)
{
var
sDTime
=
Convert
.
ToDateTime
(
StartDate
);
var
eDTime
=
Convert
.
ToDateTime
(
EndDate
);
...
...
@@ -4428,6 +4428,7 @@ namespace Edu.Module.Course
tempGuestList
=
new
List
<
RB_Order_Guest_ViewModel
>();
//2021-07-20 Add By:W临时上课邀请
visitorList
=
new
List
<
RB_Visitor_Reserve_Extend
>();
chatperList
=
new
List
<
RB_Course_Chapter_ViewModel
>();
courseList
=
new
List
<
RB_Course_ViewModel
>();
List
<
RB_Teacher_ViewModel
>
TeacherList
=
new
List
<
RB_Teacher_ViewModel
>();
var
reserveQuery
=
new
RB_Reserve_Class_Extend
()
{
...
...
@@ -4515,15 +4516,15 @@ namespace Edu.Module.Course
item
.
OrderCourseList
=
orderCourseList
?.
Where
(
qitem
=>
qitem
.
OrderId
==
item
.
OrderId
)?.
ToList
()
??
new
List
<
RB_Order_Course_ViewModel
>();
}
List
<
int
>
courseList
=
Common
.
ConvertHelper
.
StringToList
(
courseIds
);
List
<
int
>
course
Id
List
=
Common
.
ConvertHelper
.
StringToList
(
courseIds
);
List
<
int
>
newList
=
new
List
<
int
>();
if
(
learnList
!=
null
)
{
newList
.
AddRange
(
learnList
);
}
if
(
courseList
!=
null
)
if
(
course
Id
List
!=
null
)
{
newList
.
AddRange
(
courseList
);
newList
.
AddRange
(
course
Id
List
);
}
if
(
orderCourseIdList
!=
null
&&
orderCourseIdList
.
Count
>
0
)
{
...
...
@@ -4536,6 +4537,7 @@ namespace Edu.Module.Course
{
CourseIds
=
string
.
Join
(
","
,
newList
.
Distinct
())
});
;
courseList
=
courseRepository
.
GetCourseListRepository
(
new
RB_Course_ViewModel
()
{
QCourseIds
=
string
.
Join
(
","
,
courseIdList
.
Distinct
())
});
}
}
//获取所有老师的列表
...
...
Edu.WebApi/Controllers/Course/TeacherClassController.cs
View file @
d8c7edee
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