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
55bc8006
Commit
55bc8006
authored
Jul 12, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
f22c36be
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
55 additions
and
2 deletions
+55
-2
RB_Change_ClassPlan_ViewModel.cs
Edu.Model/ViewModel/EduTask/RB_Change_ClassPlan_ViewModel.cs
+53
-0
RB_Change_ClassPlanRepository.cs
Edu.Repository/EduTask/RB_Change_ClassPlanRepository.cs
+2
-2
No files found.
Edu.Model/ViewModel/EduTask/RB_Change_ClassPlan_ViewModel.cs
View file @
55bc8006
...
...
@@ -15,6 +15,59 @@ namespace Edu.Model.ViewModel.EduTask
/// </summary>
public
string
Q_Change_ClassPlan_Ids
{
get
;
set
;
}
/// <summary>
/// 班级名称
/// </summary>
public
string
ClassName
{
get
;
set
;
}
/// <summary>
/// 调动类型字符串
/// </summary>
public
string
ChangeTypeStr
{
get
{
string
str
=
""
;
if
(
this
.
ChangeType
==
1
)
{
str
=
"课程"
;
}
else
if
(
this
.
ChangeType
==
2
)
{
str
=
"老师"
;
}
else
if
(
this
.
ChangeType
==
3
)
{
str
=
"教室"
;
}
else
if
(
this
.
ChangeType
==
4
)
{
str
=
"取消课程"
;
}
return
str
;
}
}
/// <summary>
/// 调动选项字符串
/// </summary>
public
string
MoveTypeStr
{
get
{
string
str
=
""
;
if
(
this
.
MoveType
==
1
)
{
str
=
"固定日期"
;
}
else
if
(
this
.
MoveType
==
2
)
{
str
=
"全局调整"
;
}
return
str
;
}
}
/// <summary>
/// 调整原数据信息
/// </summary>
...
...
Edu.Repository/EduTask/RB_Change_ClassPlanRepository.cs
View file @
55bc8006
...
...
@@ -50,8 +50,8 @@ namespace Edu.Repository.EduTask
{
StringBuilder
builder
=
new
StringBuilder
();
builder
.
AppendFormat
(
@"
SELECT A.*
FROM RB_Change_ClassPlan AS A
SELECT A.*
,IFNULL(B.ClassName,'') AS ClassName
FROM RB_Change_ClassPlan AS A
LEFT JOIN rb_class AS B ON A.ClassId=B.ClassId
WHERE 1=1
"
);
if
(
query
!=
null
)
...
...
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