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
1dbae8f2
Commit
1dbae8f2
authored
Feb 21, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
731be89b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ClassModule.cs
Edu.Module.Course/ClassModule.cs
+1
-1
RB_TeacherRepository.cs
Edu.Repository/User/RB_TeacherRepository.cs
+4
-0
No files found.
Edu.Module.Course/ClassModule.cs
View file @
1dbae8f2
...
@@ -4511,7 +4511,7 @@ namespace Edu.Module.Course
...
@@ -4511,7 +4511,7 @@ namespace Edu.Module.Course
}
}
//获取所有老师的列表
//获取所有老师的列表
var
TeacherList
=
teacherRepository
.
GetTeacherListRepository
(
new
RB_Teacher_ViewModel
()
{
Group_Id
=
group_Id
,
TId
=
teacherId
});
var
TeacherList
=
teacherRepository
.
GetTeacherListRepository
(
new
RB_Teacher_ViewModel
()
{
Group_Id
=
group_Id
,
TId
=
teacherId
,
IsShow
=
1
});
for
(
var
i
=
0
;
i
<
days
;
i
++)
for
(
var
i
=
0
;
i
<
days
;
i
++)
{
{
...
...
Edu.Repository/User/RB_TeacherRepository.cs
View file @
1dbae8f2
...
@@ -82,6 +82,10 @@ WHERE 1=1
...
@@ -82,6 +82,10 @@ WHERE 1=1
{
{
builder
.
AppendFormat
(
" AND t.{0} IN({1}) "
,
nameof
(
RB_Teacher_ViewModel
.
LeaveStatus
),
"1,2,3,4"
);
builder
.
AppendFormat
(
" AND t.{0} IN({1}) "
,
nameof
(
RB_Teacher_ViewModel
.
LeaveStatus
),
"1,2,3,4"
);
}
}
if
(
query
.
IsShow
>
0
)
{
builder
.
AppendFormat
(
" AND t.{0}={1} "
,
nameof
(
RB_Teacher_ViewModel
.
IsShow
),
query
.
IsShow
);
}
}
}
return
Get
<
RB_Teacher_ViewModel
>(
builder
.
ToString
(),
parameters
).
ToList
();
return
Get
<
RB_Teacher_ViewModel
>(
builder
.
ToString
(),
parameters
).
ToList
();
}
}
...
...
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